Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Trouble adding new user



On 2019-09-09 8:30 p.m., Charles Muller wrote:
> Today, for the first time in a couple of years, I was adding a new user
> to my Linode server doing the usual
> 
> # useradd newguy
> 
> # passwd newguy

Is there a reason you are doing that instead of using the more
convenient higher level 'adduser newguy'?

By default, I don't think useradd creates a home directory and delegates
its ownership.  Does the home directory referenced in /etc/passwd exist?
And is it owned by newguy?


-- 
Jim Tittsler  7J1AJH/ZL2IA/AI8A  Mitaka, Tokyo      GPG: 0x01159DB6
Tokyo Linux Users Group  irc://chat.freenode.net/#tlug.jp
    https://vector.im/beta/#/room/#freenode_#tlug.jp:matrix.org



Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links