SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Thread: sudoers

  1. #1
    SitePoint Addict
    Join Date
    Oct 2008
    Posts
    205
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    sudoers

    Hello,

    I want to allow a user to switch as any user but not as root. Like su - usename, but not as root.

  2. #2
    SitePoint Addict
    Join Date
    Apr 2009
    Posts
    357
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Just make sure they don't know the root password.
    Doug G
    =====
    "If you ain't the lead dog, the view is always the same - Anon

  3. #3
    Foozle Reducer ServerStorm's Avatar
    Join Date
    Feb 2005
    Location
    Burlington, Canada
    Posts
    2,699
    Mentioned
    89 Post(s)
    Tagged
    6 Thread(s)
    Why not create a custom user role that allows specifically what you do and don't want the members of that group to have access and rights?

    It is a little dangerous to provide sudo access as, in my view it allows too much access.

    I don't know the version of Linux or Mac your using but all of them provide a X-window users and groups widget that you can add the default permission the OS provides or create more custom ones.
    ictus==""

  4. #4
    SitePoint Author silver trophybronze trophy
    wwb_99's Avatar
    Join Date
    May 2003
    Location
    Washington, DC
    Posts
    10,633
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Doug G View Post
    Just make sure they don't know the root password.
    That would be the point of sudoers.

    It seems like this could be possible, I would start by reading through the man page at http://www.sudo.ws/sudoers.man.html


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •