On Fri, Nov 08, 2002 at 10:00:58AM -0800, Richard Nghiem wrote:
> 
> I have restricted root login to all my machines through ssh by setting
> "PermitRootLogin no".  I do most of my work as root and distribute
> configs files through scp to the correct places.  Currently I have to su
> -l after I login as myself.  Is there any way that I can restrict root
> logins to a specific ip without running multiple ssh daemons on
> different ports?

I don't think so, but what I do is the following:
1) /etc/hosts.allow and hosts.deny to restrict to ssh to only those subnets
that I know I'll be coming from.
2) PermitRootLogin no
3) Install sudo 

Works for me.
        .../Ed
-- 
Ed Wilts, Mounds View, MN, USA
mailto:ewilts@;ewilts.org
Member #1, Red Hat Community Ambassador Program



-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to