* Can't su at startup with enhanced security?
@ 1996-01-10 5:00 Malcolm Dunnett
1996-01-18 5:00 ` Ena Jensen
0 siblings, 1 reply; 2+ messages in thread
From: Malcolm Dunnett @ 1996-01-10 5:00 UTC (permalink / raw)
I have a couple of programs (inn and an http server) which are started
up via files in the rc3.d directory. These files do an "su" to the
appropriate user ( eg news or www ) so that the daemon runs under those
users rather than root.
When I enable enhanced security this stops working. Instead I get an
error on the console about "can't su from rc script".
It strikes me this is a *reduction* in security if I can't start these
processes under a non privileged user.
Could someone explain what the proper way is to start programs at system
startup under a user other than root ( or point me to the right manual
if this is documented somewhere ).
Thanks in advance.
--
=============================================================================
Malcolm Dunnett Malaspina University-College Email: dunnett@mala.bc.ca
Computer Services Nanaimo, B.C. CANADA V9R 5S5 Tel: (604)755-8738
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Can't su at startup with enhanced security?
1996-01-10 5:00 Can't su at startup with enhanced security? Malcolm Dunnett
@ 1996-01-18 5:00 ` Ena Jensen
0 siblings, 0 replies; 2+ messages in thread
From: Ena Jensen @ 1996-01-18 5:00 UTC (permalink / raw)
In article <1996Jan10.135707@malad2.mala.bc.ca>,
dunnett@mala.bc.ca (Malcolm Dunnett) wrote:
>
> When I enable enhanced security this stops working. Instead I get an
>error on the console about "can't su from rc script".
>
This is a known problem, you have to get OSF3.2 patch 56 from DEC.
Cut from the 56 patch.txt:
PROBLEM: (HPXQB2BBA,MCPM35402)
********
Fixes the following C2 security-related problems:
- If the passwd entry for a user was unavailable for any reason (for example,
the passwd entry was distributed via NIS instead of the local /etc/passwd
and the NIS server was unavailable) login(1) or xdm would core dump.
- An su command could not be executed from one of the scripts in the rc.d
directories.
--
Ena Jensen Datacentralen A/S
Oldenburg Alle 1
ena@dc.dk DK-2630 Taastrup
--
Ena Jensen Datacentralen A/S
Oldenburg Alle 1
ena@dc.dk DK-2630 Taastrup
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1996-01-18 5:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-01-10 5:00 Can't su at startup with enhanced security? Malcolm Dunnett
1996-01-18 5:00 ` Ena Jensen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox