[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]
Benjamin A'Lee wrote: >> sudo is FAR preferable to su because sudo only operates on that one >> command. It is quite likely that you will trash your entire system by >> 'forgetting' that you are still in an su shell. You can't do that with >> sudo. > > Unless you do `sudo -s`. Or `sudo $SHELL`. This is much easier than > typing `sudo` before everything if you need to do a lot of work as root, > but carries the same risks as `su`. Of cause su -c "command to run" has the same effect and only roots that one "command to run", personally I prefer su -c to sudo -- Robin Cornelius http://www.byteme.org.uk
Attachment:
signature.asc
Description: OpenPGP digital signature
-- The Mailing List for the Devon & Cornwall LUG http://mailman.dclug.org.uk/listinfo/list FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html