0

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?

Holger Just
  • 49,152
  • 14
  • 106
  • 117
John
  • 1,825
  • 12
  • 32
  • 43

0 Answers0