I installed centos 5.5 on my vmware 8 recently and i am trying to add a new user on the system. I am unable to add the user unless i use su - option. I believe it has to do something with path not set properly.I updated the path and here is what it looks like /usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/uone/bin:/sbinI believe the command is in /sbin dir which is already a part of path. can any one suggest me what else i might be missing?
bash: adduser: command not found on centOS
shell;path
Try adding /usr/sbin to your path.