[CentOS] C5 & C6 : useradd
Dennis Jacobfeuerborn
dennisml at conversis.deSun Jan 25 05:54:47 UTC 2015
- Previous message: [CentOS] C5 & C6 : useradd
- Next message: [CentOS] Centos 7 | Rebind ctrl + alt + f# keystroke to application
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 25.01.2015 04:54, Always Learning wrote: > > 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 You can add the -M option too which should get rid of the warning messages (though I have not tested this). Regards, Dennis
- Previous message: [CentOS] C5 & C6 : useradd
- Next message: [CentOS] Centos 7 | Rebind ctrl + alt + f# keystroke to application
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list