Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Sep 1995 18:13:05 +0200 (MET DST)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        hackers@FreeBSD.ORG
Subject:   Re: Change in behaviour of SU...
Message-ID:  <199509061613.SAA04550@uriah.heep.sax.de>
In-Reply-To: <199509060803.KAA03216@uriah.heep.sax.de> from "J Wunsch" at Sep 6, 95 10:03:03 am

next in thread | previous in thread | raw e-mail | index | archive | help
As J Wunsch wrote:
> 
> > > When you say "su root -c ls" you are saying, "as root, do '/bin/csh -c ls'".
> > > If you say "su root exit", you are saying, "as root, do '/bin/sh exit'".
> > 
> > OK, mea culpa. Not enough coffee, I should RTFS more.
> 
> j@bonnie 121% uname -rs
> FreeBSD 1.1.5.1(RELEASE)
> j@bonnie 122% su r -c id
> Password:
> uid=0(root) gid=0(wheel) groups=0(wheel)

It's back in CVS.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199509061613.SAA04550>