Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Jul 1995 13:41:55 -0500 (CDT)
From:      Guy Helmer <ghelmer@alpha.dsu.edu>
To:        John Lind <john@starfire.mn.org>
Cc:        FreeBSD questions <questions@FreeBSD.org>
Subject:   Re: su username -c cmd or su1 functionality
Message-ID:  <Pine.OSF.3.91.950707134049.17950A-100000@alpha.dsu.edu>
In-Reply-To: <199507071626.LAA07413@starfire.mn.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.OSF.3.91.950707134049.17950A-100000>