ref: aa6e00143a552cb9d990cee2241008d353066520
parent: 5f392fec7dd509cf62d55e3b53faf6675f32f8de
author: mkf <mkf@cloud9p.org>
date: Mon Sep 23 03:59:10 EDT 2024
newuser: if password is random, print it
--- a/newuser
+++ b/newuser
@@ -54,6 +54,7 @@
if (~ $#* 1) {
pass=`{fortune /lib/dict/pgwindex | awk '{ print $1 }'}
pass=($pass `{fortune /lib/dict/pgwindex | awk '{ print $1 }'})
+ echo password: $pass
newu $1 $pass
}