From BCCD 3.0
This page assumes you have a liberated version of the BCCD, say on a LittleFe unit.
When you create accounts under Linux, the contents of /etc/skel are copied into the new account by default; the BCCD works the same way. The bccd user is created this way, so by default when you create new accounts on the BCCD, those usernames also have the contents of /etc/skel copied to their new home directory. This can be a feature or a bug depending on your perspective. The instructions below describe how to work around that behavior if necessary. Placing the user in the "video" group allows use of /dev/nvidia* devices for CUDA. Use only lowercase letters in the username.
- Become the root user:
$ sudo su - root<ENTER>
- Create the user (replace billybob with the username you want):
# adduser billybob<ENTER>
- Become the user so you can set up SSH keys (replace billybob with the username):
# su - billybob<ENTER>
- Set up the SSH keys:
$ cd .ssh<ENTER>
$ cp id_rsa.pub authorized_keys<ENTER>
- Stop being the user:
If you don't want the user to have the contents of /etc/skel, you can remove them with this command (replace billybob with the username):
$ rm -rf ~billybob/*<ENTER>