D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Converts to Linux

 

On Sat, Sep 30, 2006 at 07:40:23PM +0100, Neil Williams wrote:
> On 30/09/06 12:23:38, Neil Winchurst wrote:
> >Thanks to you, Tony and the others who have replied. I am very
> >reassured. I have never used sudo myself since I, obviously, have
> >always known the root password.
> 
> That just means you need to configure sudo properly.
> 
> Once sudo is setup properly, there should be zero reasons to use 'su' -  
> let alone login as root directly.
> 
> 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`.

        bma

-- 
Benjamin A'Lee           e: bma@xxxxxxxxx
gpg: 0x11464336BB6D2FA0  w: http://bmalee.eu/~bma/
"There never has been, there never will be, and there is not now any man
exclusively criticised or exclusively praised." - from the Dhammapada

Attachment: signature.asc
Description: 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