When I type into bash the following command
su -s /bin/bash as root, then no error occurs.
When I type
su -s /bin/bash -m [MyUserName], then I get the error:
As far as I could find out, it has something to do with the
/etc has permissions
/etc/bashrc has permissions
There are a lot of adives to change the permission to allow execution of that file. Question: Do I really need execution permission? Why? Or is there any other way to solve that problem?
There are some demands to give some more information. So here are they:
su -s /bin/bash -m [MyUserName] is the command I extracted from the whole command
su -s /bin/bash -m [MyUserName] /some/path/tomcat/bin/startup.sh -[some] [args].
First I thought, it has something to do with tomcat, but when I can type in
su -s /bin/bash -m [MyUserName] without the tomcat part then the problem is not the tomcat part. As far as I know, the whole command is used, to start command as a special user.