unable to logon using root id


 
Thread Tools Search this Thread
Operating Systems HP-UX unable to logon using root id
# 8  
Old 08-12-2008
Use the install/recovery CD/DVD. This will allow you to get the box booted in single-user mode and change file permissions. You may need to chroot.
# 9  
Old 08-12-2008
How did you go single user mode?
# 10  
Old 08-12-2008
These steps will get you booted in single-user from the install/recovery CD

Booting IA64 system from Install media to Recovery Shell
1) Insert the HP-UX 11iv1.6 DVD into in drive and power on the system
2) During the boot process, select the EFI Shell option, press enter.
3) Shell> edd30 on <<<-- enter
Look at the list of devices (displayed as fs0, fs1, etc.) and identify
DVD-ROM device entry.
E.g.: fs2 : Acpi(PNP0A03,0)/Pci(3|1)/Ata(Secondary,Master)/CDROM(Entry1)
4) Type device name at the prompt.
E.g. Shell>fs2: <<<-- enter (don't forget the colon)
5) Type install to start the HP-UX Boot Loader.
E.g. fs2:>install <<<-- enter
6) Select Recovery Shell option

Select
Run a Recovery Shell
Would you like to startup networking at this time/ [n] n
Loading the recovery commands
HP-UX SUPPORT MEDIA
WARNING: YOU ARE SUPERUSR !!
...
Press (return) to continue.
HP-UX Recovery Media Main Menu
s. Select a file
b. Reboot
l. Load a file
r. Recover an unbootable HP-UX system
x. Exit to shell

Pick r.

Loading Commands for Recovery
DEVICE FILE SPECIFICATION MENU
This menu is used to specify the path of the root file system.
When the information is correct, select "a".
INFORMATION TO VERIFY:
Device file used for '/' (ROOT) is (c#t#d#).
The hardware path to disk is (hw_path).

Select one of the following:
a. The above information is correct.
b. WRONG!! The device file used for '/' (ROOT) is incorrect.
m. Return to the HP-UX Recovery Menu.
x. Exit to shell.

Selection: a. (If information is correct).

HP-UX RECOVERY MENU
Select one of the following:
a. Mount the root disk and exit to a shell only.
b. Recover the bootlif/os partition.
c. Replace the kernel on the root file system
d. Both Options: b and c.
v. Read instructions about LVM Recovery (LVM RECOVERY).
m. Return to 'HP-UX Recovery Media Main Menu'.
x. Exit to shell.

Select a.
FILE SYSTEM CHECK MENU
The file system check '/sbin/fs/vxfs/fsck -y /dev/rdsk/(c#t#d#) will now be run.

Select one of the following:
a. Run fsck -y.
b. Prompt for the fsck run string on (c#t#d#s1lvm).
m. Return to the 'HP-UX Recovery Menu'.
Selection: a.
(Output of fsck)
Going to mount /dev/dsk/
file system clean - log replay is not required.
Mount /ROOT file system.
/sbin/fs/vxfs/mount /dev/dsk/ /ROOT.
Mount /ROOT/stand again.
/sbin/fs/hfs/mount -F hfs /dev/dsk/ /ROOT/stand.
The root disk has been mounted under /ROOT, if you want to chroot to this
directory type the commands:
loadfile chroot
chroot /ROOT /sbin/sh
# loadfile chroot
# chroot /ROOT /sbin/sh
# vgchange -a y vg00
# mount -a (to mount all the file systems).
# 11  
Old 08-12-2008
Otherwise, to just boot in single-user it is:

hpux -is

or

hpux -is /stand/vmunix

or, if your kernel is corrupt,

hpux -is /stand/vmunix.prev
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Unable to change password using root user

Hi, I tired changing password for mqm user in linux server with root user. But still I couldn't able to login mqm user with changed password. Can anyone please help on this. # passwd mqm Thanks, Anusha (4 Replies)
Discussion started by: Anusha M
4 Replies

2. AIX

Unable to su as root

Hi, I have logged in as normal user and unable to su - root, getting below error. 3004-307 You are not allowed to su to this account. 3004-501 Cannot su to "root" : Account is not accessible. I have checked and found below parameter as true. Another user can SU TO USER? ... (1 Reply)
Discussion started by: manoj.solaris
1 Replies

3. Solaris

Unable to switch back to root from user

Hi, I am new to Solaris and when i am trying to Switch to root login from user, system throws message saying permissions denied... Steps I Followed: Created a user and logged into that user by SU username tried to come back to root but system throws message "permissions denied" ... (7 Replies)
Discussion started by: VijaySolaris
7 Replies

4. UNIX for Advanced & Expert Users

unable to change the root password?

I tried to change the root password. but it shows the following error. passwd: Authentication token manipulation error passwd: password unchanged If I login as a normal user that time I'm able to change my (user) password. If I login as a ROOT then I'm not able to change the password root... (6 Replies)
Discussion started by: ungalnanban
6 Replies

5. Linux

Unable to login with root for more than 2 sessions

Hi, I am unable to login with root for more than 2 sessions. Plz help any thing need to updated? Suresh (2 Replies)
Discussion started by: suresh3566
2 Replies

6. SuSE

Unable to telnet (non-ssh) as root

Hi forum, I face a strange issue. I'm able to telnet as root with ssh. But I'm not able to telnet (non-ssh) as root to my Suse 10 machine. Can someone please point to significant files where I need to make changes for Suse 10 machine and resolve this issue. Thanks in advance. (2 Replies)
Discussion started by: anilgurwara
2 Replies

7. Solaris

Unable to login as a User or Root on one client

I am running 5.10 Generic_120011-14 Sunblade 1500 I have one client that was working fine in a training environment. Then this week the user is unable to login as the user that is created by default. The students do not have access to root to change system files or user accounts. This is... (11 Replies)
Discussion started by: deaconf19
11 Replies

8. HP-UX

Unable to change root password

Hi, Some how my root password expired for my hp_ux 10.20 machine and when i tried to change the password it displays file system full error how to resolve this issue At first it accepts newpassword and while saving it some where the problem is..... I am logging as root ........ ... (4 Replies)
Discussion started by: jagan_kalluri
4 Replies

9. Solaris

Unable to boot after an error in mirroring root

Hey Guys, I am using a Sun sparc server and had 6 disks. The root was loaded on c0t10d0s0 disk. I made an image or mirrored the root to another disk c0t9d0s0. But during the process instead of attaching submirrors to main mirror (d0 <--- d01 and d11) i attached d0 <--- d01 and... (1 Reply)
Discussion started by: rjcool
1 Replies

10. SCO

Non-Root Users Unable to Print

UnixWare 7, Release 7.1.3 We have a customer that has frequent issues with Non-Root users being unable to print. They are able to print w/o issues, but all of the sudden it stops working. The only workaround we have at this point is to reboot the server. It is happening weekly according to... (1 Reply)
Discussion started by: cfshd
1 Replies
Login or Register to Ask a Question