- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- groups command doesn't show NIS group membership
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
Discussions
Discussions
Discussions
Forums
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
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-25-2002 08:40 AM
тАО06-25-2002 08:40 AM
groups command doesn't show NIS group membership
Thanks,
Doug
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2002 09:03 AM
тАО06-25-2002 09:03 AM
Re: groups command doesn't show NIS group membership
What does your /etc/nsswitch.conf file contain - in particular for groups?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2002 09:05 AM
тАО06-25-2002 09:05 AM
Re: groups command doesn't show NIS group membership
1) Your /etc/group.. does it has the entry "+:" at the end of it ?
2) In /etc, the file "logingroup" should be a symbolic link to "group" because in NIS environment if you want the group membership to be managed by NIS this symbolic link must exist. If not do this ..
# cd /etc
# ln -s /etc/group logingroup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2002 09:10 AM
тАО06-25-2002 09:10 AM
Re: groups command doesn't show NIS group membership
The groups command displays the groups that
you are a member of. Those can be NIS or locally defined groups. Check that that you have a plus sign at the end of /etc/group and that the group entry in /etc/nsswitch.conf has nis files or files nis order defined.
-john
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2002 09:18 AM
тАО06-25-2002 09:18 AM
Re: groups command doesn't show NIS group membership
Thanks,
Doug
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2002 09:59 AM
тАО06-25-2002 09:59 AM
Re: groups command doesn't show NIS group membership
Apparently the CDE login does not execute the setgroup() system call but you should at least see the primary group in that case. I would kill the pwgrd and see if the behavior changes.
My groups command does work with NIS on 11.11.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2002 10:32 AM
тАО06-25-2002 10:32 AM
Re: groups command doesn't show NIS group membership
Thanks,
Doug
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2002 10:55 AM
тАО06-25-2002 10:55 AM
Re: groups command doesn't show NIS group membership
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2002 11:02 AM
тАО06-25-2002 11:02 AM
Re: groups command doesn't show NIS group membership
The length of each line in /etc/group is limited to LINE_MAX, as defined in
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2002 11:05 AM
тАО06-25-2002 11:05 AM
Re: groups command doesn't show NIS group membership
Thanks,
Doug
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2002 11:16 AM
тАО06-25-2002 11:16 AM
Re: groups command doesn't show NIS group membership
Thanks,
Doug