Re: locking down box

From: Jonathan Berry (berryja_at_gmail.com)
Date: 05/11/05

  • Next message: Rahul Sundaram: "Re: I'm experimenting with Kernel Preemption"
    Date: Wed, 11 May 2005 12:17:44 -0500
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    
    

    On 5/11/05, List <list@nchost.net> wrote:
    > How do i only allow wheels to su - ?
    >
    > thanks

    Don't give users outside the wheel group the root password. I don't
    think you can configure su - to limit use. I guess you might be able
    to do something strange with permissions, but I wouldn't advise it;
    you would probably break something that way.
    If you want to control who can do things as root, I recommend you look
    into sudo. You can set it to where only users in the wheel group can
    use sudo, and you can let them use it without them knowing the root
    password if you want.
    man sudo
    Google will find plenty of examples and other information. There
    should even be a good example in the /etc/sudoers file (be sure to
    edit the file as root with the "visudo" command).
    But, if you don't want users to become root, then you shouldn't give
    them the root password (and you should make it hard to guess or
    crack), it's that simple. Though, anyone with physical access to a
    machine is capable of becoming root, especially if they can reboot the
    machine. Be sure to keep an eye on your logs if you don't trust your
    users (that's never a good situation to be in, though).

    Jonathan

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Rahul Sundaram: "Re: I'm experimenting with Kernel Preemption"

    Relevant Pages

    • Re: Group Membership....
      ... Fedora Core doesn't give the root group any special ... PAM and sudo can be setup to allow certain users ... superusers to the wheel group then give the wheel group special ...
      (Fedora)
    • Re: changing application icon
      ... Snit wrote: ... if you in the wheel group. ... can su as root). ... If you are in wheel, I believe, you can sudo as root with your own ...
      (comp.sys.mac.advocacy)
    • 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)
    • Re: [root user] How to disable root account?
      ... >> root password in any way. ... > Actually that depends on how sudo is configured. ... > sudo does depend on the root password ... This session would be used only to reverse ...
      (Debian-User)
    • Re: Root, su, and sudo (was Re: More on Ragostagate
      ... But it doesn't need root to be enable for sudo to work. ... that it *will* work without a root password. ... "If you raise the ceiling 4 feet, move the fireplace from that wall ...
      (comp.sys.mac.advocacy)