Find the answer to your Linux question:
Results 1 to 4 of 4
Hey All, Can any one remind me how to do this? Disable root login at main screen......
  1. #1
    Just Joined!
    Join Date
    May 2009
    Posts
    15

    SLES10 - disable root login at main screen

    Hey All,


    Can any one remind me how to do this?

    Disable root login at main screen...

  2. #2
    Linux Guru
    Join Date
    Jan 2009
    Location
    Dover, NH
    Posts
    1,633
    Do you mean auto-login? I assume this is a home desktop?

    For SuSE, it's in Yast -> Security and Users -> User and Groups : Click on Expert -> Login Settings. Check Auto login, select user, press OK.

  3. #3
    Just Joined!
    Join Date
    May 2009
    Posts
    15
    No its a SLES10 Server. I want to make it impossible for someone to login in, as root, at the main login screen, for added security. I vaugely remember doing this before, editing a file, possibly in /etc/ ....

    This is not an auto login issue

  4. #4
    Linux Guru
    Join Date
    Jan 2009
    Location
    Dover, NH
    Posts
    1,633
    I think I have a solution. First and foremost, make sure your sudoers allows a trusted admin to become root or execute root commands with their own password (Ubuntu style), and nobody else. If this doesn't work first, recovering will be more complicated.

    Next, as one of the sudoers, type sudo passwd -l root

    That should clear the root password, effectively preventing a root login from any interface (in theory, anyway).

Posting Permissions

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