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
  • 52,918
  • 14
  • 115
  • 123
John
  • 2,035
  • 13
  • 35
  • 44

0 Answers0