Re: exporting sudoers, good pratcice ?

From: Fabrice MARIE (fabrice.marie_at_fma-rms.com)
Date: 02/06/04

  • Next message: Chris Freeman: "Re: exporting sudoers, good pratcice ?"
    To: focus-linux@securityfocus.com
    Date: Fri, 6 Feb 2004 12:09:36 +0800
    
    

    Hello.

    On Wednesday 04 February 2004 23:42, Frédéric Médery wrote:
    > I'd like to use sudo a lot more.
    > Can I have one sudoers for all my server/stations with nfs to make
    > administration easyer ?
    > Do you have pro/con ?

    sudo is great to audit what users do as root or other accounts.
    However, it can be a security threat on his own if not configured properly.

    I would suggest not to use one single big sudoers file, because the probablity
    of forgetting something or of making a configuration mistake grows
    bigger as the sudoers file grows bigger. And each server is always
    (at least very slightly) different one from another, so sharing the same
    configuration file without reviewing it on each machine can cause unwated surprises.

    It is actually easier to get root access on a machine with a sudo
    badly configured than on a machine without sudo at all.

    Have a nice day,

    Fabrice.

    -- 
    Fabrice A. MARIE
    FMA Risk Management Solutions
    http://www.fma-rms.com/
    

  • Next message: Chris Freeman: "Re: exporting sudoers, good pratcice ?"

    Relevant Pages

    • Re: gksudo without sudo
      ... no accounts were added to sudoers. ... configure sudo in order to run any of the admin apps from the Gnome menus. ... isn't expecting to install the gui/desktop env.; ... I do have a default Ubuntu "Desktop" configuration and ...
      (Ubuntu)
    • Re: Mac OS X Security - Not Quite as Strong as you Thought
      ... GreyCloud wrote: ... The sudoers is set up so admin users ... Do man sudo and man su... ... This implies that sudoers file is not setup out of the box. ...
      (comp.sys.mac.advocacy)
    • Re: Allowing a group to use fstab mount-points
      ... Have you looked at sudo? ... shell, password blocked, etc. Allocate a /home/mounter for the account, ... and one command only, to mount the CD. ... I think mounting is one of the examples for sudoers. ...
      (freebsd-questions)
    • Re: Im Beaten
      ... which lists which users are allowed to user "sudo" ... then the command is run as root. ... man sudoers has some examples on how to allow an app to be ran ...
      (Ubuntu)
    • Re: Firefox 1.5.0.7 RPM
      ... I need root password to sudo. ... because sudoers can do just as stupid things as root. ...
      (alt.os.linux.suse)