Using pw to add a group and user in FreeBSD

Using «textdrive» as an example

pw groupadd textdrive
pw useradd textdrive -m -c "Main Textdrive account" -d /home/textdrive -s /bin/tcsh -G textdrive -k /usr/share/skel/

Then set the password:

passwd textdrive

Leave a comment

Please be polite and on topic. Your e-mail will never be published.

You must be logged in to post a comment.