Re: Linux shutdown

From: Marco Bellini (seathrun_at_tiscali.it)
Date: 10/28/04

  • Next message: GuidoZ: "Re: Electronic signatures and watermarking?"
    To: security-basics@securityfocus.com
    Date: Thu, 28 Oct 2004 13:44:53 +0200
    
    

    You should have a look at SUDO... you can configure it to allow a user
    (or a subset of all users) to execute a command or a subset of command.
    Henc,e you can allow user XYZ to execute shutdown: he will be prompted
    for HIS password and not root's password. It's highly configurable,
    IMHO...

    bye

    marco

    On Thu, 2004-10-28 at 00:33, Alvin Oga wrote:
    > hi ya
    >
    > > Hi peolple
    > > Do you know how to do a Linux (clear) shutdown without root privileges
    > > from login screen?
    > > I want to give a user the privilege of shutdown the server without being
    > > root. I have heared about umount problems of the file system.
    >
    > if they are in kde/gnom ... and you didnt change anything, they can
    > shutdown like they would a windoze box kde(start)->logout->shutdown
    >
    > if they like console .... ctl-alt-F1 than ctl-alt-del
    >
    > if you like to work harder .. setup up with sudo for running either
    > halt, shutdown or reboot or init 6 or gazillion other possibilities
    >
    > c ya
    > alvin

    -- 
    Linux(Happy)User #367.189
    

  • Next message: GuidoZ: "Re: Electronic signatures and watermarking?"

    Relevant Pages

    • Re: executing sudo from ruby
      ... I wanna execute in a script of mine commands like: "sudo apt-get clean" ... The first command needs to be executed without influence to the main process of the ruby scipt. ... I think system("sudo apt-get clean") would be the right command. ...
      (comp.lang.ruby)
    • Re: mounting issues
      ... If the command the user would need to execute is the same ... you could set up a sudo entry to allow a user to ... Please provide the sudo config syntax ...
      (comp.os.linux.misc)
    • sth. like sudo when you are NO superuser?
      ... If I were superuser I could use sudo... ... Is there any tool, which takes user's login, his password and the command ... A php script, which runs as apache-user, shall execute another ...
      (comp.os.linux.misc)
    • Re: Possible to determine the current Finder user from the shell?
      ... >>> a sudo to root so $USER won't work. ... Likewise when I put that command into a shell script and execute ...
      (comp.sys.mac.system)
    • [Full-Disclosure] Advanced usage of system() function.
      ... and call its arguments as a command for shell. ... as we can see we still didnt get what we want (typing exit ... Connection closed by foreign host. ... think what we want to execute. ...
      (Full-Disclosure)