Operating System - HP-UX
1846763 Members
4425 Online
110256 Solutions
New Discussion

euid bin not root [SAM problem]

 
Ishmael Lesolame_1
Occasional Advisor

euid bin not root [SAM problem]

Hi all!

My client can not load some sam areas (eg. USERS).

This is in a K580 running HP-UX 10.20 with September '99 patches.
When I open some areas, I get the following errors;

"Sorry, you must have superuser (root) privilege to access/enter this area of
SAM."

And yet I am root and not running restricted SAM. When I F7 to the prompt, I
get a $ prompt and $whoami returns bin and $id returns uid=0(root) gid=3(sys)
euid=2(bin)

If I try to open other available areas I get the following errors;

SAM internal error

The error handler has gotten the error code -91827364 of type FATAL with the
associated strings:
A system error occurred. open(2) failed. SAM was attempting to open file
/var/sam/TMeBAAa02984. open(2) set errno = 13.

Any Ideas guys???

I tried reconfiguring SAM, it made no difference. Removing/reinstalling it
aborts, with the following errors;

...

 Installing fileset ?OS-Core.C-KRN,r=B.10.20? because one or more other
selected filesets depend on it (1 of 14).
 Installing fileset ?OS-Core.KERN-RUN,r=B.10.20? because one or more
other selected filesets depend on it (2 of 14).
NOTE: Building a new kernel based on template file ?/stand/system? Compiling
/stand/build/conf.c...
Loading the kernel...
/usr/ccs/bin/ld: Unsatisfied symbols:
fss_cap_state (data)
minfree (data)
maxqueuetime (data)
kern_vm_scan_rate (data)
large_ncargs_enabled (data)
desfree (data) lotsfree (data)
kern_vm_pct (data)
/usr/ccs/bin/ld: (Warning) Long Branch Stub inserted for ?BL $call_trap,0? in
/usr/conf/lib/libhp-ux.a(asm_rv.o). Stub kills r1 (possibly incorrect).
*** Error exit code 1
Stop.
config: make did an exit(1)
config failure.
ERROR: The command ?/usr/sbin/mk_kernel?, which is used to rebuild
the kernel, has failed. Because kernel-related filesets were installed, this
command must be executed by ?swinstall?, without failures, before the load can
continue. Check the above output for details about the failure.
NOTE: The Install Phase has suspended. Check the above output for
reasons.


 Aborting the Install Phase.

======= 01/18/00 11:10:22 SAST END install AGENT SESSION (Aborted)
(pid_35) (jobid=pula-0056)
3 REPLIES 3
Simon Waters_2
Occasional Advisor

Re: euid bin not root [SAM problem]

Check that the password file entry for root is okay, and before bin.
Alan Riggs_1
Regular Advisor

Re: euid bin not root [SAM problem]

Hello Ishmael.

I think Simon is on the right track, but just in case that does not solve your
problem please also check the permissions on /usr/sbin/sam. It may have the
suid bit set. the permissions should be:
-r-xr-xr-x 1 bin bin
Ishmael Lesolame_1
Occasional Advisor

Re: euid bin not root [SAM problem]

passwd file and sam permissions seem to be okay.
I have attached a text file with a quick summary of the system. Hope it helps.


Ish