- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Revert from NIS to local user setup.
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
Discussions
Discussions
Forums
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
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
тАО12-18-2009 11:32 AM
тАО12-18-2009 11:32 AM
Revert from NIS to local user setup.
I have inherited two hp ux 11 boxes. I'm trying to get remsh to work between them and think that the user management is the problem. It appears that NIS+ was partially setup on one of the boxes. We have a very small number of users and don't need NIS.
So, is there a way to do this via SAM. That'd be easy. I don't see an obvious way to do it.
Or, sans SAM, what files are involved, how do I modify them to go back to local user management (undo the NIS setup), and what processes need to be stopped and prevented from restarting?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2009 12:01 PM
тАО12-18-2009 12:01 PM
Re: Revert from NIS to local user setup.
hosts: files[NOTFOUND=continue UNAVAIL=continue] dns [NOTFOUND=continue UNAVAIL=
continue TRYAGAIN=return] nis
You should be able to do this through SAM > Networking and Communications > Name Service Switch.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2009 12:53 PM
тАО12-18-2009 12:53 PM
Re: Revert from NIS to local user setup.
> between them and think that the user
> management is the problem. [...]
Evidence? It might be interesting to see
exactly what you tried, and exactly what
failed when you tried it.
> It appears that [...]
Again, I can't see what you see.
> So, is there a way to do this via SAM.
Do what, exactly? Turn off NIS or NIS+? I
haven't looked, but I'd assume that that's
pretty easy. Add a few local users manually?
How hard can that be?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2009 12:54 PM
тАО12-18-2009 12:54 PM
Re: Revert from NIS to local user setup.
would be more informative than "hp ux 11",
which is pretty non-specific.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2009 01:06 PM
тАО12-18-2009 01:06 PM
Re: Revert from NIS to local user setup.
You should also check your /etc/nsswitch.conf and see if that refers you to NIS rather than files
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2009 01:12 PM
тАО12-18-2009 01:12 PM
Re: Revert from NIS to local user setup.
Ok. Now I've looked. At NIS, at least. On
my 11.11 system, SAM offers:
Networking and Communications
NIS
Actions
Disable Server
Disable Client
Name Service Switch
Actions
Configure Name Service Switch...
I've never used NIS+, so I know nothing on
that front, other than to tell Name Service
Switch not to use it, but there is an icon
for it, too.
There's also:
Accounts for Users and Groups
Local Users
Actions
Add...
SAM may lack the visual charm of the SMIT
Dude on AIX, but it can be pretty helpful.
(As you mentioned SAM, I'll assume that
you're not running 11.31, where it's (mostly)
replaced by SMH.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2009 01:14 PM
тАО12-18-2009 01:14 PM
Re: Revert from NIS to local user setup.
# uname -a
HP-UX boxName B.11.23 U ia64 other stuff
When I 'ssh boxName1 ls', I get a directory listing of the home dir on the boxName1.
When I 'remsh boxName1 ls', I get,
rcmd_af: primary connection shut down.
I've been reading HP-UX manuals and papers and googling that error and I find some references to that error being a security problem involving inetd.
I've created a new user identically on both boxes, same uid. On the box to which I want to remsh, I have created an /etc/hosts.equiv file listing the client box and the new user.
The box to which I want to remsh does not mention NIS anywhere in its /etc/nsswitch.conf file. It should be looking at its local passwd file.
I'm stumped..... but, am still digging.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2009 01:42 PM
тАО12-18-2009 01:42 PM
Re: Revert from NIS to local user setup.
> rcmd_af: primary connection shut down.
Unfamiliar to me. Anything in the system log
file(s) on the server?
Lacking any actual insight, I'd also try
remsh from a system to itself, which would
tend to filter out any external network
quirks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2009 09:30 PM
тАО12-18-2009 09:30 PM
Re: Revert from NIS to local user setup.
Rather than use /etc/hosts.equiv, you may want each user to just create his own ~/.rhosts file.