- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Group permission
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
06-26-2006 10:57 PM
06-26-2006 10:57 PM
Group permission
How to find each group permission on Hp-UX?
Also for what purpose the system user & group like lp uucp,www,webadmin are required.shold I remove this ?
thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2006 11:02 PM
06-26-2006 11:02 PM
Re: Group permission
Certain groups like lp, uucp are required by systen daemons. www and webadmins are not common. Do you have use of them in your systems? , else you can remove them.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2006 11:34 PM
06-26-2006 11:34 PM
Re: Group permission
I'm not sure if this is what you're looking for, but to get a list of groups on your system, look at /etc/group.
# more group
root::0:root
bin::2:root,bin
The first field is the group name, the second is the group password (hardly ever used), the third is the group id (gid), which is how the OS actually keeps track of the group, and the fourth contains group members. A username needs to be added to this field only when the user is a member of multiple groups. However, it is necessary for the gid to appear in the appropriate field for that user's entry in /etc/passwd. Remember that usernames are group names can be the same (e.g. root and root, bin and bin).
# ll -F /usr | awk '{print $1,$3,$4,$9}' | tail -8
drwxr-xr-x oracle dba quest/
dr-xr-xr-x bin bin sam/
dr-xr-xr-x bin bin sbin/
dr-xr-xr-x bin bin share/
lrwxr-xr-t root sys spool@
lrwxr-xr-t root sys tmp@
dr-xr-xr-x bin bin tsm/
dr-xr-xr-x bin bin vue/
The first field contains access/execution permissions for the file or dir, the second contains the owner's name, the third contains the group name, and the fourth is the name of the file or dir.
For more information:
# man group
# man ls
# man id
# man passwd
# man chmod
# man umask
The groups you mentioned are not causing any harm, so I see no reason to get rid of them.
PCS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2006 12:40 AM
06-27-2006 12:40 AM
Re: Group permission
I am looking the permission for different group in the system.How to find it.
thanks.....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2006 01:24 AM
06-27-2006 01:24 AM
Re: Group permission
Have a look at:
# sam &
Accounts for Users and Groups -> Groups, which is just a GUI wrapper of /etc/group.
List -> Users to switch to a list of users, which is a wrapper of /etc/passwd.
If this isn't the answer you're looking for, please make your question more clear.
PCS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2006 09:23 AM
06-28-2006 09:23 AM
Re: Group permission
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2006 04:51 PM
06-29-2006 04:51 PM