Mailinglist Archive: opensuse-security (670 mails)
| < Previous | Next > |
Re: [suse-security] sftp without without a valid shell?
- From: Teodor Cimpoesu <teo@xxxxxxxxxxxxxxxxx>
- Date: Tue, 6 Nov 2001 18:46:40 +0200
- Message-id: <20011106184640.A11983@xxxxxxxxxxxxxxxxx>
Hi Andreas!
On Tue, 06 Nov 2001, Andreas Rittershofer wrote:
> On 6 Nov 01, at 10:39, Thorsten Marquardt wrote:
>
> > I like to offer some customers a kind off sftp account but to deny any
> > login to this accounts. So I thought about having /bin/false as shell in
> > /etc/passwd but this prevents sftp to. What can I do?
put /bin/false in /etc/shells and set /bin/false as shell [discl: not tested]
-- teodor
On Tue, 06 Nov 2001, Andreas Rittershofer wrote:
> On 6 Nov 01, at 10:39, Thorsten Marquardt wrote:
>
> > I like to offer some customers a kind off sftp account but to deny any
> > login to this accounts. So I thought about having /bin/false as shell in
> > /etc/passwd but this prevents sftp to. What can I do?
put /bin/false in /etc/shells and set /bin/false as shell [discl: not tested]
-- teodor
| < Previous | Next > |