FreeBSD 11 Development Desktop on Dell XPS13
Adding a User
To add a new user called newuser.
- pw groupadd newuser
- pw useradd -n newuser -c "Full Username" -g newuser -G "wheel operator video" -L standard -m -s /usr/local/bin/mksh
The first command adds a group which will serve as the login group for the new user for access priviledges. The second command adds the user as a member of the wheel, operator and video groups, using the standard login class which contains the English language locale. The new user will use the mksh shell and the home directory will be created automatically.