- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Reboot from CDE Front Panel?
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
Forums
Discussions
Discussions
Discussions
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
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-27-2004 03:15 AM
04-27-2004 03:15 AM
Reboot from CDE Front Panel?
I don't think it's easy, but anyone any ideas?
Cheers,
Matt.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2004 04:16 AM
04-27-2004 04:16 AM
Re: Reboot from CDE Front Panel?
Sure, it's possible but you have to be root to issue the reboot or shutdown commands so you'll have to create an action on the front panel that invokes a suid script to accomplish this. As a general rule, suid scripts are considered security risks and you'll have to ask yourself if having a user be able to reboot his workstation at will is worth it.
I would have to ask why there is a need for this at all.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2004 08:11 AM
04-27-2004 08:11 AM
Re: Reboot from CDE Front Panel?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2004 08:17 PM
04-27-2004 08:17 PM
Re: Reboot from CDE Front Panel?
We need users to be able to reboot as we're 24/7 and w/s can only be rebooted at 7z and 20z, when shifts change. They need to reboot because the file table fills up due to our applications leaving some open - it's a gradual process. Yes I know we could fix the application! But that's development and not support.
Cheers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2004 10:35 PM
04-27-2004 10:35 PM
Re: Reboot from CDE Front Panel?
I still wouldn't give the users the ability to reboot at will. I would set this up in root's crontab with the following entry:
00 07,20 * * * /usr/sbin/shutdown -r -y 60 1>/dev/null 2>&1
This will reboot the workstation every day at 0700 and 2000. You could set it to just weekdays with:
00 07,20 * * 1-5 /usr/sbin/shutdown -r -y 60 1>/dev/null 2>&1
Pete
Pete