You are right, I meant /bin/false. I tried /sbin/nologon and /bin/true but couldn't login to sftp with either.
On 31 Jul 2003, Oleg Goldshmidt wrote: > Chaim Keren Tzion <[EMAIL PROTECTED]> writes: > > > I am intending that sftp will be used for the file transfer. The problem > > is that once I create the account that will use sftp it automatically has > > the ability to log in with ssh and wander around the system. I would like > > to limit the users ability to travel ouside of the home directoy and to > > execute commands. I have tried to define the user with /dev/false as it's > > shell but then I can't log in. > > You probably meant /bin/false > > Try /sbin/nologin > > -- Chaim Keren Tzion | [EMAIL PROTECTED] System Administrator | The Hebrew University of Jerusalem Dept. of Neurobiology | Tel: 972-2-658-5083 Inst. of Life Science | Cel: 972-54-652983 Jerusalem 91904, Israel | Fax: 972-2-658-6296 ...................... | ............................ ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
