From ae511036b98c034999babc24f6cece1218c9bbdb Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Fri, 3 Aug 2018 00:53:24 -0400 Subject: [PATCH] fix conflicting info on user creation --- wiki/pages/administration.md | 55 ++++++++++++++++++++---------------- 1 file changed, 30 insertions(+), 25 deletions(-) diff --git a/wiki/pages/administration.md b/wiki/pages/administration.md index 00be42d..fdf3dc5 100644 --- a/wiki/pages/administration.md +++ b/wiki/pages/administration.md @@ -3,7 +3,7 @@ author: ~ben published: false title: administration description: ~team admin guide -category: +category: - main --- @@ -13,53 +13,58 @@ category: ## adding users +1. generate a random password (12-20 characters, no spaces) + 1. create a new user account: ```bash sudo adduser newusername ``` -use the default password `tilde` -1. su newusername and then copy the ssh key into ~/.ssh/authorized_keys +1. add their ssh pubkey: +```bash +echo "ssh pubkey from their signup email" | sudo tee /home/newusername/.ssh/authorized_keys +``` -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 - -generate a random password and drop it in the placeholder below. (and don't forget to replace their username too) +1. drop the requested username and generated password in the placeholder below. reply all so that other admins will know that it's been handled. welcome mail template: ``` -hey ~[[username]], +hey ~newusername, welcome to tilde.team! -your new account has been established. you can ssh into tilde.team with +your new account has been established. you can ssh into tilde.team with the ssh key you supplied on registration. your password is "[[password]]". please change it when you log in for -the first time. +the first time. the password is used for imap/smtp auth, not shell login, +which is set to only use ssh key authentication. -to get started, type motd at the command prompt to see a few ways to +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 +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 -https://tilde.team/~[[username]]/ -(you can also use https://[[username]].tilde.team) +also, your ~/public_html directory is served at +https://tilde.team/~newusername/ +(you can also use https://newusername.tilde.team) -check out our wiki at https://tilde.team/wiki for more information (and +check out our wiki at https://tilde.team/wiki/ for more information (and maybe help us write a new wiki article:) -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. -we also have a webclient at https://irc.tilde.team that you can -register for by running the webirc command from a shell session. +our irc is tilde.chat, an irc network connecting several +tilde servers. the `chat` command on your ~team shell will open up +weechat with some nice default configs and plugins. +see our wiki article (https://tilde.team/wiki/?page=irc) +or https://tilde.chat site for information on how to connect from elsewhere. +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!