Re: Distinguishing ssh-logins from sftp-logins
- From: Stéphane ROCHOY <stephane.rochoy@xxxxxxxxxx>
- Date: Mon, 29 May 2006 14:36:42 +0200
mog128 wrote:
Hello everybody,Why not using /usr/bin/false as shell for your non ssh-users?
I've got a case concerning sftp and ssh.
I want to setup an enviroment, in which user can do filetransfers using
sftp in a jail (chroot). Unfortunately there are some special
requirements to meet.
1. All user should be able to use sftp in a jail (their home
directory).
2. The majority of user (say regular users) should be able to login to
use sftp but should NOT get a Login to a system's shell! These users
are sftp-only-users.
3. A set of user (call them admins) should be able to login to use sftp
(like described in 1.) and should get a login to a shell too (in
contrast to 2.). I call them "ssh-users"
Does anybody know, how to achieve this or how to achieve a similar
functionality.
Any contributions are welcome.
I'm running debian woody on an Intel x86.
Thanks in advance und regards from Hamburg,
Mattes Opel
stéphane.
.
- Follow-Ups:
- Re: Distinguishing ssh-logins from sftp-logins
- From: mog128
- Re: Distinguishing ssh-logins from sftp-logins
- References:
- Distinguishing ssh-logins from sftp-logins
- From: mog128
- Distinguishing ssh-logins from sftp-logins
- Prev by Date: Command/Alias not found after login to remote host
- Next by Date: router access through ssh
- Previous by thread: Re: Distinguishing ssh-logins from sftp-logins
- Next by thread: Re: Distinguishing ssh-logins from sftp-logins
- Index(es):
Relevant Pages
|
|