From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078712011511.tru64-unix-managers.marc@archive.invalid> From: ejensen5 () csc ! com Date: Mon, 08 Jun 1998 13:35:24 +0000 To: tru64-unix-managers Subject: su -c error in DU 4.0B X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078712011511 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