I do not have another account with access to sam. I am able to log on with another user at the console howerver, I am not able to su -. I also tried to boot into single-user mode and change my root password which was successful. On reboot, the root account was still disabled.
Obvious question - sorry - but, can you run SAM from single user as root? <p>Mike<br><a href=mailto:michael.j.lacey@ntlworld.com>michael.j.lacey@ntlworld.com</a><br><a href=
A bit of a longshot but login as another user. Try the su command followed by password. Then try running sam. If this runs you should be able to reactivate root login.
I tried but SAM will not run from single-user. I also tried to login as another user and the su command followed by the password. It still says the account is disabled. I can run SAM as a user but I do not have the privleges to add or remove users or groups.
Kaos -- are you running a "trusted system"? <p>Mike<br><a href=mailto:michael.j.lacey@ntlworld.com>michael.j.lacey@ntlworld.com</a><br><a href=
Hi Kaos,<br><br>A Trusted System is a way of running your HP box, it gives a higher degree of security than the standard way.<br><br>I asked because, when we converted to a trusted system, I began having trouble with the root login becoming disabled.<br><br>Unfortunately I'm not in the office tomorrow, and I don't have an HPUX computer at home. If you're still having trouble when I get back in the office (thu, sorry) I'll dig around and find out some stuff for you. <p>Mike<br><a href=mailto:michael.j.lacey@ntlworld.com>michael.j.lacey@ntlworld.com</a><br><a href=
Kaos1,<br><br> after hunting through some man pages... I found this in <FONT FACE=monospace>man 1 login</font>:<br><br><font color=#00CC00>On a trusted system, login always allows user root to log in on the console unless /etc/securetty exists and does not contain console.</font><br><br>It also stated that the administrative lock could be set on that user account or the terminals involved..<br><br>So it is worth checking if a /etc/securetty exists and reading it to see if a <FONT FACE=monospace>console</font> entry is in there. If it isn't then you may be a bit stuffed!<br><br>Another problem (which would be worse) is that on our systems at least /etc/securetty is read-only, requiring root privilages...<br><br>It might be worth searching the FAQs on hpsearch.com.<br><br>Good Luck!<br>Loon
The box was setup as a standard load. So I believe that it is not a trusted system. Also, I have an /etc/securetty file that needs root privileges to open or change. I search the HP faqs for anything on the root account becoming disabled and found nothing. I believe I'm stuck. Again, I appriciate any help you could give.
Thanks
You can tell very quickly if your HP is a "trusted" system by looking at the /etc/passwd file. If the /etc/passwd file contains encrypted passwords, the sytem is NOT trusted. If ALL the passwd fields are "*" this indicates that the system has been converted to a "trusted" system. The actual encrypted passwds are located in /tcb/files/auth/...
Another thing you could try if you have a trusted system (use crowe's way to see if you have a trusted system or not by looking in /etc/passwd file), is to edit the /tcb/files/auth/r/root file. You will see a line similar to this :
u_unsuctty=pts/tb:u_numunsuclog#1:u_lock:chkent:
Add a @ sign after the u_lock, so that the line looks like the following :
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.