-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 David H wrote: | Hi, | | I would like to have "no login" for some users in ssh, | how do I do it?
Set the user's shell to /sbin/nologin or /bin/false (former is preferred since it's considered a valid shell by FTP and other clients). usermod -s /sbin/nologin <username> - -Rick - -- Rick Johnson, RHCE - [EMAIL PROTECTED] Linux/WAN Administrator - Medata, Inc. PGP Public Key: https://mail.medata.com/pgp/rjohnson.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (MingW32) Comment: Signed and/or encpryted for everyone's protection. iEYEARECAAYFAj4fI1wACgkQIgQdhlSHZgPCLwCgiCp7pMWxhrxsU/vVclgX8sXB 0k8An0oCVfRM6pmK3RAmk+zMl2s5EyON =KKfY -----END PGP SIGNATURE----- -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list