[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: [LI] Halt Provision




Yes, it will work! But only root can enable it ofcourse...
otherwise any normal user could shutdown the machine!
So, run linuxconf as root, and then do the folowing.
Rohit
PS: btw, how can a normal user use 'system calls and trapping keys' to shut down? If thats possible, isn't it a security nightmare?

From: Ganesh HariHaran <ganeshh@xxxxxxxxxxxxxxx>

No! It doesn't seem to work. it says ( only superuser can do it.)
SubramaniA@xxxxxxxx wrote:

> Use 'linuxconf'. You can set permissions for users and groups. In the Users > section select the username For whom u want to enable HALT and click on the > enable/allow shutdown( I am not sure which, its either enable or allow). Now
> the next time u give HALT u will be asked to enter the user password.
> This should work I guess....
>
> MANI
> ----------------------------------------------------------------------------
> ---
> So it shall be written....
> And so it shall be done...
> UP THE IRONS!
> --------------------------------------------------------------
> Hai All,
>  Can anyone of you help me to do (HALT Provision).  If I login as a
> normal user , what do I have to do to halt the machine.  Do I have to
> use system calls and trap the keys .
>
> Thanks,
> Ganeshh
>

--------------------------------------------------------------------
The Linux India Mailing List Archives are now available.  Please search
the archive at http://lists.linux-india.org/ before posting your question
to avoid repetition and save bandwidth.

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
--------------------------------------------------------------------
The Linux India Mailing List Archives are now available.  Please search
the archive at http://lists.linux-india.org/ before posting your question
to avoid repetition and save bandwidth.