- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - Linux
- >
- System Administration
- >
- Same Local user and LDAP user conflict in RHEL 6.4
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Latin America
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- 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
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP