LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   How can change user profile directory (https://www.linuxquestions.org/questions/linux-security-4/how-can-change-user-profile-directory-359468/)

reply2vinay 09-02-2005 07:42 AM

How can change user profile directory
 
Hai all,
I created user and given the path -d /opt/....
After creating the user i want to change the user directory path iam given this command
usermod -g -d /home/......

command is successfully excuting
but after logging the user giving some error...

nixcraft 09-02-2005 07:51 AM

Have you used -m option while using useradd command?

reply2vinay 09-02-2005 07:59 AM

no
 
No i dont't know that command pls tell me how to use.....

I want to change the directory of exicting user..

reply2vinay 09-02-2005 08:33 AM

My Problem Solved
 
Iam not changing the ownership of that directory....


All times are GMT -5. The time now is 10:51 PM.