Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: Rolf Hauck <Rolf.Hauck@datenrevision.de>
To: wcoltters@yahoo.com
Subject: Re: Run a process with a different ID
Date: 1998/12/17	[thread overview]
Message-ID: <3678D571.4B10B5AA@datenrevision.de> (raw)
In-Reply-To: 758gh6$fob$1@nnrp1.dejanews.com

you could try the following as root:
echo "yourCommandLine" | su - DesiredUser

Hth
Rolf

wcoltters@yahoo.com schrieb:
> 
> Hi,
> 
> My problem is that I want to run a process
> in my alpha with an ID different from root
> (I'm root). But I don't know how to do that.
> I know how to do that in VMS but in DGUX
> I can't find the answer yet.
> I saw a not very elegant way used by Oracle.
> They have an script in
> /sbin/init.d/oracle
> that executes (with root permission) every
> time the machine boots. In this script
> there is a line that runs the same script
> with oracle ID in this way:
> # rsh -l oracle7 /sbin/init.d/oracle
> So, the script is run like oracle7 and not
> like root. They use the utility provided
> with tcp/ip. But what if I'm in state 2 so
> I don't have or I don't want the tcp/ip
> connectivity???? :-)
> My question is: Is there any other
> way to do this? How?
> 
> Any help would be very appreciated.
> 
> Thanks in advance.
> 
> Wilson G. Coltters
> wcoltters@yahoo.com
> 
> -----------== Posted via Deja News, The Discussion Network ==----------
> http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own



      reply	other threads:[~1998-12-17  5:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-12-16  5:00 Run a process with a different ID wcoltters
1998-12-17  5:00 ` Rolf Hauck [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox