tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Effective user id
@ 1998-10-26 18:15 Zack Ellis
  0 siblings, 0 replies; 2+ messages in thread
From: Zack Ellis @ 1998-10-26 18:15 UTC (permalink / raw)
  To: tru64-unix-managers

Thanks for such a rapid response!

In particular.
Skeate, Scott B <scott.b.skeate@lmco.com>
Balaji Chandrasekar <digital@astro.ocis.temple.edu>
Salvador Ramirez <sram@profc.udec.CL>


Here are the suggestions:

su - oracle << eof
sqldba lmode=t << eof1
connect internal
shutdown (or startup)
exit
eof1
eof

su - <username> -c <script to run>


Original message:
 Dear managers,
> 
> Is there a way to change your effective user id without using su? Using
> su within a script bounces you out to a prompt.
> 
> I need to execute a database shutdown command, as root, but you must be
> oracle for it to run without a password prompt.
> 
> This is run from within a Korn shell script.
> 
> Thanks in advance

^ permalink raw reply	[flat|nested] 2+ messages in thread
* Effective user ID
@ 1998-10-26 18:02 Zack Ellis
  0 siblings, 0 replies; 2+ messages in thread
From: Zack Ellis @ 1998-10-26 18:02 UTC (permalink / raw)
  To: tru64-unix-managers

Dear managers,

Is there a way to change your effective user id without using su? Using
su within a script bounces you out to a prompt.

I need to execute a database shutdown command, as root, but you must be
oracle for it to run without a password prompt.

This is run from within a Korn shell script.

Thanks in advance

Zack Ellis
Home care concepts of America
zellis@hccanet.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1998-10-26 18:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-10-26 18:15 Effective user id Zack Ellis
  -- strict thread matches above, loose matches on Subject: below --
1998-10-26 18:02 Effective user ID Zack Ellis

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