site/wiki/pages/administration.md

92 lines
2.6 KiB
Markdown
Raw Normal View History

2018-06-10 01:16:31 +00:00
---
author: ~ben
published: false
title: administration
description: ~team admin guide
2018-06-10 01:16:31 +00:00
category:
- main
---
# administration
---
## adding users
1. create a new user account:
```bash
sudo adduser newusername
```
use the default password `tilde`
2018-07-06 13:14:06 +00:00
1. su newusername and then copy the ssh key into ~/.ssh/authorized_keys
2018-06-10 01:16:31 +00:00
2018-07-06 13:14:06 +00:00
1. reply all to their email (so that sudoers will know that the account creation is done) with their account information and encourage them to hop onto irc/#meta to meet the community
2018-06-10 01:16:31 +00:00
2018-07-23 07:24:54 +00:00
generate a random password and drop it in the placeholder below. (and don't forget to replace their username too)
2018-07-06 13:14:06 +00:00
welcome mail template:
```
hey ~[[username]],
welcome to tilde.team!
your new account has been established. you can ssh into tilde.team with
the ssh key you supplied on registration.
2018-07-23 07:24:54 +00:00
your password is "[[password]]". please change it when you log in for
the first time.
2018-07-06 13:14:06 +00:00
to get started, type motd at the command prompt to see a few ways to
get started. have fun!
the greatest value of tilde.team is not the services provided by the
server, but rather the interesting and welcoming community built by its
users. this is possible because of people like you who choose to make
this a great place. the best way you can help tilde.team is by working
to support a great system culture. chat on irc; build cool programs and
share them with others; focus on learning, and help others learn; be a
good example for others; have fun!
also, your ~/public_html directory is served at
2018-07-23 07:24:54 +00:00
https://tilde.team/~[[username]]/
2018-07-06 13:14:06 +00:00
(you can also use https://[[username]].tilde.team)
check out our wiki at https://tilde.team/wiki for more information (and
maybe help us write a new wiki article:)
2018-07-23 07:24:54 +00:00
our irc is at https://tilde.chat, an irc network connecting several
tilde servers. see our wiki article (https://tilde.team/wiki/?page=irc)
or the tilde.chat site for information on how to connect.
2018-07-06 13:14:06 +00:00
we also have a webclient at https://irc.tilde.team that you can
register for by running the webirc command from a shell session.
we look forward to seeing you around! welcome to the ~team!
~tilde.team admins
```
2018-06-10 01:16:31 +00:00
2018-06-11 01:37:24 +00:00
2018-06-10 01:16:31 +00:00
---
## backups
tilde.team uses [tarsnap](https://tarsnap.com) for backups and is configured to save 12 hourly backups, 7 daily backups, 6 weekly backups, and 2 years' worth of monthly backups.
to see a list of the backups:
```bash
sudo tarsnap --list-archives
```
to restore a backup:
```bash
2018-06-11 01:37:24 +00:00
tarsnap -x -f name-of-backup
2018-06-10 01:16:31 +00:00
```
we keep backups of:
* `/home`
* `/etc`
* `/var` (excluding `/var/log`)
see the [tarsnap documentation](https://www.tarsnap.com/usage.html) for more information.