tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: ejensen5 () csc ! com
To: tru64-unix-managers
Subject: su -c error in DU 4.0B
Date: Mon, 08 Jun 1998 13:35:24 +0000	[thread overview]
Message-ID: <96078712011511.tru64-unix-managers.marc@archive.invalid> (raw)


Erlier discussions in this group concluded that the su -c switch is still
working in the DU 4.0 releases, but has disappeared from the man page.

But this little script hangs my terminal:

    su - -c who
    print hit a key to Return
    read DUMMY

It works if I type the 3 statements by hand, but inside a script I get
problems, something gets wrong with the input/output descriptor. The who
command is not what I want to do, it is only an example.

It works too if I leave the first - switch, but unfortunately it is a must
to execute the .profile in the menu system I'm developing.

Ideas ?

--
Ena Jensen

                 reply	other threads:[~1998-06-08 13:35 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