Find the answer to your Linux question:
Results 1 to 4 of 4
Hello, I would like to force my users to use 'sudo' How can i do this ? Do I need to disable root ? Note: distributions like Ubuntu do not ...
  1. #1
    Linux Newbie
    Join Date
    Dec 2008
    Location
    Luxembourg
    Posts
    130

    How to force 'sudo' usage ? disabling root ?

    Hello,

    I would like to force my users to use 'sudo'
    How can i do this ?
    Do I need to disable root ?
    Note: distributions like Ubuntu do not have a (not at all or only inactive ?) root user.

    My concern is more educational than security, and I suppose that a 'full' sudo user can bypass this, but at least this will be made intentionally by the user.

    Thanks.
    Bye,
    Bruno

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Which version of Fedora are you using? root login in GUI has been disabled in latest version of Fedora, 10.

    Its easy to disable root login in earlier versions. Which Desktop Environment are you using?

    You have to add users in sudoer file for assigned sudo privileges to all or selective Administrative tools.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Linux Guru
    Join Date
    Nov 2004
    Posts
    6,110
    Quote Originally Posted by bcostacurta View Post
    Note: distributions like Ubuntu do not have a (not at all or only inactive ?) root user.
    The root user is still present, but has its password encrypted so that it cannot be retrieved. If you have /etc/sudoers set up correctly it would be as simple as changing the root password and educating your users on the new procedure.

  4. #4
    Linux Newbie
    Join Date
    Dec 2008
    Location
    Luxembourg
    Posts
    130
    Precisely, I'm using CentOS 5.2

    Thanks for attention.
    Bruno

Posting Permissions

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