- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Create permisson to normal users to reboot machine
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
10-18-2001 08:10 PM
10-18-2001 08:10 PM
Create permisson to normal users to reboot machine
Please help.
How do i set an option to a normal user say A in group users to be able to for shutdown and reboot a hp-ux workstation.
I need to give him/her only this access besides all permission given when they are grouped as a normal user.
Thanks
Regards
Joyce
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2001 08:17 PM
10-18-2001 08:17 PM
Re: Create permisson to normal users to reboot machine
If you are trying to provide root permissions to normal users,the tool sudo can be used.
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/sudo-1.6.2b1/
Try downloading the tool.
You have various questions reg sudo in the forums site.Just give a search for sudo.
Thanks
G Manikandan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2001 09:19 PM
10-18-2001 09:19 PM
Re: Create permisson to normal users to reboot machine
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2001 11:27 PM
10-18-2001 11:27 PM
Re: Create permisson to normal users to reboot machine
just put the user in the file /etc/shutdown.allow in the form:
user hostname
Make sure you also put the user root in this file. If shutdown.allow exists then automatically all users not mentioned are not allowed to shutdown the system. This means also root.
Hope this helps
Regards Stefan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2001 11:47 PM
10-18-2001 11:47 PM
Re: Create permisson to normal users to reboot machine
There are basically two ways that you can
allow users to shutdown a server. You can
include their user id in the shutdown.allow
file, or set up 'sudo' to do it. You can
also set up 'sudo' to other things as well.
HTH
-Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2001 12:39 AM
10-19-2001 12:39 AM
Re: Create permisson to normal users to reboot machine
sam -r
(restricted sam, create the profile for the user.)
scm
service control manager, distributed system administration. See http://www.hp.com/go/servicecontrol
Free downld, available/intagratable linux.
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2001 02:29 AM
10-19-2001 02:29 AM
Re: Create permisson to normal users to reboot machine
I will agree with what Bill suggests.
sam -r is a good option give only shotdown access to the user.Adding exec /usr/sbin/sam as the last line of users .profile will make sure the user can do only the shutdown procedure.
Regards
Joe.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2001 01:26 AM
10-24-2001 01:26 AM
Re: Create permisson to normal users to reboot machine
i have put in the information below to the shutdown.allow file at /etc
*******
optivity root
optivity ops
********
where optivity is the hostname
but i received this message when i type shutdown at command line
Must be super-user to shutdown system into state S -- exiting shutdown.
Please help
regards
Joyce
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2001 01:38 AM
10-24-2001 01:38 AM
Re: Create permisson to normal users to reboot machine
This file does not affect authorization to bring the system down to single-user state for maintenance purposes; that operation is permitted only when invoked by a superuser.
If you need to transition to a different run-level as a normal user, you would probably have to use something like sudo.
Hope this helps.
-Santosh