* su -c error in DU 4.0B
@ 1998-06-08 13:35 ejensen5
0 siblings, 0 replies; only message in thread
From: ejensen5 @ 1998-06-08 13:35 UTC (permalink / raw)
To: tru64-unix-managers
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1998-06-08 13:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-06-08 13:35 su -c error in DU 4.0B ejensen5
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox