useradd problem (on RHEL3)
Im having an incredibly annoying problem with trying to add a user to my linux box.
I'm trying to add a user who can just log into one directory on my server in order to upload files to my website. First of all the directory i specify gets full of files I dont want to be there and second of all I cant log on to either FTP or SSh using that account.
When logging on through SSH I get:
Could not chdir to home directory /home/httpd/vhosts/mysite.co.uk/httpdocs/rants: Permission denied
-bash: /home/httpd/vhosts/mysite.co.uk/httpdocs/rants/.bash_profile: Permission denied
-bash-2.05b$
when logging on through FTP i get:
530 Login incorrect
i have tried alsorts, i have chowned the directory, chmodded it, deleted it and let useradd create it, alsorts of stuff! Please help!
For reference the command i used to add the account was:
useradd adam -d /home/httpd/vhosts/mysite.co.uk/httpdocs/rants -g psacln -m -s /bin/bash
|