Results 1 to 3 of 3

Thread: More of a why than a how (about rebooting)

  1. #1
    Join Date
    Mar 2010
    Beans
    32

    More of a why than a how (about rebooting)

    I'm just wondering why is it neccessary, in every linux environment i've worked on so far, to enter the root password when rebooting through terminal, when there's a working reboot option in the actual desktop environment anyway, which doesn't require the password? I do understand this means that this approach only works if you have a desktop environment installed and that it's not possible to reboot command-line-only linuxes without root access, i just don't understand the philosophy behind it.

    (same goes for shutdown)

  2. #2
    Join Date
    Apr 2008
    Location
    LOCATION=/dev/random
    Beans
    5,767
    Distro
    Ubuntu Development Release

    Re: More of a why than a how (about rebooting)

    I think it's mainly historical, UNIX (and Linux) were designed as multi-user systems where 10's or even 100's of users are logged on and working at any one time.

    Imagine what a mess it would be if just anyone could shutdown and reboot without having the proper credentials.
    Cheesemill

  3. #3
    Join Date
    Jun 2010
    Location
    London, England
    Beans
    5,910
    Distro
    Ubuntu Development Release

    Re: More of a why than a how (about rebooting)

    As an experiment, try setting up another user on your machine. Give that additional user Standard privileges. Then try shutdown/restart from that user account. If the additional user is not the first or only user you may find that you only get as far as login. To put it another way, we have to switch users to the user with Administrative privileges in order to shutdown unless that additional user was the first user to login.

    Regards.
    Last edited by grahammechanical; April 2nd, 2013 at 04:22 PM.
    It is a machine. It is more stupid than we are. It will not stop us from doing stupid things.
    Ubuntu user #33,200. Linux user #530,530


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
  •