Lloyd,

This (Steven's suggestion) is likely the problem.
If you just did 'su root', you'll have inherited your user's PATH.
You should probably run 'su - root' instead. See the su manpage.

Tony...

> -----Original Message-----
> From: Steven Blunt [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, 18 September 2001 14:09
> To: [EMAIL PROTECTED]
> Subject: Re: [SLUG] Security Issue
> 
> 
> > Greetings people,
> >
> > Quick question...for some reason, I can no longer run 
> system commands from
> > a telnet session from my windows box on the RH7.1 box.
> >
> > I log in as me, su to root and things like fdisk and ntsysv 
> now say bash:
> > command not found.
> >
> > Have checked perms and all are set to root with the 
> appropriate eXecute
> access.
> > (All programs I'm trying to run exist too btw) :)
> >
> > Is there a switch that has been flicked somewhere along the 
> line to stop
> > telnet (remote) consoles running these system-critical programs?
> 
> echo $PATH and make sure /sbin and /usr/sbin are there?
> 
> 
> -- 
> SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
> More Info: http://lists.slug.org.au/listinfo/slug
> 

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to