- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: User cannot log in after converting to trusted...
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
12-07-2006 06:28 AM
12-07-2006 06:28 AM
I'm trying to convert a HP-UX 11.0 box to a trusted system.
Switching on trusted system mode (which I do from SAM) does not give any errors.
Once it's done though no users (including root from the console) can log in anymore. Users that are currently logged in can continue to work but no new logins are allowed.
If I revert the change back to a non-trusted system everything seems fine again.
Has anyone else had this problem and if so, what was the resolution?
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2006 06:33 AM
12-07-2006 06:33 AM
Re: User cannot log in after converting to trusted system
Recommended E that you it makes one make recovery it is always good for preventing against problems. I recommend tambem that you it makes everything for SAM thus reduces the risk of problems.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2006 06:33 AM
12-07-2006 06:33 AM
Re: User cannot log in after converting to trusted system
HTH,
S.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2006 06:36 AM
12-07-2006 06:36 AM
Re: User cannot log in after converting to trusted system
one way is to have a second root window open when you do the conversion.
After the conversion use the following command to reactivate an accout (root ID used in the example
/usr/lbin/modprpw -k root
Note trusted system passwords need to 8 characters or less
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2006 07:23 AM
12-07-2006 07:23 AM
Re: User cannot log in after converting to trusted system
untrusted systems only recognize the first 8 and the conversion to trusted will use only these 8.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2006 03:09 PM
12-12-2006 03:09 PM
Re: User cannot log in after converting to trusted system
I tried converting to a trusted system again (it's a production system - so I'm limited to when I can give it a try).
I used SAM to do the conversion. First I noticed this message when I attempted to convert.
Note: VxFS file systems do not currently support Access Control Lists (ACLs). If you currently have one or more VxFS file systems in use, these file systems will not contain ACLs after conversion to Trusted Systems.
At that point it asks wether or not I want to continue. If I say yes, it continues and then says that the conversion was successful.
After that I check my account status and I'm not deactivated. Even so - I tried the suggestion above (/usr/lbin/modprpw -k
user password file not found:
I checked to see what existed under /tcb and there are a couple subdirectories.
Anyone have any ideas?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2006 03:29 PM
12-12-2006 03:29 PM
Re: User cannot log in after converting to trusted system
ls -R /tcb
So, before you switch to a Trusted system, run the commands: pwck and grpck, then fix any problems. NOTE: your system must not already be part of an NIS password system. And make sure your /etc/nsswitch.conf looks like this:
passwd: files
group: files
hosts: files [NOTFOUND=continue UNAVAIL=continue] dns
ipnodes: files [NOTFOUND=return] dns
networks: files
protocols: files
rpc: files
publickey: files
netgroup: files
automount: files
aliases: files
services: files
Then perform the conversion using SAM and see if the passwords are now working.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2006 05:17 PM
12-12-2006 05:17 PM
Re: User cannot log in after converting to trusted system
I gave pwck and grpck a try. grpck came back with nothing, pwck had 3 issues - all with system account with invalid or no home directories.
The box is not a NIS box.
Any other ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2006 05:45 PM
12-12-2006 05:45 PM
Re: User cannot log in after converting to trusted system
/usr/lbin/modprpw -k root. Reset the password of root and set a new password.
Also check the status of other users bu executing /usr/lbin/getprpw userid. This shall give lot of details about the user. You can understand from the flags that why the systemis not allowing the user to log in. Please check the man page of getprpw for more details.
You have to look lockout=0000000 option in the output of getprpw command.
Thanks
PVR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2006 11:15 PM
12-12-2006 11:15 PM
Solutionpasswd: compat
group: compat
will cause the problem where modprpw fails as described.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2006 04:36 PM
12-18-2006 04:36 PM
Re: User cannot log in after converting to trusted system
You're a legend! the problem was with the nswitch.conf
After changing the entries to read "files" rather than "compat" it worked perfectly.
Thanks again!
Kevin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2006 04:37 PM
12-18-2006 04:37 PM