Hello, I find out that there is a way from putty to pass a command to your shell when trying to log in to a server and bypass .profile. Actually you can do this if you open a bash shell. The command to bypass .profile is the following:
Is there a way to disable this option? I mean not to allow a user to bypass his .profile even when he runs this command. Thank you in advance
Code:
ssh -t hostname "bash --noprofile"