Find the answer to your Linux question:
Results 1 to 3 of 3
Whenever I try to shut down it always says "system policy prevents users from shutting down while other users are logged on" or something like that. How can I get ...
  1. #1
    Just Joined!
    Join Date
    Aug 2009
    Posts
    75

    Angry System policy

    Whenever I try to shut down it always says "system policy prevents users from shutting down while other users are logged on" or something like that. How can I get it to stop coming up with this (BTW, there's only one user in my system, so how does that work).
    Or is there any way that an admin (which I am, being the first and only user that was created) could not have to type in their password for anything but login and sudo.

  2. #2
    Trusted Penguin elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    2,303
    I don't know about the first point, but I'll have a go at the second.

    The first user you create is not an administrator (or root user). It is merely a normal user that is automatically added to the sudoers file, thus enabling the use of sudo for administrative tasks.

    Everything that asks for your password requires elevated privileges normally because it will be doing something to a directory that is not your home. Usually this will be by using sudo under the hood so you are in effect only being asked your password for login and sudo.
    If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)


    My new blog. It's probably not as good as I think it is.

  3. #3
    Just Joined!
    Join Date
    Aug 2009
    Posts
    75
    Quote Originally Posted by elija View Post
    I don't know about the first point, but I'll have a go at the second.

    The first user you create is not an administrator (or root user). It is merely a normal user that is automatically added to the sudoers file
    Does that mean that if I create a second user (admin), then delete my old one it won't ask me. Also, would I be able to copy my settings onto my new account?

Posting Permissions

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