Operating System - HP-UX
1748147 Members
3735 Online
108758 Solutions
New Discussion юеВ

root login at the console

 
SOLVED
Go to solution
Chrisl_2
Frequent Advisor

root login at the console

hpux 11.00 trusted system

Can I configure the system above for direct login of root at the console? Currently, I have to su. Of course I would like to keep the current config of su from every other location in doing so. TIA.
14 REPLIES 14
Jeff_Traigle
Honored Contributor

Re: root login at the console

/etc/securetty is the ticket. Enter "console" in that file and root will be allowed login via the console. See login(1) for reference.
--
Jeff Traigle
HGN
Honored Contributor

Re: root login at the console

Hi

Add the entry console in /etc/securetty
# cat /etc/securetty
console

Rgds

HGN
Chrisl_2
Frequent Advisor

Re: root login at the console

yeah, that's what I read, but I already have console in /etc/securetty. Does it have to be upper case or something? Does the file need some kind of format or structure? Permissions on the file are -rw-rw-r--.
Paul Sperry
Honored Contributor

Re: root login at the console

here's what I have.

# more /etc/securetty
console
# ll /etc/securetty
-rw-r--r-- 1 root sys 8 Nov 18 2002 /etc/securetty
Paul Sperry
Honored Contributor

Re: root login at the console

If this is a trusted system, and if you would have tried the wrong password, the root account may be disabled. To enable it again

/usr/lbin/modprpw -k root

Also does the root password have any special charaters in it? (#,@ etc)
Chrisl_2
Frequent Advisor

Re: root login at the console

The root account is not disabled. We do, however, have several special characters in it.
Paul Sperry
Honored Contributor
Solution

Re: root login at the console

There's the problem, certain characters cannot be used at the console I know @ and # can't be used but not sure of the others
Paul Sperry
Honored Contributor

Re: root login at the console

Just realized this is your first post.
Welcome to the forms.
Check out this post for more info about
special characters at the console.

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=998783
Chrisl_2
Frequent Advisor

Re: root login at the console

If the issue was special characters in root password, wouldn't they still be an issue when you su? (I'm too new here to change the root password, and test it :)). And thanks for the greeting!