- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: user account doesnt follow nsswitch
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
11-26-2004 04:42 AM
11-26-2004 04:42 AM
user account doesnt follow nsswitch
Using /etc/hosts on: hostname
Is there some sort of switch that can make a user account ignore the /etc/nsswitch.conf directives?
nsswitch.conf is world readable and contains the following line for hosts resolution:
/etc/nsswitch.conf:
hosts: files [NOTFOUND=continue UNAVAIL=continue TRYAGAIN=continue] dns
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2004 05:01 AM
11-26-2004 05:01 AM
Re: user account doesnt follow nsswitch
/etc/nsswitch.conf applies to all users, entire machines.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2004 05:06 AM
11-26-2004 05:06 AM
Re: user account doesnt follow nsswitch
I'm not sure I correctly understand your question. According to your posting, root and all user accounts act in the same way, in accordance with your nsswitch.conf file. They read /etc/hosts first, then DNS, per your system setup.
One thing that is puzzling to me...why are you using "UNAVAIL" and "TRYAGAIN" with your hosts entry. "NOTFOUND" in this istance I believe would be good enough.
Did I misunderstand something from your posting?
Dwyane
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2004 05:25 AM
11-26-2004 05:25 AM
Re: user account doesnt follow nsswitch
nsquery hosts "host_name"
What it returns??
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2004 05:40 AM
11-26-2004 05:40 AM
Re: user account doesnt follow nsswitch
Using /etc/hosts on: hostname
looking up FILES
Trying DNS
Name: somehost.yourdoman.com
Address: xx.xx.xx.xx
You see the DNS entry there.
Check the permissions on /etc/hosts, /etc/nsswitch.conf and /etc/resolv.conf also.
Make sure users have read permissions to all of them.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2004 05:39 AM
12-01-2004 05:39 AM
Re: user account doesnt follow nsswitch
Root could resolve, users couldn't. Permissions on /etc/resolv.conf were 600. One chmod go+r /etc/resolv.conf later, we were all happy.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2004 05:44 AM
12-01-2004 05:44 AM