Help: "su" for root doesn't work

Help: "su" for root doesn't work

Post by Nuno Ferreira dos Sant » Fri, 15 Dec 1995 04:00:00



Hi!

I have the following problem:
in a DECstation running Ultrix 4.3 whose administration I recently started,
"su" stopped working. I can "su" to my username and everything goes fine, but
when I "su" (or "su -", or "su -f") to become root, the "su" process becames
idle ("ps" reports idle with raised priority, "I<" ).

After a shutdown everything was OK again, but only for some time (overnight).
I have checked the integrity of the "su" binary and a bunch of other possible
problems but haven't found the answer yet...

Please help me! What could be wrong with this system ?!?

Thank you very much for your answers (if you prefer to answer by email, I'll
post a summary of your suggestions afterwards).

Nuno.

--------------------------------------------------------------------------------
     Nuno Ferreira dos Santos     |  Grupo de Sistemas e Servicos Telematicos

   Telf. : 3100 305   Sala: 436   |      Sistemas e Computadores (Lisboa)
--------------------------------------------------------------------------------

 
 
 

Help: "su" for root doesn't work

Post by Juergen Schroed » Wed, 20 Dec 1995 04:00:00



: "su" stopped working. I can "su" to my username and everything goes fine, but
: when I "su" (or "su -", or "su -f") to become root, the "su" process becames

1. the permissions ok? -rws--x--x
2. the user from which you want to become su root has to be in the group
   0 (system)

Juergen

 
 
 

Help: "su" for root doesn't work

Post by Lauri Aal » Fri, 22 Dec 1995 04:00:00


1) Check that /bin/su is suid root.

2) Check that your account is in group 0, ie. wheel.

--

 
 
 

1. Why doesn't echo "text" 'command' "more text" work?

                 ^                                        ^
Wrong quotes, should be -
   echo "You have" `grep Subject: /usr/spool/mail/me | wc -l` "messages."
or -
   echo "You have `grep Subject: /usr/spool/mail/me | wc -l` messages."

But, another problem is, if you've no mail, /usr/spool/mail/me does not
exist, leading grep to say:
   grep: can't open /usr/spool/mail/me
Wc will still report 0.

You might try -
   sh -c 'echo "You have `grep 2>/dev/null Subject: /usr/spool/mail/me | wc -l` messages."'

Hope this helps.

2. List of commands..

3. What's up with 'User Friendly'?

4. Path as "su" doesn't equal path as root or as login user

5. Sendmail 8.6.9

6. FTP works, but "ls" or "dir" doesn't ???

7. AlphaPC 164UX with 21164

8. "Login" and "su" issue with root password

9. Difference between "su" and "su -" ?

10. option "root=" doesn't work with devfs device names

11. """"""""My SoundBlast 16 pnp isn't up yet""""""""""""

12. KDE 2.2.2 can't use "smbclient" or "su"