cancel
Showing results for 
Search instead for 
Did you mean: 

disabled root and adm accounts

SOLVED
Go to solution

disabled root and adm accounts

How do I enable root and adm account?
I am using Tru64 5.1B OS in a clustered env.

Thanks
GW
11 REPLIES
Johan Brusche
Honored Contributor
Solution

Re: disabled root and adm accounts


Please be more specific when posting a question, since on a default installation the root account is always enabled.

So what have you, or someone else done to disable it. Or.... are we talking C2 security here, and is it locked due to failed login attempts ??

Or did you mess with etc/passwd ?

__ Johan.

_JB_
Mic V.
Esteemed Contributor

Re: disabled root and adm accounts

Also, do you have root access of some sort? I'm assuming that you do, and what you mean is that you can't directly telnet, etc.

Mic
What kind of a name is 'Wolverine'?
Ravi_8
Honored Contributor

Re: disabled root and adm accounts

Hi,

root,adm accounts will be created and enabled during installation itself, if can't login as root using telnet open the file /etc/securettys and at the end of the file add the line 'ptys'. save and close the close, now you should be able to login as root remotely
never give up

Re: disabled root and adm accounts

The accounts were disabled due to failed login attempts. When I login as root or adm I get "Account is disabled. See Sys. Admin." and I never get a prompt. However, I can boot to single user mode.

Re: disabled root and adm accounts

I forgot to mention that I am using the console to login.
Johan Brusche
Honored Contributor

Re: disabled root and adm accounts


When in single user, run bcheckrc to mount at least /usr and /var.

export TERM=vt100
man edauth
man prpasswd

edauth -g root , will get you the root account parameters. The prpasswd manpage will help to understand the meaning of all the keywords in there. Probably have an u_lock in there without @-sign.

Below command is what you need then...

edauth -g root | sed 's;u_lock;u_lock@;' | edauth -s

Another keyword of importance is u_numunsuclog.

__ ;-) Johan.

_JB_
Eric van Dijken
Trusted Contributor

Re: disabled root and adm accounts

Did you try this:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=691639

That worked for me.
Watch, Think and Tinker.

Re: disabled root and adm accounts

I have other nodes in the complex with the same problem, do I have to run the same cmds on each node? or Will accessing dxacounts fix this problem?
Johan Brusche
Honored Contributor

Re: disabled root and adm accounts


If you still have multi-user root access on those systems then you can do the job via dxaccounts.

__ Johan

_JB_

Re: disabled root and adm accounts

Sorry for the dumb question, but how can I tell? I know NIS is not running.

Thanks

Re: disabled root and adm accounts

Solutions provided helped solve the problems