*BSD News Article 52240


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.sprintlink.net!in1.uu.net!polstra!not-for-mail
From: jdp@polstra.com (John Polstra)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: GNU su source?
Date: 30 Sep 1995 06:27:17 -0700
Organization: Polstra & Co., Seattle, WA
Lines: 10
Message-ID: <44jgjl$s6l@seattle.polstra.com>
References: <44hmlu$ofi@xymox.dsw.com>
NNTP-Posting-Host: seattle.polstra.com

In article <44hmlu$ofi@xymox.dsw.com>, Pete Kruckenberg <pete@inquo.net> wrote:
> 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.

echo <command> | su news
-- 
   John Polstra                                       jdp@polstra.com
   Polstra & Co., Inc.                        Seattle, Washington USA
   "Self-knowledge is always bad news."                 -- John Barth