Want2use /sbin cmds undr non-root account w/o sudo. Is it safe 2 add /sbin 2 my PATH?
I want to use cmds from /sbin under an avarage account without sudo. Is it safe to add /sbin to my $PATH?
Won't it make me another root?
the answer to this in no.
This will let you run the binaries as root in /sbin
But it won't give you the full range of rootly powers......
Why would you want to do this anyway?
Changed your UID to 0 if you want a second root user (but with your user name)
Don't forget that user names don't really count for anything just UID's.
Just adding /sbin to his $PATH won't do anything of the sort.
Adding /sbin to the $PATH will make your shell look there for commands, but it won't give you any permission to use them. That's a whole 'nother matter.
sorry, I misread the orgional post. I thought you where going to give a user sudo access to everything in /sbin. Hence my question 'why would you want to do this?'
Anyway, just putting it in your path will just mean that you get access denied/file not found errors.
Thanks, satinet & oneandoneis2. I understood that UID change is what I really want. I just want to keep all settings after reinstall because I have /home on another partition and don't format it when reinstall the sys.
BTW: I'm trying Mdk9.2 again:D
EDIT: satinet: no, I understood that I was misthinking:) You cleaned up my brain a bit...
|All times are GMT -5. The time now is 11:50 AM.|