su: Unknown id: root


 
Thread Tools Search this Thread
Operating Systems HP-UX su: Unknown id: root
# 1  
Old 02-26-2010
su: Unknown id: root

Hi, I am facing an issue with HP-UX box.

Code:
-bash-4.0$ uname -a
HP-UX ctsintco B.11.31 U ia64 2795347624 unlimited-user license

When ever iam doing a su - root, it is showing the below error
Code:
-bash-4.0$ su - root
Password: 
su: Unknown id: root

Can you pls. let me know how to over come this problem ASAP. It is very urgent.

Thanks
Sri

Code:
-bash-4.0$ cat /etc/passwd
root:OT87/oHPMCP7g:0:3::/:/sbin/sh
daemon:*:1:5::/:/sbin/sh
bin:*:2:2::/usr/bin:/sbin/sh
sys:*:3:3::/:
adm:*:4:4::/var/adm:/sbin/sh
uucp:*:5:3::/var/spool/uucppublic:/usr/lbin/uucp/uucico
lp:*:9:7::/var/spool/lp:/sbin/sh
nuucp:*:11:11::/var/spool/uucppublic:/usr/lbin/uucp/uucico
hpdb:*:27:1:ALLBASE:/:/sbin/sh
nobody:*:-2:-2::/:
www:*:30:1::/:
smbnull:*:101:101:DO NOT USE OR DELETE - needed by Samba:/var/opt/samba/nologin:/bin/false
cimsrvr:*:102:102:WBEM Services:/var/opt/wbem:/sbin/sh
hpsmdb:*:103:20::/home/hpsmdb:/sbin/sh
sshd:*:104:103:sshd privsep:/var/empty:/bin/false
tftp:*:105:104:Trivial FTP user:/home/tftp:/usr/bin/false
sfmdb:*:106:20::/home/sfmdb:/sbin/sh
iwww:*:107:1::/home/iwww:/sbin/sh
owww:*:108:1::/home/owww:/sbin/sh
hpsmh:*:109:105:System Management Homepage:/var/opt/hpsmh:/sbin/sh
ntot2:/z6v4ggF15ct.:110:20::/home/ntot2:/sbin/sh
ne3suser:x:1002:1001::/home/ne3suser:/usr/bin/bash
cmd:x:1004:1001::/home/cmd:/usr/bin/bash
test:x:111:0::/home/test:/sbin/sh
-bash-4.0$


Last edited by Scott; 02-26-2010 at 07:41 AM.. Reason: Please use code tags
# 2  
Old 02-26-2010
What if you enter just
Code:
su -

# 3  
Old 02-26-2010
Have you just converted the system to "trusted" using SAM ?


Can you log in as "root" on the real System Console or Web Console ?


What is in /etc/nsswitch.conf ?

Last edited by methyl; 02-26-2010 at 10:45 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Find users with root UID or GID or root home

I need to list users in /etc/passwd with root's GID or UID or /root as home directory If we have these entries in /etc/passwd root:x:0:0:root:/root:/bin/bash rootgooduser1:x:100:100::/home/gooduser1:/bin/bash baduser1:x:0:300::/home/baduser1:/bin/bash... (6 Replies)
Discussion started by: anil510
6 Replies

2. SuSE

Auditors want more security with root to root access via ssh keys

I access over 100 SUSE SLES servers as root from my admin server, via ssh sessions using ssh keys, so I don't have to enter a password. My SUSE Admin server is setup in the following manner: 1) Remote root access is turned off in the sshd_config file. 2) I am the only user of this admin... (6 Replies)
Discussion started by: dvbell
6 Replies

3. Solaris

Migration of system having UFS root FS with zones root to ZFS root FS

Hi All After downloading ZFS documentation from oracle site, I am able to successfully migrate UFS root FS without zones to ZFS root FS. But in case of UFS root file system with zones , I am successfully able to migrate global zone to zfs root file system but zone are still in UFS root file... (2 Replies)
Discussion started by: sb200
2 Replies

4. Solaris

Lost Root Password on VXVM Encapsulated Root Disk

Hi All Hope it's okay to post on this sub-forum, couldn't find a better place I've got a 480R running solaris 8 with veritas volume manager managing all filesystems, including an encapsulated root disk (I believe the root disk is encapsulated as one of the root mirror disks has an entry under... (1 Reply)
Discussion started by: sunnyd76
1 Replies

5. UNIX for Dummies Questions & Answers

How to allow access to some commands having root privleges to be run bu non root user

hi i am new to unix and i have abig task. i have to \run particular commands having root privileges from a non root user. i know sudo is one of the way but i need sum other approach kindly help Thanks (5 Replies)
Discussion started by: suryashikha
5 Replies

6. Solaris

PING - Unknown host 127.0.0.1, Unknown host localhost - Solaris 10

Hello, I have a problem - I created a chrooted jail for one user. When I'm logged in as root, everything work fine, but when I'm logged in as a chrooted user - I have many problems: 1. When I execute the command ping, I get weird results: bash-3.00$ usr/sbin/ping localhost ... (4 Replies)
Discussion started by: Przemek
4 Replies

7. AIX

Can't login root account due to can't find root shell

Hi, yesterday, I changed root's shell in /etc/passwd, cause a mistake then I can not log in root account (can't find correct shell). I attempted to log in single-mode, however, it prompted for single-mode's password then I type root's password but still can not log in. I'm using AIX 5L version 5.2... (2 Replies)
Discussion started by: neikel
2 Replies

8. UNIX for Dummies Questions & Answers

unknown root password

hello, i've found at work an old Sun Ultra 10 box, with SunOS 5.9 operating system. I want to put into use this machine (particularly for training) . offcourse , the root password is unknown , as this is a very old machine which was not in use for long time... :confused: is there a way to... (1 Reply)
Discussion started by: paraaduma
1 Replies

9. UNIX for Dummies Questions & Answers

Run non-root script as root with non-root environment

All, I want to run a non-root script as the root user with non-root environment variables with crontab. The non-root user would have environment variables for database access such as Oracle or Sybase. The root user does not have the Oracle or Sybase enviroment variables. I thought you could do... (2 Replies)
Discussion started by: bubba112557
2 Replies
Login or Register to Ask a Question