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 |
It's a permission problem....
What's the output of ls -ld /home/httpd/vhosts/mysite.co.uk/httpdocs/rants The user must at least have group permissions if that directory is owned by its group. |
the output i get is:
Code:
drwxrwx--- 4 adam psacln 4096 Sep 2 16:52 /home/httpd/vhosts/mysite.co.uk/httpdocs/rants |
anyone at all able to help?
|
bump
|
All times are GMT -5. The time now is 10:29 PM. |