Mar 26, 2003 #1 JAFrank Technical User Nov 16, 2002 84 US Ok, I know I should know how to do this, but apparently there's a dead brain cell right there.... I need to run a program from the command line as su - can someone help me with the syntax? Thanks! Allen
Ok, I know I should know how to do this, but apparently there's a dead brain cell right there.... I need to run a program from the command line as su - can someone help me with the syntax? Thanks! Allen
Mar 26, 2003 1 #2 jmiturbe Technical User Feb 4, 2003 99 ES Hello, If you want to mantain your environment: su username -c comand_string and if you want the environment of the user you switch to: su - username -c command_string Take a look at the man pages for other available options or just post for additional info. Bye, jmiturbe Upvote 0 Downvote
Hello, If you want to mantain your environment: su username -c comand_string and if you want the environment of the user you switch to: su - username -c command_string Take a look at the man pages for other available options or just post for additional info. Bye, jmiturbe
Mar 26, 2003 Thread starter #3 JAFrank Technical User Nov 16, 2002 84 US Thank you, that was exactly what I needed. Have a star, on me! Allen Upvote 0 Downvote