tags:

views:

15

answers:

1

Hi, On unix I am working as say user X, and I want to login to user Y from X. Now issue is that I dont want Y's cshrc (or any other login script) to run while I login to his user name. I vaguely remember there used to be a way to do so, something like execute "su" command with some option for not running login scripts, but none of them is working. Can somebody please help ??

Thanks.

+1  A: 

Running this

su - user_y

will login as user y and run the startup scripts, whatever they are. Running this

su user_y

will make you "become" user y but will not run the startup scripts. This is not cshell specific.

MJB

related questions