Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* strange problems with the su command
@ 2001-09-19 15:36 Manfred Bürger
  2001-09-19 22:00 ` Art Rice
  0 siblings, 1 reply; 5+ messages in thread
From: Manfred Bürger @ 2001-09-19 15:36 UTC (permalink / raw)


hello;

i am using tru64 unix 4.0F and have the following problem with the su
command:
if i logged in as root i can switch to every other user; but if i
logged in as normal user and type "su - root" nothing happens! no
password request appears and no error message is displayed!!!
i have already checked the /etc/group file. the user from wich i would
switch to root is a memeber of the "system" group, so IMHO switching
to root should be allowed.
thank you in advance
manfred b�rger


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: strange problems with the su command
  2001-09-19 15:36 strange problems with the su command Manfred Bürger
@ 2001-09-19 22:00 ` Art Rice
  2001-09-20  7:23   ` Manfred Bürger
  2001-09-20  9:57   ` Martyn
  0 siblings, 2 replies; 5+ messages in thread
From: Art Rice @ 2001-09-19 22:00 UTC (permalink / raw)


Manfred B�rger wrote:

> hello;
> 
> i am using tru64 unix 4.0F and have the following problem with the su
> command:
> if i logged in as root i can switch to every other user; but if i
> logged in as normal user and type "su - root" nothing happens! no
> password request appears and no error message is displayed!!!
> i have already checked the /etc/group file. the user from wich i would
> switch to root is a memeber of the "system" group, so IMHO switching
> to root should be allowed.
> thank you in advance
> manfred b�rger
> 
thought the command was:
su         to Switch User to root and keep your ENV
su -      to Switch User to root and inherit root's ENV

No need to insert the user name 'root'

-- 
Art Rice
Tandem Admin
Special Data Processing Corp
----------------------------
All opinions are my own and do not reflect
the views of the above mentioned employer.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: strange problems with the su command
  2001-09-19 22:00 ` Art Rice
@ 2001-09-20  7:23   ` Manfred Bürger
  2001-09-20  8:33     ` Joerg Bruehe
  2001-09-20  9:57   ` Martyn
  1 sibling, 1 reply; 5+ messages in thread
From: Manfred Bürger @ 2001-09-20  7:23 UTC (permalink / raw)


> thought the command was:
> su         to Switch User to root and keep your ENV
> su -      to Switch User to root and inherit root's ENV

i tried both but nothing works!!!

i hope somebody can help me, it�s urgent.
thank you in advance

Manfred B�rger


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: strange problems with the su command
  2001-09-20  7:23   ` Manfred Bürger
@ 2001-09-20  8:33     ` Joerg Bruehe
  0 siblings, 0 replies; 5+ messages in thread
From: Joerg Bruehe @ 2001-09-20  8:33 UTC (permalink / raw)


Hi Manfred!

Manfred B�rger wrote:
> 
> > thought the command was:
> > su         to Switch User to root and keep your ENV
> > su -      to Switch User to root and inherit root's ENV
> 
> i tried both but nothing works!!!
> 
> i hope somebody can help me, it�s urgent.
> thank you in advance

On my system, 'su' works both with and without adding 'root'.

You might have a wrong 'su' in your path, or a corrupted binary.
Check your '$PATH', for me 'type su' returns 'su is /usr/bin/su'.

I use Tru64 version 4.0D (upgraded from 4.0B). Check:
  -rws--x--x  1  root  bin  24576  Dec 30 1997   /usr/bin/su 
The 'what' strings returned are
  $RCSfile: crt0.s,v ...
  $RCSfile: su.c,v ...
   Copyright ... University of California 
I have no 4.0F running (like you use), so I do not know the differences.


HTH, 
Joerg Bruehe

-- 
Joerg Bruehe, SQL Datenbanksysteme GmbH, Berlin, Germany
     (speaking only for himself)
mailto: joerg@sql.de


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: strange problems with the su command
  2001-09-19 22:00 ` Art Rice
  2001-09-20  7:23   ` Manfred Bürger
@ 2001-09-20  9:57   ` Martyn
  1 sibling, 0 replies; 5+ messages in thread
From: Martyn @ 2001-09-20  9:57 UTC (permalink / raw)


Art Rice <arice@myhouse.org> wrote in message news:<Iz8q7.911$Jn3.422120@paloalto-snr1.gtei.net>...
> Manfred B�rger wrote:
> 
> > hello;
> > 
> > i am using tru64 unix 4.0F and have the following problem with the su
> > command:
> > if i logged in as root i can switch to every other user; but if i
> > logged in as normal user and type "su - root" nothing happens! no
> > password request appears and no error message is displayed!!!
> > i have already checked the /etc/group file. the user from wich i would
> > switch to root is a memeber of the "system" group, so IMHO switching
> > to root should be allowed.
> > thank you in advance
> > manfred b�rger
> > 
> thought the command was:
> su         to Switch User to root and keep your ENV
> su -      to Switch User to root and inherit root's ENV
> 
> No need to insert the user name 'root'


Does your 'normal' user have a script/executable called su somewhere
in it's path which does something else ? Perhaps someone placed a
no-op program in there to stop 'normal' people using su ?


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-09-20  9:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-19 15:36 strange problems with the su command Manfred Bürger
2001-09-19 22:00 ` Art Rice
2001-09-20  7:23   ` Manfred Bürger
2001-09-20  8:33     ` Joerg Bruehe
2001-09-20  9:57   ` Martyn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox