[lug] overran / ...again

Michael Hirsch mhirsch at nubridges.com
Thu Aug 22 07:06:51 MDT 2002


On Wed, 2002-08-21 at 20:22, j davis wrote:
> 
> i have a full on linux lab at my house consisting of 5-8 computers
> on a given day. All strictly for play. But i do have one box that i do
> do non root requred stuff on like check mail and stuff...but this is
> the box that i "nmap -O" from and tcpdump the and play with snort
> and iptables on...all behind my real linux firewall that i logon to
> just to read the logs and thats it.So maybe if someone could tell
> me how to get roots $PATH when i su...thats proably my biggest beef.
> i looked in the man for su like a year ago and couldnt find any
> help on this.

"su -" will do it.

I recommend instead that you setup sudo and add /sbin/ and /usr/sbin to
your own path.  Then you can easily do read only things like ping,
traceroute, ifconfig, route, etc without becoming root.  If you really
need to be root, then just "sudo <command>".

--Michael




More information about the LUG mailing list