[scponly] scponly for root user

startx startx at plentyfact.org
Fri Sep 16 12:07:53 EDT 2011


On Fri, 16 Sep 2011 08:59:23 -0700
wbr oblyr <joe at sublimation.org> wrote:

> Hi Sam,
> 
> The short answer to your question is "maybe, but you probably should
> not".
> 
> Bear in mind that if you do not permit root login, then root will be
> unable to login. it sounds silly, but it's worth explaining: even when
> using scponly, a login process is required before that user's shell is
> launched.  

just as a note: it could in theory make some sense inside something like
a linux vserver environment. you would still be able to enter the vserver from 
the host.

( i just tried that for fun and as far as i could see the init process
was not affected by changing the shell in /etc/passwd )

startx



More information about the scponly mailing list