Answer by sandeep Reddy for How can I create a new user but with a home...
$ mv /home/jerry /home/xxx$ userdel -r jerry$ rm -rf /var/spool/mail/jerry$ useradd jerry$ mv /home/xxx /home/jerryjerry home already exists so you will prompt likebash-4.1$ bash To avoid mv existing...
View ArticleAnswer by Gilles 'SO- stop being evil' for How can I create a new user but...
You did create a user with a home directory that already exists.adduser: warning: the home directory already exists. Not copying any file from skel directory into it. This isn't an error, it's a...
View ArticleAnswer by Tom Zych for How can I create a new user but with a home directory...
Well, of course. It's trying to read and execute /home/panos/.bashrc. That file belongs to user panos, and presumably is set to -rwx------ or something like that. So Jerry tries to read it and can't....
View ArticleHow can I create a new user but with a home directory that already exists?
Let's say I have a user called panos and he has his home directory located at /home/panos. Then, I create a another user called Tom:adduser TomIt creates a user Tom who has home dir: /home/TomThe...
View Article
More Pages to Explore .....