HP-UX Secure Resource Partitions

Help! Can someone post links to additional relevant documentation except the “HP-UX Secure Resource Partitions Administrator's Guide”?

I built a compartment following the "Administrator's Guide", and whenever I try to log in to the compartment as a NIS user, via the srp_su command, it takes a long time (with local root I get the prompt without waiting).
Also, before the process of logging in as a NIS user is complete, I get this error:
yp_all: TCP channel create failure: RPC: Rpcbind failure - RPC: Timed out

How can I know for sure that I am logged in to the compartment?

And with ssh, it's just freezes until I break it (using ctrl+c) - I added the sshd template to the compartment, created the required authorizations, roles & assignments.

Any idea what is missing?...

Thanks,
Tal
questilAsked:
Who is Participating?
 
tfewsterConnect With a Mentor Commented:
"slow login" problems are almost always due to nameserver lookup failure - The login process tries to contact the (NIS/DNS) server to verify hostnames & usernames, and when it times out reverts to a local login. Ensure the Compartment can contact the nameserver(s). Test it with "ypwhich"; I've never used SRP, but a brief look at the Admin Guide indicates each compartment has a local "etc" directory which may override the nsswitch.conf/resolver.conf files in the "master" (INIT) compartment

This may also solve the ssh issue.

From the Administrators guide:
"you can use the following command to determine the compartment you are running in: getprocxsec -c"
- Or lanscan/ipconfig or looking at the filesystem structure should give you an indication?

Good luck!
0
 
questilAuthor Commented:
the solution was incomplete
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.