- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Trusted systems- can't login even from console.
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
04-19-2001 05:07 AM
04-19-2001 05:07 AM
Trusted systems- can't login even from console.
One of my system administrators converted his system to a trusted system environment "unintentionally". A few minutes later he realised none of his users could log onto the system. The system was saying the account for root( or any user) was disabled, he should contact the system administrator but console login was possible.
Unfortunately none of the users including root could login. Eventually we booted to single user mode and unconverted the system to standard through SAM.
What beats me is why root could not login in the first place or why root was not prompted for a new password?
Why Root could not change his own password through #passwd? I noticed the /etc/passwd file was not being used. All password fields were *'s and changing those would not help either.
Is this a normal behaviour? If so, how does root (or even ordinary users) gain access to the system after converitng?
Whilst still st it, what is the advantage of trusted systems?
All oppinions will be highlt welcomed.
Kind regards
Ish.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2001 05:52 AM
04-19-2001 05:52 AM
Re: Trusted systems- can't login even from console.
Do you can login in single user mode ?
If yes check the /etc/passwd
You mast have for the root /sbin/sh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2001 06:38 AM
04-19-2001 06:38 AM
Re: Trusted systems- can't login even from console.
Its difficult to answer not knowing on what version you are...
The general behaviour of a trusted HPUX would be if you leave the default settings:
1)after 3 unsuccessfull attempts, the accounts are disabled.
I dont remember having root account disabled after install exept 2-3 years ago, only at that time many people were using the root account, and I put some order since, Im not sure if the system prpompted you to change the passwd and we didnt pay attention or if straight after conversion to trusted the users were trying to connect root...
2) Yes you will have * instead of cripted passwd in /etc/passwd
the passwd are in
/tcb/files/auth/
...
The easiest way to manage user accounts after would be to use SAM and give permission to users to do the job: reactivate accounts initialize new passwd create new accounts..., using restricted sam
The advantage is to have less security breach by not allowing easy to find passwd deactivate accounts after unsuccessful loggins (possible intrusion!?) etc...
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2001 05:45 AM
04-20-2001 05:45 AM
Re: Trusted systems- can't login even from console.
But even when I had this on I could still login to the console with the existing password. I could just never change the root password.
You found one of the ways out... unconverting from trusted.
Advantages of trusted:
Try setting a password of more that 8 chars.
Ability to audit what people execute or edit
force password policies such as expires, format, change no more than once per day, etc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2001 05:57 AM
04-20-2001 05:57 AM
Re: Trusted systems- can't login even from console.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2001 06:07 AM
04-20-2001 06:07 AM
Re: Trusted systems- can't login even from console.
All password entries and audit info are held under /tcb/files/auth/X/username (where X is the first char of the username) for each user in a trusted system. If you remove the /tcb/files/auth/X/username file for the user in question, all auditing information is removed, incl the password for that user.
Also a trusted system keeps a cache of user information in /tcb/files/auth/system/pw_id_map - removing that can also solve niggly password problems. The system will recreate it itself.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2001 10:05 AM
04-20-2001 10:05 AM
Re: Trusted systems- can't login even from console.
look at what the Character length for passwords is set to. If it's set to 8 characters and you passwords is 9 or 10 it will only authenticate with the correct 8 character password.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2001 11:07 AM
04-20-2001 11:07 AM
Re: Trusted systems- can't login even from console.
Like Philip is saying, he might have chosen to expire the passwords, but this as far as I know would prompt for a "new password"on the next login and couldn't have disabled all the accounts.
Thanks a lot guys for your responses.
By the way he is ruuning HP-UX 10.20
Ish.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2005 04:08 AM
03-31-2005 04:08 AM
Re: Trusted systems- can't login even from console.
I ended up take this system down to single user mode. rm -r /tcb/*, removed the root passwd field (left it blank) in /etc/passwd. rebooted the server and logged in without a passwd. Set up a new passwd.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2005 05:04 AM
03-31-2005 05:04 AM
Re: Trusted systems- can't login even from console.
So in this case, SAM is the preferred method to convert a system to trusted. Otherwise, use modprpw -V right after converting to Trusted with tsconvert. And as mentioned, untrusted allows up to 8 significant characters for a password, Trusted allows lots more. But untrusted ignores everything after the 8th character, Trusted pays attention, thus the problem with root's password.
Bill Hassell, sysadmin