#1  
Old 27th November 2010, 14:06
smaj84 smaj84 is offline
Junior Member
 
Join Date: Aug 2009
Posts: 9
Thanks: 1
Thanked 0 Times in 0 Posts
Default SSH user can only Reboot

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
Reply With Quote
Sponsored Links
  #2  
Old 3rd December 2010, 07:30
wharpreet wharpreet is offline
Junior Member
 
Join Date: Sep 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
 
Post

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.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
limit ssh to user root only aclhkaclhk Installation/Configuration 6 16th September 2010 16:08
Chrooted SSH Howto - User getting disconected on authentication badgerbox76 HOWTO-Related Questions 9 30th December 2008 02:53
Problems authenicating pureftp via ssh vmos Server Operation 5 13th December 2008 18:48
Restricting SSH and FTP user to a specific directory infernon Installation/Configuration 2 6th June 2007 19:36
log files cruz Technical 3 15th May 2007 15:35


All times are GMT +2. The time now is 20:29.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.