Su Command
When I am logged in as a user and use the SU command in the console. it will not allow me to do every thing I can as root.
I thought su maid a user root. Example: I use su and issue the command "service network restart" I get an error but if I login as root and issue the same command it restarts my network service. Why can't I restart the network service using SU command? OS = Fedora core1 Desktop = gnome |
Because you use su, and not su -
That way you preserve your own environment, and root's $PATH that contains various /sbin directories doesn't get used.... man su for details... Cheers, Tink |
And if you find the manpages a bit to "techno speak" there's a link on how to interpret them in my sig.
regards John |
Thanks
I checked the man pages and info pages and found the switches for the SU command. I used "SU -l" and the root password it allowed me to restart the services. |
Of course it does, didn't you trust me? :)
Cheers, Tink |
All times are GMT -5. The time now is 10:41 AM. |