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.