[scponly] No prompt on login

Thomas Wana thomas at wana.at
Wed Jan 21 21:42:59 EST 2004


Mike Jones wrote:

>Hi.
>
>I've installed scponly using apt on Debian and then created a user with:
>useradd -d /home/username1 -s /usr/sbin/scponlyc -g users -m username1
>
So the chrooted version. Did you create a chroot jail? *)

>And then I gave it a password
>When I tried to login it logins in fine and displays the last login
>details etc but then just sits there without issuing a prompt.
>
Well thats by design ... scponly is for scp, not for interactive login.
If you want to see debug messages, increase the debug value found in
/etc/scponly/debuglevel

>I then tried:
>usermod -s /usr/bin/scponly username1
>
*) Hummm now what's the user's login shell? scponly or scponlyc?

Tom




More information about the scponly mailing list