[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: Remote login



On Fri, 3 May 2002, Bill Andersen wrote:

->Karl L. Perason wrote:
->> One note about Bill's suggestion: su alone only gives you superuser
->> priveleges but leaves you in your own shell. If you want to become root,
->> you must do su - which causes you to become root in every aspect and
->> changes you to /root and gives you all the environment variables root
->> enjoys, including PATH, etc. As a normal user and if you only use su, you
->> won't have /usr/sbin in your PATH. If you su -, you will.
->
->TRUE!  And since I've already admitted to logging in as root WAY too
->often, I'll also have to admit I forgot about that.  That brought up
->this question: When I DO use my user account and simply "su" to make
->a quick change, why don't I run into more problems?  Well, looking at
->my user account's .profile, I find /usr/sbin in my PATH (and a few
->other things that probably shouldn't be there)
->
->Wow, and I'm giving out sys admin advice?  Venessa, remember, do as I
->say, not as I do :)
->
->Thanks Karl!
->
->Bill

uh... do as I say... That applies to more of us than might admit, no? I
regularly login on my second RH box as root into GNOME to burn CDs. What a
waste that is...

--
Karl Pearson
Senior Consulting DBA
Senior Consulting Unix/MS/Database Analyst
karlp ourldsfamily com
http://consulting.ourldsfamily.com
-------------------------------------

->
->
->
->_______________________________________________
->Redhat-install-list mailing list
->Redhat-install-list redhat com
->https://listman.redhat.com/mailman/listinfo/redhat-install-list
->





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]