From BCCD 3.0

Jump to: navigation, search

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.

  1. Become the root user:
    sudo su - root<ENTER>

  2. Create the user (replace billybob with the username you want):
    adduser billybob<ENTER>

  3. Become the user so you can set up SSH keys (replace billybob with the username):
    su - billybob<ENTER>

  4. Set up the SSH keys:
    cd .ssh<ENTER>
    cp authorized_keys<ENTER>

  5. 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>

Personal tools