LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Is it possible to make "su -" mandatory? (https://www.linuxquestions.org/questions/linux-software-2/is-it-possible-to-make-su-mandatory-637085/)

Rush_898 04-22-2008 01:34 PM

Is it possible to make "su -" mandatory?
 
So we have two users who su to "root", and there are some properties in teh root profile that need to be constant, but one user does not remember "su -" to get the env as well. Is it possible to make it so this user has to use "su" in this way? So that if they try su without - it will do it anyway?

Thanks.

pljvaldez 04-22-2008 01:36 PM

You could probably create an alias in the profile for su = "su -".


All times are GMT -5. The time now is 11:07 PM.