Edit /etc/shells

Add /bin/sftponly

Edit /etc/passwd and change the account's shell to /bin/sftponly



> -----Original Message-----
> I told him my concerns about ftp.  I wish I could figure out 
> a good way
> to disable logins for these scp only accounts though.  It is not a big
> user base and he knows the folks pretty well but it still 
> irritates me.




DISCLAIMER:
This message is intended for the sole use of the individual to whom it is addressed, 
and may contain information that is privileged, confidential and exempt from 
disclosure under applicable law. If you are not the addressee you are hereby notified 
that you may not use, copy, disclose, or distribute to anyone the message or any 
information contained in the message. If you have received this message in error, 
please immediately advise the sender by reply email and delete this message.


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

Reply via email to