Page 1 of 1

Shell access

Posted: Sat Mar 15, 2003 4:34 am
by oldsocks
I recently changed hosting company and have been told that to chmod files i need shell access.

they gave me some logging in details and told me to chmod through my shell.......


right, lovely, i have shell access...

umm whats a shell? whast do i do with it? how do i access it and more importantly how do i chmod with it?

A search on the net led me to a program called putty.... looks very much like dos. though the support files with it are very basic - i just about managed to log in - is this a good program to use? is there anything easier? like point and click program?

any help here would be good -

many thanks

Jay

Posted: Sat Mar 15, 2003 4:45 am
by volka
I like secureCRT but putty is for free and does a pretty good job.
You might compare a shell to dos. It takes your commandlines and process' them. A chmod (usually) can be done with your ftp-client, too. Check the manual or online-help for that feature.
But if you have to do it from the commandline, take a look at man chmod, it should display the manual of chmod.
e.g. chmod 755 thescript.php

Posted: Sat Mar 15, 2003 5:38 pm
by lazy_yogi
If all ur doing is chmod-ing, then WS_FTP can chmod through a GUI (its of course an FTP client also). Saves having to FTP upload files with one program and then chmod with another.

Posted: Sat Mar 15, 2003 8:01 pm
by McGruff
By the way.. if I want to prevent someone abusing a mysql query in order to run shell commands, do I just block the "exec" string from user input or do I need to do more?

Posted: Sat Mar 15, 2003 8:04 pm
by volka
http://www.php.net/manual/en/function.m ... string.php and any malicious data should be history (for mysql)

Posted: Tue Mar 18, 2003 8:41 am
by daven
http://www.oreillynet.com/linux/cmd/

Very useful site for linux reference. Has a listing of all commands and good documentation. Behold, the wonder that is O'Reilly.

I use Putty for shell access. It permits you to use an SSH connection, is free, and runs quite well.