Results 1 to 2 of 2

Thread: poweroff password

  1. #1
    Member
    Join Date
    Nov 2007
    Posts
    46
    Thanks
    0
    Thanked 2 Times in 1 Post
    Rep Power
    0

    Default poweroff password

    i have a new requirement in which when root
    issues the commands reboot,poweroff, halt or
    shutdown or init it should ask the root(even though he is
    superuser) for password and only reboot the machine
    when the root is on either tty1 or tty2 and will not
    reboot remotely through any pseudo terminals

    Waiting for yours response


    Regards
    Rahul Kolan

  2. #2
    Never say die nixcraft's Avatar
    Join Date
    Jan 2005
    Location
    BIOS
    Posts
    4,512
    Thanks
    17
    Thanked 799 Times in 511 Posts
    Rep Power
    10

    Default

    Not possible until and unless you use sudo.
    All [Solved] threads are closed by mods / admin to avoid spam issues. See Howto mark a thread as [Solved]


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 0
    Last Post: 20th December 2006, 02:36 PM

Posting Permissions

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