Dec 5, 2002 #1 Pacifica Technical User Nov 23, 2002 13 DE Solaris9 Is there a way to get a user's .profile file to run when you su to the user?
Dec 5, 2002 Thread starter #2 Pacifica Technical User Nov 23, 2002 13 DE I looked at the previous post and a suggestion is to use : su - user name but I couldn't get this to work on Solaris maybe I'm not understanding the syntax Upvote 0 Downvote
I looked at the previous post and a suggestion is to use : su - user name but I couldn't get this to work on Solaris maybe I'm not understanding the syntax
Dec 5, 2002 #3 KenCunningham Technical User Mar 20, 2001 8,475 GB su - <username> should work. Can you echo your $PATH once you've su'd and check it against the one in .profile? Cheers. Upvote 0 Downvote
su - <username> should work. Can you echo your $PATH once you've su'd and check it against the one in .profile? Cheers.