Re: VNC Questions

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



Am 01.02.2010 20:59, schrieb Warren Michelsen:
> Yes. In fact, I just tried again (after su'ing to root). I tried to
> create a new user using the 'useradd' command and was told the
> command was not found. I was logged in via ssh at the time, does that
> make a difference? It'd be strange if it did...
>
> Last login: Mon Feb  1 12:42:53 2010 from 10.0.1.225
> [warren@supermicro ~]$ su
> Password:
> [root@supermicro warren]# useradd mickey
> bash: useradd: command not found
> [root@supermicro warren]#

It makes a difference if you run "su" or "su -".
"su -" gives you a login shell with root's environment hence having all 
admin tools in $PATH.

Rainer

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux