tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* su - <username> -c "script"
@ 2001-02-21  0:28 Jackie R. Miller
  0 siblings, 0 replies; only message in thread
From: Jackie R. Miller @ 2001-02-21  0:28 UTC (permalink / raw)
  To: tru64-unix-managers

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: multipart/mixed; boundary="------_=_NextPart_001_01C09B9D.3A6CBF30", Size: 3086 bytes --]

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C09B9D.3A6CBF30
Content-Type: text/plain;
	charset="iso-8859-1"

I need to run a script under an account other than root.  Archives only list
the 
su - <username> -c "script" 
command.  My problem is that the su command does not recognize the -c option
on my system and the su man pages also do not reference a -c option.  I am
using ksh under TRU64 4.0D on an Alpha 4100.  Any suggestions?


Jackie R. Miller 			
Dir. Information Systems		Tru64 4.0d
Whitworth College			Unidata 5.1.22
Voice	(509) 777-4486		Colleague 16.461
Fax		(509) 777-3786		Benefactor 5.0
							



------_=_NextPart_001_01C09B9D.3A6CBF30
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>su - &lt;username&gt; -c &quot;script&quot;</TITLE>
</HEAD>
<BODY>

<P><FONT FACE=3D"Lucida Sans">I need to run a script under an account =
other than root.&nbsp; Archives only list the </FONT>
<BR><FONT FACE=3D"Lucida Sans">su - &lt;username&gt; -c =
&quot;script&quot; </FONT>
<BR><FONT FACE=3D"Lucida Sans">command.&nbsp; My problem is that the su =
command does not recognize the -c option on my system and the su man =
pages also do not reference a -c option.&nbsp; I am using ksh under =
TRU64 4.0D on an Alpha 4100.&nbsp; Any suggestions?</FONT></P>
<BR>

<P><B><FONT COLOR=3D"#008000" SIZE=3D6 FACE=3D"Edwardian Script =
ITC">Jackie R. Miller &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT></B>=20
<BR><FONT COLOR=3D"#008000" SIZE=3D2 FACE=3D"Engravers MT">Dir. =
Information Systems&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Tru64 4.0d</FONT>
<BR><FONT COLOR=3D"#008000" SIZE=3D2 FACE=3D"Engravers MT">Whitworth =
College&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Unidata 5.1.22</FONT>
<BR><FONT COLOR=3D"#008000" SIZE=3D2 FACE=3D"Engravers =
MT">Voice&nbsp;&nbsp; (509) 777-4486&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Colleague 16.461</FONT>
<BR><FONT COLOR=3D"#008000" SIZE=3D2 FACE=3D"Engravers =
MT">Fax&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (509) 777-3786&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Benefactor 5.0</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
</P>
<BR>

</BODY>
</HTML>
------_=_NextPart_001_01C09B9D.3A6CBF30--

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-02-21  0:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-02-21  0:28 su - <username> -c "script" Jackie R. Miller

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