*BSD News Article 52221


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.sprintlink.net!malgudi.oar.net!news.erinet.com!inquo!inquo.net!pete
From: pete@inquo.net (Pete Kruckenberg)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: GNU su source?
Date: 29 Sep 1995 20:58:38 GMT
Organization: inQuo Internet (801) 530-7160
Lines: 13
Distribution: world
Message-ID: <44hmlu$ofi@xymox.dsw.com>
NNTP-Posting-Host: inquo.net
X-Newsreader: TIN [version 1.2 PL2]

I'm curious where I might pick up the GNU version of su, which allows me 
to specify a shell command to be executed when su executes. The su that 
comes with FreeBSD 2.0.5R doesn't support this feature, whereas the one 
that comes with Linux (GNU su) allows a "-c" parameter.

If there is a way to su and execute a command with the current version of 
su, please let me know. I need to use this with INN1.4unoff2 to have it 
execute as user "news" instead of as root.

Pete Kruckenberg
pete@inquo.net