Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Sep 1995 12:17:03 +0200 (MET DST)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        freebsd-hackers@freebsd.org (FreeBSD hackers)
Subject:   Re: Change in behaviour of SU...
Message-ID:  <199509051017.MAA01018@uriah.heep.sax.de>
In-Reply-To: <199509050315.WAA00460@bonkers.taronga.com> from "Peter da Silva" at Sep 4, 95 10:15:07 pm

next in thread | previous in thread | raw e-mail | index | archive | help
As Peter da Silva wrote:
> 
> In 1.1.5.1, the command "su" passed extra arguments to the shell. In 2.0.5,
> this is disabled. Howcome? I have several scripts that need to start various
> programs as particular users, so I've been using "su user -c command". What
> is the recommended alternative?

1.) re-import it from 1.1.5.1, or

2.) echo command | su user

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199509051017.MAA01018>