Establishing a mail-only account?

Kenneth Porter shiva at sewingwitch.com
Fri Aug 6 02:53:20 UTC 2004


--On Wednesday, July 28, 2004 11:39 AM -0400 Edward Croft 
<ecroft at OPENRATINGS.com> wrote:

> On Wed, 2004-07-28 at 11:36, Christian Loza wrote:
>> > > Edit /etc/passwd and change the shell set for the existing user to
>> > > /bin/false. For new user creation use "useradd -s /bin/false".
>
> You can also use usermod -s /bin/false username to modify current users
> rather than editing the /etc/passwd file.

chsh (change shell) was designed for this function.





More information about the users mailing list