From owner-freebsd-questions Thu May 2 13:47:01 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA24416 for questions-outgoing; Thu, 2 May 1996 13:47:01 -0700 (PDT) Received: from mistery.mcafee.com (jimd@mistery.mcafee.com [192.187.128.69]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id NAA24409 for ; Thu, 2 May 1996 13:46:58 -0700 (PDT) Received: (from jimd@localhost) by mistery.mcafee.com (8.6.11/8.6.9) id NAA02327; Thu, 2 May 1996 13:46:29 -0700 From: Jim Dennis Message-Id: <199605022046.NAA02327@mistery.mcafee.com> Subject: Re: Groups ; Setuid To: babbleon@mercury.interpath.com (Brian T. Schellenberger - Personal Account) Date: Thu, 2 May 1996 13:46:29 -0700 (PDT) Cc: freebsd-questions@freebsd.org In-Reply-To: <199605020519.BAA12169@mercury.interpath.com> from "Brian T. Schellenberger - Personal Account" at May 2, 96 01:19:34 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > > Ok, I first used BSD way back in 1981, but I've been wandering in the > land of the lost (sys5-ish systems) for many years now, and I don't > quite "get it" about permissions and BSD, so . . . > > > 1. I want to be able to su to root from my ID, but did not originally .... man su ; vi /etc/groups > > 2. I want to be able to setuid a "script" to root and have it jolly well .... Options: get sudo, man suidperl, write a C wrapper (about 10 lines which just does a system() to call your script) (note: the last one isn't anything like secure -- re: the others -- you mileage may vary) > > Sure, it's a security risk, but this is a home system; it just doesn't > need to be *that* secure. Or is there a better way to do this sort > of thing? > > -- > Brian T. Schellenberger, the Man from Babble-On. > > "Someday I'll get around to importing all the cool quotes from my other > account's .sig files." http://mercury.interpath.com/~babbleon > Jim Dennis, System Administrator, McAfee Associates