- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- pwgrd gathering secondary groups while using LDAP ...
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
07-16-2008 09:02 AM
07-16-2008 09:02 AM
pwgrd gathering secondary groups while using LDAP - OS:1131
I have a need(su, sudo ect..) for the use of secondary groups to be available to the system for users that SSH to my 1131 servers and logon/authenticated by LDAP.
If i start /usr/sbin/pwgrd, the behavior is expected the id and groups command show all my secondary group memberships and su and sudo allow users to run commands that are defined to those secondary groups.
If i kill the pwgrd and then SSH back in, id and group only show my primary group and su/sudo do not allow users with group memberships to run those commands.
For security reasons i would like to turn off pwgrd, as this is the standard on our 1123 servers -- groups work properly on 1123 without the pwgrd running.
Does anyone have any information on how to get group memberships working correctly on 1131 with out the the pwgr?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2008 10:29 AM
07-16-2008 10:29 AM
Re: pwgrd gathering secondary groups while using LDAP - OS:1131
See if you have a link for /etc/logingroup to /etc/group. If not, try creating one.
# ln -s /etc/group /etc/logingroup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2008 10:58 AM
07-16-2008 10:58 AM
Re: pwgrd gathering secondary groups while using LDAP - OS:1131
What security do you gain?
pwgrd(1m) says you can disable it in /etc/rc.config.d/pwgr. It doesn't mention any drawbacks except for performance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2008 11:01 AM
07-16-2008 11:01 AM
Re: pwgrd gathering secondary groups while using LDAP - OS:1131
- Kevin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2008 12:22 PM
07-16-2008 12:22 PM
Re: pwgrd gathering secondary groups while using LDAP - OS:1131
I did try the netgroup link a while back as this also popped up in a few other group threads and it made no diffrence. Thanks though...
This seems to happen only when ldap users SSH in. Root works fine along with any other local user. If i su -
Here is the security doc that I followed for
info on the security settings:
http://docs.hp.com/en/5187-2725/ch02s04.html
Thanks,
Seth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2008 12:37 PM
07-16-2008 12:37 PM
Re: pwgrd gathering secondary groups while using LDAP - OS:1131
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2008 12:52 PM
07-16-2008 12:52 PM
Re: pwgrd gathering secondary groups while using LDAP - OS:1131
For LDAP we are using netgroup authentication. I have the allow:netgroup populated in the pam_authz.policy file with the correct netgroups and authentication works fine.
Seth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2008 01:21 PM
07-16-2008 01:21 PM
Re: pwgrd gathering secondary groups while using LDAP - OS:1131
- Kevin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2009 07:52 PM
03-19-2009 07:52 PM
Re: pwgrd gathering secondary groups while using LDAP - OS:1131
I've just run into that bug on 11.11 systems which didn't have the long usernames patch.