How to : Add user on FreeBSD server from shell
adduser -s* (s - silent, not a verbose o/p).Use option ``-verbose'' if you want to see more warnings and questionsor try to repair bugs.The following are the info to be input while adding an user.Enter username [^[a-z0-9_][a-z0-9_-]*$]: perfectpairEnter full name []: shelluserEnter shell bash csh date no sh tcsh [sh]: shEnter home directory (full path) [/home/perfectpair]: /hsphere/local/home/perfectpair/Uid [1000]:Enter login class: default []:Login group perfectpair [perfectpair]:Login group is ``perfectpair''. Invite perfectpair into other groups: guest no[no]: noEnter password []:Enter password again []:This is the info displayed after the user is created successfully.Name:**** perfectpairPassword: ****Fullname: shelluserUid:***** 1000Gid:***** 1000 (perfectpair)Class:Groups:** perfectpairHOME:**** /hsphere/local/home/perfectpair/Shell:*** /bin/shOK? (y/n) [y]: yAdded user ``perfectpair''Add another user? (y/n) [y]: n[root@cp home]#
|