- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: why are the password fields of user tmosadm an...
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
10-10-2002 08:05 PM
10-10-2002 08:05 PM
tmosadm:x:101:201:TMOSADM:/home/tmosadm:/bin/csh
sybase:x:102:202:Sybase:/opt/sybase/tools:/bin/csh
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2002 08:32 PM
10-10-2002 08:32 PM
SolutionI would say that the password encryption which should be in those fields has been removed. At a guess the account has had that encryption removed manually. If you wish to have an account locked, you can place an '*' in this field, or if you are using your system as trusted, this there other means in which to secure accounts.
To activate these accounts to have passwords, simply run the 'passwd' command as 'root'
# passwd tmosadm
Make sure this is exactly what you need to do before doing this, as some accounts particularly ones that have administrative privileges are 'su' accounts only, meaning that they can be used from 'root' with the need of a password at all and without logging in as that user.
Hope this makes some sense.
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2002 08:48 PM
10-10-2002 08:48 PM
Re: why are the password fields of user tmosadm and sybase in /etc/passwd file is x?
One way is to edit the passwd file and make entries.
If you have a 'x' in the second field it means that the user has a password and the password is stored in the /etc/shadow file.
Hpux does not have shadow file,it stores the password in the passwd file itself.
In solaris you have the 'x' in the second field and you have a seperate file for storing passwordsi.e./etc/shadow
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2002 11:03 PM
10-10-2002 11:03 PM
Re: why are the password fields of user tmosadm and sybase in /etc/passwd file is x?
is it a 'x' or a'*'?
A '*' is set when the users are deaktivated by SAM.
Also users like 'lp', 'daemon' and 'sys' have this.
So you can't login with this users but they could start processes.
Regards
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2002 11:03 PM
10-10-2002 11:03 PM
Re: why are the password fields of user tmosadm and sybase in /etc/passwd file is x?
Did you mean I could only use 'su' to login as tmosadmin and sybase?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2002 02:03 AM
10-11-2002 02:03 AM
Re: why are the password fields of user tmosadm and sybase in /etc/passwd file is x?
These accounts have invalid passwords if the encrypted string is just a single 'x', ie no possible plain text password would ever encrypt to 'x'. So the only way to access these accounts is to use su from root as root doesn't need to supply passwords to use su.
As others have stated the normal way to lock/disable an account is to use an asterisk in the password field.
regards,
Darren.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2002 02:13 AM
10-11-2002 02:13 AM
Re: why are the password fields of user tmosadm and sybase in /etc/passwd file is x?
yes - you have to be logged in as root to make either su - 'user' or to set a password with passwd 'user'
Regards
Volkmar