- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /etc/group problem
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-08-2002 10:53 PM
04-08-2002 10:53 PM
/etc/group problem
pin::1001:
does it mean nobody belongs to it,or everyone belongs to it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2002 11:00 PM
04-08-2002 11:00 PM
Re: /etc/group problem
You need to look in the /etc/passwd file
to see how many users have this group (1001)
This is called the default group. Not having
any in the /etc/group indicates that no user
has 'pin' as a secondary group.
# grep 1001 /etc/passwd
will find the users that have this group as
it's primary.
HTH
~Michael~
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2002 11:08 PM
04-08-2002 11:08 PM
Re: /etc/group problem
But users can belong to "pin" if the have the gid 1001 in their passwd-entry.
Hardy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2002 11:12 PM
04-08-2002 11:12 PM
Re: /etc/group problem
The /etc/group file does *NOT* need to keep a record of the user's default group found in /etc/passwd. Many revisions ago this was true and the LINE TOO LONG error was created when SAM would blindly concatenate more user ID's on the same line.
For example the default user group is groupID=20 and known as users, then the only information needed about users is:
users::20:
Hope this help
Animesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2002 05:11 AM
04-09-2002 05:11 AM
Re: /etc/group problem
If you dont have a secondary, how can you make it primary?
Regards,
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2002 06:11 AM
04-09-2002 06:11 AM
Re: /etc/group problem
A set of users form a group , however a group can also be formed by single user too. The information in /etc/group has tells that there can be a single user or multiple user using the pin as the group name , this you identify using cat /etc/passwd | grep 1001 and look for the field after the uid . It can also be possible that a user was greated and deleted but the group for that user was not deleted. Also you can just run id after lgging in to get the uid and the gid for that user. In case there are users which share seconday memnership thos will appear after the last : in the /etc/group file.
Manoj Srivastava