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
Received on Mon Jun 08 1998 - 18:40:27 NZST