Register
Login
Contribute
Subscribe
RSS
News
FAQForge
ISPConfig
Subscribe
Contribute
Forums
Howtos
Navigation
Howtos
Linux
Android
CentOS
Debian
Fedora
Kernel
Mandriva
PCLinuxOS
SuSE
Ubuntu
Web Server
Apache
Cherokee
Lighttpd
nginx
Backup
Control Panels
ISPConfig
DNS
BIND
MyDNS
PowerDNS
djbdns
Desktop
Email
Anti-Spam/Virus
Postfix
FTP
High-Availability
Lighttpd
Monitoring
MySQL
Programming
C/C++
PHP
Samba
Security
Anti-Spam/Virus
Storage
Virtualization
KVM
OpenVZ
VMware
VirtualBox
Xen
Other
FreeBSD
Commercial
Mini-Howtos
Linux
Apache
Backup
DNS
Errors
FTP
MySQL
Networking
PHP
Postfix
Security
Sendmail
Shell
Other
ISPConfig
Forums
Contribute
Create Content
Subscription
Login
Site Map/RSS Feeds
Facebook
News
Putting Technology into the Hands of Tomorrow
Ubuntu Linux Tablets From System76, ZaReason?
$99 HDMI stick turns displays into virtual desktops
Review of the new Digital Public Library of America
Perform scalable distributed monitoring of Clusters and Grids
Hybryde Fusion: A very unique Linux distribution
PAEs Hide Real Party of Interest: A Veritable Shell Game
Kubuntu 13.04 Raring Ringtail review - Cushty
Linux Top 3: Mageia 3, Linux Mint 15 and New Linux Kernels for All
Using Salt Stack and Vagrant for Drupal Development
more
Recent comments
Merci
16 hours 23 min ago
I found that php_flag
21 hours 22 min ago
Great stuff!
22 hours 48 min ago
Wonderful Howto
23 hours 41 min ago
Hoi,do not plan on virtual
1 day 1 hour ago
Thank you for posting
1 day 5 hours ago
Thank you. Â Excellent
1 day 6 hours ago
Re: The structure of the passdb file
1 day 8 hours ago
using googles open dns 8.8.8.8 8.8.4.4
1 day 22 hours ago
Re: Re: Re: Re: I can't believe people are
1 day 23 hours ago
Newsletter
Subscribe to HowtoForge Newsletter
and stay informed about our latest HOWTOs and projects.
(To unsubscribe from our newsletter, visit this
link
.)
English
|
Deutsch
|
Site Map/RSS Feeds
|
Advertise
HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials
>
Linux Forums
>
HOWTO-Related Questions
SSH user can only Reboot
User Name
Remember Me?
Password
Register
FAQ
Members List
Social Groups
Calendar
Search
Today's Posts
Mark Forums Read
Do you like HowtoForge? Please consider supporting us by
becoming a subscriber
.
Thread Tools
Display Modes
#
1
27th November 2010, 13:06
smaj84
Junior Member
Join Date: Aug 2009
Posts: 9
Thanks: 1
Thanked 0 Times in 0 Posts
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
smaj84
View Public Profile
Send a private message to smaj84
Find all posts by smaj84
Sponsored Links
#
2
3rd December 2010, 06:30
wharpreet
Junior Member
Join Date: Sep 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
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.
wharpreet
View Public Profile
Send a private message to wharpreet
Find all posts by wharpreet
Bookmarks
Digg
del.icio.us
StumbleUpon
Google
«
Previous Thread
|
Next Thread
»
Thread Tools
Show Printable Version
Email this Page
Display Modes
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
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 Rules
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
Linux Forums
HOWTO-Related Questions
Installation/Configuration
Server Operation
Desktop Operation
Kernel Questions
Programming/Scripts
Technical
Suggest HOWTO
ISPConfig 3
General
Installation/Configuration
ISPConfig 3 Priority Support
Plugins/Modules/Addons
Tips/Tricks/Mods
Feature Requests
Developers' Forum
ISPConfig 2
General
Installation/Configuration
Tips/Tricks/Mods
Feature Requests
Developers' Forum
MyDNSConfig
General
Other Forums
Smalltalk
Forum Suggestions
Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
limit ssh to user root only
aclhkaclhk
Installation/Configuration
6
16th September 2010
15:08
Chrooted SSH Howto - User getting disconected on authentication
badgerbox76
HOWTO-Related Questions
9
30th December 2008
01:53
Problems authenicating pureftp via ssh
vmos2
Server Operation
5
13th December 2008
17:48
Restricting SSH and FTP user to a specific directory
infernon
Installation/Configuration
2
6th June 2007
18:36
log files
cruz
Technical
3
15th May 2007
14:35
All times are GMT +2. The time now is
18:47
.
Contact Us
-
HowtoForge - Linux Howtos and Tutorials
-
Archive
-
Top
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Recent comments
16 hours 23 min ago
21 hours 22 min ago
22 hours 48 min ago
23 hours 41 min ago
1 day 1 hour ago
1 day 5 hours ago
1 day 6 hours ago
1 day 8 hours ago
1 day 22 hours ago
1 day 23 hours ago