final launch

This commit is contained in:
fosslinux 2019-03-01 22:42:58 +00:00
parent 2547188d27
commit b2168235b1
8 changed files with 65 additions and 8 deletions

BIN
.makeuser.swp Normal file

Binary file not shown.

3
Makefile Normal file
View File

@ -0,0 +1,3 @@
all:
stow -S -d bin -t /usr/local/bin
stow -S -d email -t /var/aussie/emails

2
bin/chat Executable file
View File

@ -0,0 +1,2 @@
#!/bin/sh
weechat -r "/set irc.look.temporary_servers on; /connect irc://$(whoami)@localhost/#meta,#aussie"

7
bin/makeuser Executable file
View File

@ -0,0 +1,7 @@
#!/bin/bash
pw=$(pwgen -1B 10)
pwcrypt=$(perl -e "print crypt('${pw}', 'sa');")
useradd -m -g 100 -p ${pwcrypt} -s /bin/bash $1 || exit 1
echo "$3" | tee /home/$1/.ssh/authorized_keys
sed -e "s/USERNAME/$1/g" -e "s/PASSWORD/${pw}" /var/aussie/emails/email.tmpl | sendmail $1@aussies.space $2 fosslinux@aussies.space

22
email/signup.tmpl Normal file
View File

@ -0,0 +1,22 @@
hi ~USERNAME,
welcome to aussies.space, your friendly australian tilde!
we're really glad to have you here.
your initial password is PASSWORD. when you log in for the first time, please
change it by running `passwd`. to login, simply connect via ssh to
USERNAME@aussies.space.
please check out the code of conduct if you haven't already and also the FAQ if
you have any questions. also, if possible, you may like to join our IRC
channel. you can join by running `chat` on aussies.space itself or connecting
to irc.tilde.chat/6697 and joining #aussie.
check out the motd if you want to know how to get started.
also, thank you for being part of some of the first users! there may be a few
little bugs that i need to iron out. please ping me on IRC or email me at
fosslinux@aussies.space if you find any issues.
~fosslinux

View File

@ -1,7 +0,0 @@
#!/bin/bash
pw=$(pwgen -1B 10)
pwcrypt=$(perl -e "print crypt('${pw}', 'sa');")
useradd -m -g 100 -p $pwcrypt -s /bin/bash $1 || exit 1
echo "$3" | tee /home/$1/.ssh/authorized_keys

30
pkglist
View File

@ -1,22 +1,42 @@
alpine
apt-transport-https
automake
bash
binwalk
build-essential
certbot
clang
cmake
cvs
dash
debhelper
devscripts
dovecot-imapd
dovecot-sieve
dnsutils
efingerd
emacs
etckeeper
fakeroot
finger
fish
g++
gcc
ghc
git
gnutls-bin
gnutls-dev
golang
irssi
irssi-scripts
jed
joe
libgnutls30
libwrap0-dev
make
mercurial
mutt
openjdk-8-jre-headless
postfix
pkg-config
python
@ -30,8 +50,18 @@ python-pip
python-setuptools
python-virtualenv
pwgen
openbsd-inetd
ranger
redis
rspamd
ruby
rustc
sqlite3
subversion
tilde
valgrind
virtualenv
weechat-curses
weechat-plugins
ytalk
zsh

View File

@ -1,2 +1,2 @@
bbj
gophernicus