- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: root cannot login 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
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
11-09-2007 01:08 AM
11-09-2007 01:08 AM
I am having 2 hp-ux 9000 servers. One system is running hpux 11.0 and the other is running hpux 11.11. They are trusted systems. From the console, I can login as an regular user and su to root but I cannot login as root.
Please help.
Thanks a million
Tuan
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2007 01:12 AM
11-09-2007 01:12 AM
Re: root cannot login from console
Both systems (11.0 and 11.11) exhibit the same behavior. Is there anyway to allow me to log in as root from console.
Thanks again
Tuan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2007 01:12 AM
11-09-2007 01:12 AM
Re: root cannot login from console
If so, does it have the word "console" (without the quotes) in it.
This file defines where the root user can login from directly. If the file exists, but does not contain the word "console" or contains something like "/dev/console" then you will see the behavior you mention.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2007 01:14 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2007 01:16 AM
11-09-2007 01:16 AM
Re: root cannot login from console
do you have any particular error message when you try to log in with root?
what is the content of your /etc/securetty file?
Regards,
cedrick Gaillard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2007 01:23 AM
11-09-2007 01:23 AM
Re: root cannot login from console
Thanks for your super quick responses. I appreciate that.
Yes, both systems have /etc/securetty with the word console (no ") in it.
There is no "error" message when I login as root. I don't remember exactly but something like "invalid ..."
Tuan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2007 01:31 AM
11-09-2007 01:31 AM
Re: root cannot login from console
do you have any special characters in your password?
i've seen a similar problem with passwd containing *$@ chars which was misspelled on the console.
--
Regards
Cedrick Gaillard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2007 01:37 AM
11-09-2007 01:37 AM
Re: root cannot login from console
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2007 02:10 AM
11-09-2007 02:10 AM
Re: root cannot login from console
but do you have syslog messages?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2007 02:12 AM
11-09-2007 02:12 AM
Re: root cannot login from console
If nothing else, attempt to login at the console, write the message down on a piece of paper, then come back and post it here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2007 02:51 AM
11-09-2007 02:51 AM
Re: root cannot login from console
The message is "login incorrect".
I found this in syslog.log
Nov 9 07:46:31 hprptest bootpd[26703]: Option 43: Client specified unacceptable option length (90 octets)
Nov 9 07:49:19 hprptest bootpd[26703]: Option 43: Client specified unacceptable option length (90 octets)
my password is 8 characters, no special, just text and number.
Thanks
TUan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2007 03:23 AM
11-09-2007 03:23 AM
Re: root cannot login from console
It must only contain the word console
nothing else
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2007 03:32 AM
11-09-2007 03:32 AM
Re: root cannot login from console
ask you questions and wait for an answer and still ask for questions is very annoying.
i've taken a look at the login man-page (http://nixdoc.net/man-pages/HP-UX/login.1.html) where all the login proces is detailed.
i've also seen that there is a descriptif for all login error message.
please take a look at this doc and post your impress.
since your error message indicates that eser name and password cannot be matched,
try to enter your password in the login field, just for see if the characters typed are the correct characters.
also, if you can, try to move the /etc/securetty to securetty.save.
i 'don't know how to help you more for now.
--
Regards,
Cedrick Gaillard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2007 03:41 AM
11-09-2007 03:41 AM
Re: root cannot login from console
It is the /etc/securetty file as you all told me all along.
# cat /etc/securetty
console
#
# wc -m < /etc/securetty
9
#
There was a space trailing "console" which I did not see it with my eyes. I cleaned it out and retyped the word console and it works.
Thank you very much for all your help. I appreciate that so much.
Tuan
PS. Points will be assigned shortly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2007 05:07 AM
11-09-2007 05:07 AM
Re: root cannot login from console
Tuan