Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.bhp.com.au!mel.dit.csiro.au!munnari.OZ.AU!news.ecn.uoknor.edu!paladin.american.edu!gatech!newsfeed.internetmci.com!in1.uu.net!fu-berlin.de!news.dfn.de!news.uni-leipzig.de!news1.urz.tu-dresden.de!irz401!uriah.heep!news From: j@uriah.heep.sax.de (J Wunsch) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: No su -c Date: 13 Apr 1996 18:00:24 GMT Organization: Private BSD site, Dresden Lines: 19 Message-ID: <4koq3o$kjb@uriah.heep.sax.de> References: <4kogpf$290@falstaf.demon.co.uk> Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) NNTP-Posting-Host: localhost.heep.sax.de Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Newsreader: knews 0.9.3 robin@falstaf.demon.co.uk (Robin Birch) writes: > FreeBSD 2.1 doesn't appear to allow su login -c <something>. I know there > is a way of haveing the same effect by using echo but I can't remember > how to do it. j@uriah 630% su root -c id Password: uid=0(root) gid=10 groups=10 j@uriah 631% echo id | su root Password: uid=0(root) gid=10 groups=10 -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)