gentoo-asahi-releng/tools-hardened/desktop/passwd.sh
Devan Franchini b80e4e5ff8 tools-hardened/desktop: initial commit of hardened amd64 desktop
This is a revamping of the TinHat build, see

    http://opensource.dyc.edu/tinhat

Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2014-04-06 08:13:10 -04:00

26 lines
482 B
Bash
Executable file

#!/bin/bash -l
echo root:thuser | chpasswd
useradd -m thuser
gpasswd -a thuser disk
gpasswd -a thuser wheel
gpasswd -a thuser audio
gpasswd -a thuser video
gpasswd -a thuser floppy
gpasswd -a thuser tape
gpasswd -a thuser cdrom
gpasswd -a thuser cdrw
gpasswd -a thuser usb
gpasswd -a thuser games
gpasswd -a portage wheel
echo thuser:thuser | chpasswd
groupadd -g 9995 graudit
groupadd -g 9996 grslink
groupadd -g 9997 grasock
groupadd -g 9998 grcsock
groupadd -g 9999 grssock