Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2003 09:22 AM
тАО04-23-2003 09:22 AM
reboot
How does one allow a user to issue /etc/reboot? Is there such a thing as reboot.allow?
Thanks,
Vlad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2003 09:30 AM
тАО04-23-2003 09:30 AM
Re: reboot
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/sudo-1.6.6/
You can then give root-equivalent access on an individual command basis to specific users. Plus all their activity is logged, so if they are abusing the priviledge, you will know about it.
HTH
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2003 09:36 AM
тАО04-23-2003 09:36 AM
Re: reboot
You can use the shutdown command instead with the "-r" (reboot) option.
# shutdown -r 0
Create the /etc/shutdown.allow file and the format is ..
systemname username
Check ..
# man 1m shutdown
for details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2003 09:36 AM
тАО04-23-2003 09:36 AM
Re: reboot
2) Use /etc/shutdown.allow to authorize shutdowns and rebooting for NON-root users!
Do a man on shutdown:
man 1m shutdown
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2003 09:39 AM
тАО04-23-2003 09:39 AM
Re: reboot
You can use "sam -r" to allow a non-root user to reboot. man sam for more details.
Hai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2003 09:49 AM
тАО04-23-2003 09:49 AM
Re: reboot
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2003 09:51 AM
тАО04-23-2003 09:51 AM
Re: reboot
There is no such file.
Hai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2003 09:58 AM
тАО04-23-2003 09:58 AM
Re: reboot
reboot is the worst command you can use!!!
Stick with shutdown -r
NEVER use reboot unless your looking for trouble ;)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2003 10:18 AM
тАО04-23-2003 10:18 AM
Re: reboot
Again, I can't stress enough how important it is to use shutdown over /etc/reboot!
And hopefully you have a make_tape_recovery available if you want to continue using reboot.
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2003 10:21 AM
тАО04-23-2003 10:21 AM
Re: reboot
1) There is no such file to allow or deny access to reboot command.
2) Since reboot will not take a proper "reboot" of the system with shutting down all processes and applications, stick with shutdown -r command which will shutdown all applications properly and then do a reboot. Reboot will immediately reset the system. The advantage is you can configure your users in shutdown.allow file.
3) By default only root will be allowed to execute the command reboot.