Unix/Linux Go Back    

UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

pam ldap limit authentication

UNIX for Advanced & Expert Users

Thread Tools Search this Thread Display Modes
Old Unix and Linux 08-01-2005   -   Original Discussion by hassan1
hassan1 hassan1 is offline
Registered User
Join Date: May 2005
Last Activity: 5 October 2015, 6:18 PM EDT
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Network pam ldap limit authentication

I have a linux machine which authenticate users to ldap, this is working fine. But I would like to limit users that logon to the machines to just the system admins.
The machines hosts different web sites which users accessed from there home directory like http://foo.mdx.ac.uk/~username

At the monent my /etc/ldap.conf has
nss_base_passwd o=mdx?sub?groupMembership=cn=linux_servers,ou=access-grou

nss_base_shadow o=mdx?sub?groupMembership=cn=linux_servers,ou=access-grou

nss_base_group ou=group,ou=sun.mdx.ac.uk,ou=nis,ou=services,ou=unix,ou=service

I would like to limit authentication to cn=linux_admin but if I change the above /etc/ldap.conf to cn=linux_admin users will not be able to get there web site.

Using PAM, how do I limit authentication to all services just to cn=linux_admin, while normal user still be able to access there web site through http://foo.mdx.ac.uk/~username

Thanks Linux Linux
Sponsored Links

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Authentication with LDAP in opensolaris checoturco Solaris 0 08-01-2011 04:16 PM
LDAP authentication visu_buri Solaris 2 04-09-2009 01:48 AM
CVS ldap authentication jhtrice Red Hat 1 01-19-2009 04:17 PM
HpUx and ldap Authentication suuuper HP-UX 0 10-02-2008 11:33 AM
LDAP authentication question bptronics Linux 1 04-11-2008 06:10 PM

All times are GMT -4. The time now is 03:11 AM.