  | |  | "su " command isn 't working properly on RH 7.3? | "su " command isn 't working properly on RH 7.3? 2002-07-10 - By nugs munkee
Back
Thanks everyone, I will try that tonight when I get home from work and report back. I didn 't know that switch existed, but it sounds like that should work. Thanks again. Anne Possoz <anne.possoz@(protected) > wrote: > Hi everyone, I am a Linux newbie so bare with me. I > have recently installed RH7.3 and I am using KDE > 3.0. I don 't like to login as root so I usually use > the su command if I need to run a privliged command. > However it doesn 't seem to be working for me. For > instance when I login to X and try to run the > command fdisk using su. It returns "Command not > found " just as it does with an unprivilaged user. > Now when I completley logout and login as root, the > commands work. Does anyone know what would be > causing this? I have gotten acustomed to using "su " > in previous versions of Mandrake, and would like to > know if anyone knows what is going wrong. Thanks
This is how you will lear the difference between "su " and "su - ".
When you just type su, you are still in the same directory, with the same environment variables, etc. When you type "su - " you really become root as if you had loggged as root.
Anne
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ Valhalla-list mailing list Valhalla-list@(protected) https://listman.redhat.com/mailman/listinfo/valhalla-list
-- ---- ---- ---- ---- ---- ----- Do You Yahoo!? New! SBC Yahoo! Dial - 1st Month Free & unlimited access <P > Thanks everyone, I will try that tonight when I get home from work and report back. I didn 't know that switch existed, but it sounds like that should work. Thanks again. <P > <B > <I >Anne Possoz <anne.possoz@(protected)> </I > </B > wrote: <BLOCKQUOTE style= "PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid " >> Hi everyone, I am a Linux newbie so bare with me. I <BR >> have recently installed RH7.3 and I am using KDE <BR >> 3.0. I don 't like to login as root so I usually use <BR >> the su command if I need to run a privliged command. <BR >> However it doesn 't seem to be working for me. For <BR >> instance when I login to X and try to run the <BR >> command fdisk using su. It returns "Command not <BR >> found " just as it does with an unprivilaged user. <BR >> Now when I completley logout and login as root, the <BR >> commands work. Does anyone know what would be <BR >> causing this? I have gotten acustomed to using "su " <BR >> in previous versions of Mandrake, and would like to <BR >> know if anyone knows what is going wrong. Thanks <BR > <BR >This is how you will lear the difference between "su " and "su - ". <BR > <BR >When you just type su, you are still in the same directory, with <BR >! the same environment variables, etc. When you type "su - " you <BR >really become root as if you had loggged as root. <BR > <BR >Anne <BR > <BR > <BR > <BR >__ ____ ____ ____ ____ ____ ____ ____ ____ ____ <BR >Valhalla-list mailing list <BR >Valhalla-list@(protected) <BR >https://listman.redhat.com/mailman/listinfo/valhalla-list </BLOCKQUOTE > <p > <br > <hr size=1 > <b >Do You Yahoo!? </b > <br > New! <a href= "
http://pa.yahoo.com/
*
http://rd.yahoo.com/sbcyahoo/consumer/evt=640/
*
http://sbc.yahoo.com
" target= "_blank " >SBC Yahoo! Dial </a > - 1st Month Free & unlimited access
|
|
 |