user home directory problem
hi guys
i have strange situation here before me there was an employe that used to add user's to the sever but i am not sure how, because i cannot see anybody's user directory but they do exist and they are able to log in normally. for example a user called "mjordan" is able to log an have a mail boxe on /var/mail but i am not able to find where is his home directory with the command: '# find / -name mjordan' also when i try to add it with the command: useradd -c "Michael Jordan" -d /export/home/mjordan -m mjordan it says that it already exists to try a new one. but i can't find mjordan anywhere on export/home. how can i redirect the user home directory and inbox mail without having him changing password? thnx |
Have you just cat /etc/passwd? That's where the home directory for every user is recorded...
|
no i didn't
am gonna chekc it out |
Quote:
Quote:
|
i realize what happened
the user was created without a home directory assigned to all i did is to use the 'usermod' command -d ( directory) it's all good now thnx guy for helping |
i have one more question
i am using apache2 for my web server and running openwebmail. the index directory is on .../cgi-bin/openwebmail/ on my browser when i put the address as edited on my httpd.conf - servername i just get the contents of htdocs so i copied all the /cgi-bin/openwebmail directory to htdocs...but it's just showing the contents again but not the login name page as if i put on the address bar : http://(localhost)/cgi-bin/openwebmail/openwebmail.pl so basically it's running the perl file to get the login name... so how can i change the address to have : localhost.com instead of localhost/cgi-bin/openwebmail/openwebmail.pl ? |
All times are GMT -5. The time now is 05:13 AM. |