From owner-freebsd-questions Fri Jul 7 11:42:16 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id LAA20083 for questions-outgoing; Fri, 7 Jul 1995 11:42:16 -0700 Received: from alpha.dsu.edu (ghelmer@alpha.dsu.edu [138.247.32.12]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id LAA20077 for ; Fri, 7 Jul 1995 11:42:15 -0700 Received: (from ghelmer@localhost) by alpha.dsu.edu (8.6.12/8.6.12) id NAA15382; Fri, 7 Jul 1995 13:41:55 -0500 Date: Fri, 7 Jul 1995 13:41:55 -0500 (CDT) From: Guy Helmer To: John Lind cc: FreeBSD questions Subject: Re: su username -c cmd or su1 functionality In-Reply-To: <199507071626.LAA07413@starfire.mn.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: questions-owner@FreeBSD.org Precedence: bulk On Fri, 7 Jul 1995, John Lind wrote: > In a FreeBSD 2.0 950322-SNAP system, how do I get the functionality > of the "su username -c cmd"? I want to start something from > rc.local but not rely on the program to have the correct > suid set up. You should be able to "echo cmd | su username", I believe. > John Lind, Starfire Consulting Services > E-mail: john@starfire.MN.ORG USnail: PO Box 17247, Mpls MN 55417 Hope this works, Guy Guy Helmer, Dakota State University Computing Services - ghelmer@alpha.dsu.edu Government cannot give to people what it does not first take away from people. - Kenneth W. Sollitt