Locked History Actions


User Management HOWTO

Add a new account

Create a user account that requires ssh authentication for login (enter full name when prompted):

sudo adduser --disabled-password <username>

Store the new user's public key and set permissions appropriately:

sudo mkdir -p ~<username>/.ssh
sudo nano ~<username>/.ssh/authorized_keys
sudo chown -R <username>:<username> ~<username>
sudo chmod 700 ~<username>/.ssh
sudo chmod 600 ~<username>/.ssh/authorized_keys

If the new user should have write access under /data/sas/:

sudo gpasswd -a <username> bossdata

If the new user needs access to private wiki pages, create an account with a username like PAnteater:

sudo -u www-data moin --config-dir=/etc/moin/ account create --name <username> --email <email> --password <initialpw>

Next, edit /etc/moin/wiki.py and add the new username to the acl_rights_before definition. Finally, restart the wiki:

sudo apache2ctl restart

and tell them to sign in and change their password password.

Remove an account

sudo userdel panteater