From: "Jackie R. Miller" <jmiller () whitworth ! edu>
To: tru64-unix-managers
Subject: su - <username> -c "script"
Date: Wed, 21 Feb 2001 00:28:35 +0000 [thread overview]
Message-ID: <98271550819625.tru64-unix-managers.marc@archive.invalid> (raw)
[-- 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 - <username> -c "script"</TITLE>
</HEAD>
<BODY>
<P><FONT FACE=3D"Lucida Sans">I need to run a script under an account =
other than root. Archives only list the </FONT>
<BR><FONT FACE=3D"Lucida Sans">su - <username> -c =
"script" </FONT>
<BR><FONT FACE=3D"Lucida Sans">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?</FONT></P>
<BR>
<P><B><FONT COLOR=3D"#008000" SIZE=3D6 FACE=3D"Edwardian Script =
ITC">Jackie R. Miller =
=
</FONT></B>=20
<BR><FONT COLOR=3D"#008000" SIZE=3D2 FACE=3D"Engravers MT">Dir. =
Information Systems =
Tru64 4.0d</FONT>
<BR><FONT COLOR=3D"#008000" SIZE=3D2 FACE=3D"Engravers MT">Whitworth =
College =
=
Unidata 5.1.22</FONT>
<BR><FONT COLOR=3D"#008000" SIZE=3D2 FACE=3D"Engravers =
MT">Voice (509) 777-4486 =
Colleague 16.461</FONT>
<BR><FONT COLOR=3D"#008000" SIZE=3D2 FACE=3D"Engravers =
MT">Fax =
(509) 777-3786 =
Benefactor 5.0</FONT>
<BR> =
=
=
=
=
=
=20
</P>
<BR>
</BODY>
</HTML>
------_=_NextPart_001_01C09B9D.3A6CBF30--
reply other threads:[~2001-02-21 0:28 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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