Add user in Unix from command Line



I tried to add a new user using the command line commands "useradd" and
"adduser" but with no luck. The user names are added but i cannot login
into the system using the just created username and password. Whats
wrong?? y isint it working??
And also i wanted to know that when i login as a regular user and then
use "su" in the terminal and then as root in the terminal try to do
"adduser" command it says "bash command not found". why does this
happen. im a superuser in the terminal and y cant i execute the
"adduser" command.

And finally i would like to know if there is a way to manually add a
user in the centos remotely from the command line. This is very
important to me right now.

any advice is welcomed.

thanx in advance

.



Relevant Pages

  • Re: Add user in Unix from command Line
    ... "adduser" but with no luck. ... Adduser is just a link to useradd on RHEL/CentOS, ... It must be set before you can login. ... user in the centos remotely from the command line. ...
    (comp.os.linux.misc)
  • Group Policy applies to some users, but not others
    ... We used the 'adduser' utility from the resource kit to export the users from ... However, when we apply Group Policy to the users, be it at the domain level ... or OU level we are finding some very strange inconsistencies where some users ... I then logged on as a user in that OU and the Run command was still ...
    (microsoft.public.win2000.group_policy)
  • Re: Total newbie: Whats after installation?
    ... The command for this is "adduser". ... which should bring you into your Gnome interface if it's been installed ... Third, read the Handbook, live the Handbook, BE the Handbook. ...
    (freebsd-newbies)
  • [opensuse] Re: adding user on command line
    ... I thought it was adduser, ... adduser is an interactive perl script in Debian and its derivatives. ... command line options and configuration information in /etc/adduser.conf. ...
    (SuSE)
  • Re: /etc/X11/gdm/PostLogin/Default
    ... command, then all you need to do is alias the adduser command and wrap it in a ... script that can do any tasks you want. ... Doubt isn't the opposite of faith; it is an element of faith. ...
    (Fedora)