Try to  add /sbin/nologin to /etc/shells
When you add a user, change his shell in /etc/passwd to /sbin/nologin


----- Original Message ----- 
From: "Skibi de LaPies" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 08, 2003 12:30 AM
Subject: RE: sftp vs ftp with ssl


> -----Original Message-----
> From: Bryan S. Sampsel [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 07, 2003 3:08 PM
> To: [EMAIL PROTECTED]
> Subject: Re: sftp vs ftp with ssl
>
> Another one question in this topic  - for sftp services one need a shell
> account with interactive shell. If I don't want to allow users to login
but
> I want to use sftp then what should I do?
> (of course i may be wrong, but I haven't found the way to do that)
>
> bests
> vermin
>
>
> --------------------------------------------------------------------------
-
> --------------------------------------------------------------------------
--
>


---------------------------------------------------------------------------
----------------------------------------------------------------------------

Reply via email to