[CentOS] VNC Questions

Rainer Traut tr.ml at gmx.de
Tue Feb 2 12:50:47 UTC 2010

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
> [warren at supermicro ~]$ su
> Password:
> [root at supermicro warren]# useradd mickey
> bash: useradd: command not found
> [root at 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.


More information about the CentOS mailing list