SSH user can only Reboot

Discussion in 'HOWTO-Related Questions' started by smaj84, Nov 27, 2010.

  1. smaj84

    smaj84 New Member

    Hello,

    Can anyone tell me that is it possible to create an ssh user who can only reboot the server and do nothing more than reboot??

    Awaiting your replies.
    ________
    Regards,
    Ali
     
  2. wharpreet

    wharpreet New Member

    Hi,

    Even though I have not tried, but there is a way to make it happen.
    User /etc/sudoers file to do the job.

    Replace ALL (that specifies commands) with the specific command you want to give permissions and you are done.

    example: User ALL=(REBOOT) ALL

    Hope this helps.
     

Share This Page