[WBEL-users] No chkconfig or ifconfig commands?

Terry Henderson trryhend at gmail.com
Sun Jul 16 06:38:24 CDT 2006


On 7/16/06, Doug Laidlaw <laidlaws at hotkey.net.au> wrote:
> Perhaps it is incorrect (I am using Mandriva) but I find that "su" makes me
> root in the directory I am in, while "su -" changes the directory to /root as
> well.  The last is not usually what I want.

"su -m"  will keep you in current directory but afford full path of root.
(Maybe that is what you usually want.)

>
> Doug.
>
> On Sun, 2 Jul 2006 04:11 am, khaqq wrote:
> > On Sat, 01 Jul 2006 05:26:53 -0500
> > Johnny Hughes <mailing-lists at hughesjr.com> wrote:
> >
> > (...)
> >
> > > so to become "root" with all variables set ....
> > >
> > > su -
> >
> > So the quick and dirty way to use "su -" each time you become root
> > is to add the following line in your user's .bashrc :
> >
> > alias su="su -"
> >
> > I'm not sure if there are unintended side effets, but it works for me.
> >
> > khaqq
> > _______________________________________________
> > Whitebox-users mailing list
> > Whitebox-users at beau.org
> > http://beau.org/mailman/listinfo/whitebox-users
>
> --
> The American Constitution guarantees the pursuit of happiness; it does not
> guarantee happiness.
>    - Unknown.
> _______________________________________________
> Whitebox-users mailing list
> Whitebox-users at beau.org
> http://beau.org/mailman/listinfo/whitebox-users
>


--
Registered Linux User 188099
                  <><


-- 
Registered Linux User 188099
                  <><


More information about the Whitebox-users mailing list