On Tue, 06 May 2008, Prashanth wrote:

> Hi Bakshi,
> 
> On Tue, May 6, 2008 at 9:58 AM, J.Bakshi <[EMAIL PROTECTED]> wrote:
> >
> >  I like to configure the sshd such a way that the user root when login 
> > through ssh to the remote server then no one else >can login (through ssh)
> 
> add a access control in the /etc/security/access.conf denying access
> for the non-root users(location of this file is different for
> different distro if you are using redhat its /etc/hosts.allow or
> /etc/host.deny).

Well, according to OP the configuration should be conditional, such that
when user 'root' is logged in through ssh other users should be blocked
and vice versa. So, the deny/allow conf atleast should check for logged
user before denying the request. I wonder how that could be plugged in
to any of the /etc/hosts.allow or /etc/hosts.deny file. I couldn't
figured it out, any ideas ?

-siddhartha 


> 
> 
> 
> 
> -- 
> regards,
> 
> Prashanth
> http://munichlinux.blogspot.com
> _______________________________________________
> Ilug-cal-discuss mailing list
> [email protected]
> http://list.ilug-cal.org/mailman/listinfo/ilug-cal-discuss
_______________________________________________
Ilug-cal-discuss mailing list
[email protected]
http://list.ilug-cal.org/mailman/listinfo/ilug-cal-discuss

Reply via email to