- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- privilege for groups?
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
01-15-2005 01:08 AM
01-15-2005 01:08 AM
privilege for groups?
hi all
I have hp-ux V 10.2
I created my own group and users members in this group.
I want to know how can i grant privilege to this group or any users inthis group.
and if i want to create user with same privilege with the root.
how can i do it???
many thankx
kamal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2005 12:17 AM
01-17-2005 12:17 AM
Re: privilege for groups?
what do you mean with 'privileges'?
If you think about access permissions for files:
- chgrp MYGRP file...
- chmod 660 file...
-> now all users of the group MYGRP are permitted to read/write file...
If you really want to create a user with the same privileges as root (this 'setting' cannot be got via groups!), you must give him the uid 0 (zero). BUT: I WOULDN'T DO THAT!
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2005 12:22 AM
01-17-2005 12:22 AM
Re: privilege for groups?
mid three fields in file permissions has permission for groups. you can even use ACL's to assign permission to specific user or group.
Never ever assign root priviledge to any other user. Use sudo to assign selected priviledge to users. If you want to give some user same rights as root then edit /etc/passwd file and change his UID to zero (0).
Sunil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2005 02:00 AM
01-18-2005 02:00 AM
Re: privilege for groups?
but i know there are commands (getprivgrp and setprivgrp).
this commands used to assign permissions or deny permissions from spesific groups.
if it is true?
how can i used this commands to do that?
without change UID or group ID
thankx for help
kamal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2005 03:33 AM
01-18-2005 03:33 AM
Re: privilege for groups?
The setprivgrp command associates a group with a list of privileges, thus providing access to certain system capabilities for members of a particular group or groups. The privileges can be displayed with the getprivgrp command.
For more info:
see
man setprivgrp.
or
http://docs.hp.com/en/B2355-90692/setprivgrp.1M.html for hp-ux 11.x
and
http://docs.hp.com/en/B2355-90129/setprivgrp.1M.html for hp-ux 10.x
Rgds
JMB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2005 04:40 AM
01-18-2005 04:40 AM
Re: privilege for groups?
i will try to do that commands now
many thankx
kamal