From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078728412031.tru64-unix-managers.marc@archive.invalid> From: alf () northpower ! com ! au Date: Thu, 19 Nov 1998 06:57:17 +0000 To: tru64-unix-managers Subject: Problem with bash and su -c X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078728412031 Hi all, I have a problem with bash (GNU bash, version 2.02.1(1)-release (alphaev56-dec-osf4.0d)) on DU4.0D. What happens is when I use su - username -c "env" the .profile is not being read (hence enviroment variables aren't set up) . This worked fine under DU 4.0B but has stopped working under the new version (with patch set 2). Normal sh works fine. This bash is the latest off DEC's web site... I can get around this by doing the following su - username -c ". .profile;env" but this is a pain (I have a few scripts which I would have to change). Thanks... Alf.