sftp and shell access

Josh Paetzel josh at tcbug.org
Tue Dec 14 08:13:37 PST 2004


I am looking for a way to give a user an sftp account without giving 
them a shell.  So far I've tried setting their shell 
to /sbin/nologin, but when they try to log in via sftp it gives them 
a "message to long" error.

Any pointers would be appreciated...I've tried the FAQ, handbook and 
google so far.
-- 
Thanks,

Josh Paetzel


More information about the freebsd-questions mailing list