From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <98271550819625.tru64-unix-managers.marc@archive.invalid> From: "Jackie R. Miller" Date: Wed, 21 Feb 2001 00:28:35 +0000 To: tru64-unix-managers Subject: su - -c "script" X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=98271550819625 MIME-Version: 1 Content-Type: multipart/mixed; boundary="------_=_NextPart_001_01C09B9D.3A6CBF30" 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 - -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 su - <username> -c "script"

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        =         =        =20
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
        =         =         =         =         =         =        =20


------_=_NextPart_001_01C09B9D.3A6CBF30--