*BSD News Article 65137


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!newshost.telstra.net!act.news.telstra.net!psgrain!newsfeed.internetmci.com!gatech!news.mathworks.com!fu-berlin.de!news.belwue.de!news.uni-stuttgart.de!uni-regensburg.de!newsserv.uni-bayreuth.de!news.tu-chemnitz.de!irz401!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Is there a free bsd equiv to SVR4.x newgrp?
Date: 6 Apr 1996 14:31:04 GMT
Organization: Private BSD site, Dresden
Lines: 31
Message-ID: <4k5v78$167@uriah.heep.sax.de>
References: <4jhrcp$9nk@ns.hicom.net> <4k1j8v$krb@uriah.heep.sax.de> <3165F700.15FB7483@progroup.com>
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

Craig Shaver <craig@progroup.com> writes:

(BSD doesn't need newgroup(1).)

> I am not particularly pleased with this, since I think it could facilitate a
> security problem.  I would rather normal users have to use a newgrp.  Just a
> thought.

The users don't get anything they could not get with the ancient
newgroup.  You're certainly the only one who complains about this.  I
once had to work in two different groups on a SysV derivative, and be
assured, this is a real mess.

> Under Solaris 2.x I can do something like:
> 
> 	su news -c /usr/local/etc/rc.news

This works with FreeBSD >= 2.1R || FreeBSD 1.1.5.1R.

	echo /usr/local/etc/rc.news | su news

works for all systems, including older ones.

Using a separate crontab for user `news' is IMHO better anyway.

-- 
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. ;-)