Add our changed script
This commit is contained in:
parent
49d571a73f
commit
002cefff09
8
makeuser
8
makeuser
|
@ -38,11 +38,13 @@ case $1 in
|
|||
echo "Users password: $newpw"
|
||||
|
||||
printf "adding ssh pubkey\n"
|
||||
sudo mkdir /home/$1/.ssh/
|
||||
printf "%s\n" "$3" | sudo tee "/home/$1/.ssh/authorized_keys"
|
||||
sudo chown -R $1 /home/$1
|
||||
|
||||
printf "\nannouncing new user on mastodon\n"
|
||||
echo "Welcome new user ~$1!" | toot post
|
||||
sudo ln -s /home/julian/README.md /home/$1/README.md
|
||||
sudo ln -s /home/g1n/README.md /home/$1/README.md
|
||||
sudo mkdir /repos/$1
|
||||
sudo chown $1 /repos/$1
|
||||
|
||||
echo "fix sorting in /etc/passwd"
|
||||
sudo pwck -s
|
||||
|
|
|
@ -1,48 +0,0 @@
|
|||
To: newtoemail
|
||||
Subject: welcome to tilde.team!
|
||||
|
||||
hey ~newusername,
|
||||
|
||||
welcome to tilde.team!
|
||||
|
||||
your new account has been established. you can ssh into tilde.team with
|
||||
the ssh key you supplied on registration.
|
||||
|
||||
your password is "newpassword". please change it when you log in for
|
||||
the first time. the password is used for imap/smtp auth, not shell login,
|
||||
which is set to only use ssh key authentication.
|
||||
|
||||
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!
|
||||
|
||||
your ~/public_html directory is served at https://tilde.team/~newusername/
|
||||
(you can also use https://newusername.tilde.team). see https://tilde.wiki/?page=tildepages
|
||||
for more info.
|
||||
|
||||
check out our wiki at https://tilde.wiki/ for more information (and
|
||||
maybe help us write a new wiki article:)
|
||||
|
||||
our irc is tilde.chat, an irc network connecting several
|
||||
tilde servers. see our wiki article (https://tilde.team/wiki/?page=irc)
|
||||
or https://tilde.chat site for information on how to connect from elsewhere.
|
||||
|
||||
note that when you first log in, you'll enter a byobu session, which is a terminal
|
||||
multiplexer (see https://superuser.com/a/423397/866501 for info) with weechat and
|
||||
mutt already open for you. if you're familiar with tmux, you can use it as usual,
|
||||
replacing ctrl-b with ctrl-a. otherwise, you can disable the autolaunch with the
|
||||
byobu-disable command. feel free to holler on the mailing list or on irc if you
|
||||
have any questions or need help!
|
||||
|
||||
the expected ssh fingerprint is SHA256:R3qNfKIF3IiXhKCbFX6rCKl73yzexi9Wodsow6XFres
|
||||
and can also be found in the sshfp dns records. enable VerifyHostKeyDNS
|
||||
in your ~/.ssh/config to check against that.
|
||||
|
||||
we look forward to seeing you around! welcome to the ~team!
|
||||
|
||||
~tilde.team admins
|
||||
|
Loading…
Reference in New Issue