projects
/
fai-configs.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
make workstations get gui emacs, others have non-gui
[fai-configs.git]
/
scripts
/
LPCON
/
00_adduser.sh
1
#!/bin/bash
2
# add a demo user account
3
if
!
$ROOTCMD
getent passwd libreplanet
;
then
4
$ROOTCMD
adduser
--gecos
"LibrePlanet Conference User"
libreplanet
5
# echo "demo:$ROOTPW" | $ROOTCMD chpasswd --encrypted
6
$ROOTCMD
usermod
-p
"
$ROOTPW
"
libreplanet
7
fi