Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Sep 1995 10:03:03 +0200 (MET DST)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        hackers@FreeBSD.ORG
Subject:   Re: Change in behaviour of SU...
Message-ID:  <199509060803.KAA03216@uriah.heep.sax.de>
In-Reply-To: <199509052051.WAA01505@keltia.frmug.fr.net> from "Ollivier Robert" at Sep 5, 95 10:51:04 pm

next in thread | previous in thread | raw e-mail | index | archive | help
As Ollivier Robert wrote:
> 
> It seems that Sean Eric Fagan said:
> > 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)

-- 
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?199509060803.KAA03216>