I have a user defined shell for CLI which i had set for some users. Is there a way to start a script for this user who has non-bash (or non-system specific) shell, while logging in.
I tried adding some code in /etc/profile
. no luck.
I tried putting some scripts in /etc/profile.d
. no luck.
In both the cases it is getting called for users who has only bash prompt.
Could anyone help me on this?