/bin/false and /bin/nologin are similar (the user is unable to login at
ssh, telnet, ftp, etc...)

fryclau

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Joseph A Nagy Jr
Sent: Monday, July 14, 2003 1:54 AM
To: [EMAIL PROTECTED]
Subject: Re: create email account

On Saturday 12 July 2003 23:45, Fryclau wrote this in an attempt to be 
witty and informative:
> You can use something like this:
>
> /usr/sbin/useradd -m -c 'Joseph' -d /home/Joseph2 -s '/bin/false' -G
> '' -g 45 -e '' goseph2
>
> and you will create a user goseph2 with the group 45 (popuser)
> without Shell (-S /bin/false) and the home dir /home/Joseph2
>
> bye
<snip>
top posting != nice

Thanks for the above.

For a loginless account (say for a program) would I just change 
/bin/false to /bin/nologin (say for mailman)?
-- 
Wielder of the mighty +1 LARTsaber of Unsubscribe Instructions At End of
Message, the +3 Clue-by-Four of No Attachments to a Mailing List, and
the -4 Shield of No Spell Checker
http://joseph-a-nagy-jr.homelinux.org


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to