i have server running linux ubuntu 12.04 lts
. use user named ubuntu.
recently tried install storm on server , created dedicated user storm purpose.
accidentally because of typo, realized different when switching ubuntu storm.
if switch using following command sudo su storm
, runs fine.
however if switch using sudo su - storm
, storm program won't started correctly. although both commands have brought me under storm user correctly.
anyone can me explain why? thanks.
t.e.
here's link describing difference between hyphen , no hyphen su. i'm guessing no-dash works because environment variables left alone.
Comments
Post a Comment