- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: SU problem
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2000 11:35 AM
09-26-2000 11:35 AM
SU problem
please help
thanx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2000 11:51 AM
09-26-2000 11:51 AM
Re: SU problem
My only guess is that your current id is no longer in the passwd file, as when you su (to root) an entry must be added to the su log in /var/adm stating
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2000 01:33 PM
09-26-2000 01:33 PM
Re: SU problem
Iam root and when i try to "su" to other id's like oracle etc i get this error.The root is present in passwd file .
thanx in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2000 02:06 PM
09-26-2000 02:06 PM
Re: SU problem
I would check the password and group files and fix any errors found. Try the following:
# /usr/sbin/pwck
# /usr/sbin/grpck
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2000 04:42 PM
09-26-2000 04:42 PM
Re: SU problem
I'm going to make some assumptions about your system, based on things I know about su:
1) You're running 10.20
2) Your system is trusted.
Based on these assumptions, and knowing how su operates, I believe that su is attemtping to do a getprpwuid() call, which is failing, and thus generates the error message you're seeing. One possible cause of this is a damaged or missing entry for root in the Trusted Computing Database (TCB). For example:
# cd /
[root@ooodarn]/
# cd /tcb/files/auth/r
[root@ooodarn]/tcb/files/auth/r
# su bal
[root@ooodarn]/tcb/files/auth/r
# exit
[root@ooodarn]/tcb/files/auth/r
# mv root root.orig
[root@ooodarn]/tcb/files/auth/r
# su bal
su: Your own ID is unknown.
[root@ooodarn]/tcb/files/auth/r
Here's an example of a good /tcb/files/auth/r/root entry:
root:u_name=root:u_id#0:
:u_pwd=J7wCIvL3jn4IA:
:u_bootauth:u_auditid#0:
:u_auditflag#1:
:u_pswduser=root:u_suclog#970015107:u_lock@:chkent:
I suspect that when you recover or repair this file, your su problem will be solved.
Regards,
Bruce Laughlin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2000 06:41 PM
09-26-2000 06:41 PM
Re: SU problem
That is not the case here, as the file root under tcb is not changed.but the error is same.
any suggestion would be great help.
Thanx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2000 01:36 AM
09-27-2000 01:36 AM
Re: SU problem
can you send us a copy of your /tcb/files/auth/r/root file so we can see if it looks ok (you can remove encrypted password string if you like for security reasons) ?
And a copy of your passwd file (as its a trusted system no password strings here) ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2000 01:38 AM
09-27-2000 01:38 AM
Re: SU problem
Here are some links to similar errors and solutions; One of them should be your case, I hope!
http://europe-support2.external.hp.com/cki/bin/doc.pl/sid=711f1c6a15c17a3b6a/screen=ckiDisplayDocument?docId=200000024631896
http://europe-support2.external.hp.com/cki/bin/doc.pl/sid=711f1c6a15c17a3b6a/screen=ckiDisplayDocument?docId=200000015248058
http://europe-support2.external.hp.com/cki/bin/doc.pl/sid=711f1c6a15c17a3b6a/screen=ckiDisplayDocument?docId=200000024602421
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2000 04:47 AM
09-27-2000 04:47 AM
Re: SU problem
I'm reasonably sure that there is something wrong with your /tcb/files/auth/r/root file, we just don't know what it is yet :-)
I noticed in my previous post, some of the characters did not show up in my message. Specifically, each of the lines in the file, except the last, should be terminated with a backslash which is the line continuation character. If the line is not terminated this way, or is otherwise corrupted (i.e. missing characters, extra characters), su will fail in the same way.
Hope this helps,
Bruce Laughlin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2000 02:06 PM
09-28-2000 02:06 PM
Re: SU problem
The password file and root file is attached with this message.Please view them.
regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2000 07:57 PM
09-29-2000 07:57 PM
Re: SU problem
1) I notice that you have lots of users with uid 0 in your password file. When you say you're executing su as root, do you mean that you're logged in as the root user, or one of these other so-called root users?
2) If not logged in as root, are you su'ing to root from another user?
3) Check the permissions on /usr/bin/su, it should be 4555, owner root, group bin:
# ll /usr/bin/su
-r-sr-xr-x 1 root bin 20480 Jun 10 1996 /usr/bin/su
If this doesn't give a clue as to what's going on, then I'm out of ideas, for now...
Bruce
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2000 06:28 AM
10-01-2000 06:28 AM
Re: SU problem
see what this reports .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2000 06:51 AM
10-01-2000 06:51 AM
Re: SU problem
roots home directory is /usr1/root , is this correct ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2000 02:22 AM
10-02-2000 02:22 AM
Re: SU problem
Trace your login flow on the server. Do you use any IBBS control S/W or audit S/W. I guess sometime back Citi started implementing audit control S/W(Forget the exact application name). I guess your are part of Citicorp-Bombay. As per my past experiences with Citicorp HP systems they have their own su written. Also check and make sure "su" file path is the standard as per HP-UX. I had good experience with Citicorp audit software while supporting the said citicorp countries from Bahrain. Mail me at vincentef@hotmail.com if you want any help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2000 03:16 AM
10-02-2000 03:16 AM
Re: SU problem
The following could be your problem -
When you created oracle id on your system it assigned a Authentication number. The tcb file of oracle will have that number stored. Once you remove the same your problem should be sorted out.
The entry in your tcb file will look like this
:u_pw_admin_num#197
I have faced this problem a number of times.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2000 10:51 PM
10-02-2000 10:51 PM
Re: SU problem
Thanx for the help. The tcb database was corrupted .we had to rebuid it .
authck did help me to track the error.