That should do what you want.Code:su - username
If that isn't what you want let me know.
Hi, I am trying to figure out how to su to a certain user but have it read that users .bash_profile. In other words. If I am root and want to change to joe ( su joe ), I want it to read joe's .bash_profile. The reason for this is all the users have a menu that pops up when they log in. My user name and root do not have this menu. I hope that makes sense. Thanks.
That should do what you want.Code:su - username
If that isn't what you want let me know.
Perfect! Thanks pwrhouse.
Bookmarks