- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Same Local user and LDAP user conflict in RHEL 6.4
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-03-2013 04:57 PM
06-03-2013 04:57 PM
Same Local user and LDAP user conflict in RHEL 6.4
Hi All,
There is one RHEL 6.4 server called "serverA". It is integrated with LDAP. There is one user "abc" created locally on /etc/passwd o the server "serverA". but unfortunately the same user "abc" is created on LDAP too for some other purpose. But the thing is both local and LDAP is pointing to different shell.
Shell as per /etc/passwd ==> bash
shell as per LDAP ==> ksh
/etc/nsswitch.conf file output on "serverA":
passwd: files ldap
shadow: files ldap
group: files ldap
Generally if we log in to a server it will first check on /etc/passwd for the avaiable user IDs. if it is availble, it will take all the configuration such as shell, home directory from /etc/passwd and log in. If not it will check LDAP and will use LDAP properties.
But here, when issue the command "id" is showing properties as per LDAP not local. "/etc/passwd" and after logging in to the user "abc" on "serverA". If I issue "echo $SHELL". it is showing the shell configured on LDAP not local "/etc/passwd".
Could any one please help me to resolve the issue.
Thanks a lot in advance.
- Tags:
- LDAP