- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: root password issue
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
тАО08-03-2007 01:44 AM
тАО08-03-2007 01:44 AM
I've got a very strange problem.
1. I changed the password of root user after doing a su from user x to root . The password was abc@root .
2. After This it doesnt allow me direct login or su to root any normal user except that user x from where i changed the password. ( I am sure direct root login is not disabled and su is not prohibited)
3. Strange thing is when i changed the password again to something like root123 , it started working fine . Direct root login is happening and su from other usres are also happening.
This is quite strange isnt it?
If the @ character in the password is the problem then it should not have allowed a su from only user x.
Any idea what could be the magic behind that.
Thanks,
Siva
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-03-2007 01:53 AM
тАО08-03-2007 01:53 AM
Re: root password issue
I used the @ sign befor and I never had problems.
2. After This it doesnt allow me direct login or su to root any normal user except that user x from where i changed the password. ( I am sure direct root login is not disabled and su is not prohibited)
Do you get any entry in the syslog?
Are you unable to use root password from the console?
What unix version are you running.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-03-2007 01:54 AM
тАО08-03-2007 01:54 AM
Solutionthe @ symbol is a special symbol that is interpreted as: IGNORE anything prior.
Therefore, abc@root yields root as the password.
It is very handy when typing your login or password and make a mistake to type in @, then the correct login or password, since the backspace key adds characters.
Tommy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-03-2007 01:58 AM
тАО08-03-2007 01:58 AM
Re: root password issue
The relevant part is excerpted here:
WARNINGS
Avoid password characters which have special meaning to the tty driver, such as # (erase) and @ (kill). You may not be able to login with these characters.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-03-2007 02:02 AM
тАО08-03-2007 02:02 AM
Re: root password issue
I'm using HPUX 11.11 and there is no entry in the syslog . I didnt try that from Console either .
Tommy,
Thats my learning for the day.. Yes i've tried that now and @ ignores the characters before .. Can escape from getting a new login prompt again if i type the wrong password.
But that hasnt answered all my questions.
If that is the case how come it allowed su from the user x alone to root
Thanks,
Siva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-03-2007 02:03 AM
тАО08-03-2007 02:03 AM
Re: root password issue
Tommy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-03-2007 02:10 AM
тАО08-03-2007 02:10 AM
Re: root password issue
Run "stty -a" as user x and as some other (non-root) user. Compare the results. Pay attention to the "kill = " setting.
If the stty settings are not properly set up, the system will use kernel-level defaults... which are designed for some very old terminals. The "@" character is the kernel-level default "kill" (=delete-line) character.
This is known to happen with some ssh.com commercial SSH product versions: the old versions 3.2.* certainly had this bug.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-03-2007 02:14 AM
тАО08-03-2007 02:14 AM
Re: root password issue
Avoid password characters which have special meaning to the tty driver, such as # (erase) and @ (kill). You may not be able to login with these characters.
The "@" in the password is your problem.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-03-2007 02:57 PM
тАО08-03-2007 02:57 PM
Re: root password issue
If you are running 10.20 or any version of 11.xx you can fix this using the new ttyconf device file. Do this once while you are running:
stty erase "^H" kill "^U" < /dev/ttyconf
and now backspace will work for login, and @ can be used in a password. To make this permanent, include this line in one of your customized startup scripts.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-03-2007 06:22 PM
тАО08-03-2007 06:22 PM
Re: root password issue
If you really really want it, you can escape it with "\".
Or do what Bill mentions.
Here is the last thread on this issue, with a picture of a TTY:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1136252