Re: C5 & C6 : useradd

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



On Sat, 2015-01-24 at 22:45 -0500, Stephen Harris wrote:

> On Sun, Jan 25, 2015 at 03:43:06AM +0000, Always Learning wrote:

> > Should the 'correct' entry be:-
> > 
> > 	fred:x:504:504:::/sbin/nologin  ?
> 
> No; that's invalid.  There must be an entry in the home directory field.

Thanks Stephen and Dennis for the helpful explanation.

I will use:    useradd -d /dev/null -s /sbin/nologin snowman


-- 
Regards,

Paul.
England, EU.      Je suis Charlie.


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux