useradd

To add a user to the system:

  1. Issue the useradd command to create a locked user account:

    useradd <username>
    
  2. Unlock the account by issuing the passwd command to assign a password and set password aging guidelines:

    passwd <username>
    
posted @ 2012-03-25 19:05  greencolor  阅读(163)  评论(0编辑  收藏  举报