Article View: news.software.nntp
Article #50127Re: If only the wheel group can su to root
From: Jeremy
Date: Thu, 25 Jan 2001 07:21
Date: Thu, 25 Jan 2001 07:21
17 lines
1420 bytes
1420 bytes
Rebecca Ore <rebecca@ogoense.net> wrote: > Okay, that *was* how the news user was set up in FreeBSD originally, > so I would have to su to root, then su to the news user. What I do > now is log in remotely as rebecca. Then I su to news, not root. I su to news via root, with a shell alias not entirely unlike: alias news="su -m root -c 'su -m news -c \"env ZDOTDIR=$HOME zsh\"'" This gets me a shell as news, but my own shell startup files and such. That's the FreeBSD version; its much shorter on Solaris, where it works without the env nonsense. FreeBSD's su didn't seem to preserve that. -- Jeremy | jeremy@exit109.com
Technical Details
Message-ID:
<980407279.203248@news.netscum.dk>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!supernews.google.com!sn-xit-02!supernews.com!saloon!newsbastardReferences:
<m37l3mip9i.fsf@pyrophore.ogoense.net> <m3d7ddbef2.fsf@pyrophore.ogoense.net> <980370575.595912@news.netscum.dk> <m366j4yyf3.fsf@pyrophore.ogoense.net>Show Full Headers
Complete Article Headers
Message-ID: <980407279.203248@news.netscum.dk> Subject: Re: If only the wheel group can su to root Date: Thu, 25 Jan 2001 07:21:19 +0000 From: Jeremy <jeremy@exit109.com> References: <m37l3mip9i.fsf@pyrophore.ogoense.net> <m3d7ddbef2.fsf@pyrophore.ogoense.net> <980370575.595912@news.netscum.dk> <m366j4yyf3.fsf@pyrophore.ogoense.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!supernews.google.com!sn-xit-02!supernews.com!saloon!newsbastard Newsgroups: news.software.nntp Organization: There Is No Organization Lines: 16 X-Newsreader: trn 4.0-test73 (May 24, 2000) X-Meow: Meow