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>
This commit is contained in:
Devan Franchini 2014-04-06 08:12:19 -04:00 committed by Anthony G. Basile
parent 1c585a9f2b
commit b80e4e5ff8
93 changed files with 21658 additions and 0 deletions

View file

@ -0,0 +1,25 @@
#!/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