Net Llama wrote: > --- Jay Nugent <[EMAIL PROTECTED]> wrote: > >>Greetings, >> >>On Mon, 14 Jan 2002, burns wrote: >> >> >>>On January 14, 2002 09:13 pm, Jerry McBride wrote: >>> >>>>If you're running a linux box as root and you execute a root only >>>>executable and it comes back with... >>>> >>>>error: this must be run in root mode... >>>> >>>Are you in a root session? Or are you only SU? >>> >>>If the latter, try logging into an actual root session. >>> >> Exactly. You're really only HALF-root if you just do an 'su' or an >>'su >>root'. You need to use 'su - root' in order to attain all of root's >>profile, priveledges, and permissions... >> > > Funny, i've never had any such problems becoming root with a simple 'su'. >
My installation of RedHat 7.0 requires 'su -' to get root's path. Executing 'su -' puts you in /root and you get full root paths and access. Every Caldera distro I've used (2.3, 2.4, 3.1) didn't require that, simply 'su'. As Collins said, it varies by distro. Since you've used RedHat, I'm surprised you haven't run into this. I haven't seen where including 'root' in the su command is required, on either AIX or linux. AFAIK a user name on the su command is only required if you want to switch to a non-root user. Tim _______________________________________________ Linux-users mailing list Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users