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

-- 
Oleg Goldshmidt | [EMAIL PROTECTED]

=================================================================
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]

Reply via email to