Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- useradd -m -g users -s /bin/bash cirrus #replace cirrus with desired username
- Groups # i find adding only the wheel and audio group will suffice, systemd does the rest ;)
- #Add the Group networkmanager
- groupadd networkmanager
- gpasswd -a cirrus audio //Direct access to sound hardware, for all sessions (requirement is imposed by both ALSA and OSS).
- gpasswd -a cirrus storage //Access to removable drives such as USB hard drives, flash/jump drives, MP3 players; enables the user to mount storage devices.
- gpasswd -a cirrus lp //Access to printer hardware; enables the user to manage print jobs.
- gpasswd -a cirrus network //Right to change network settings
- gpasswd -a cirrus networkmanager //Requirement for your user to connect wirelessly with NetworkManager.
- gpasswd -a cirrus optical //Access to optical devices such as CD and DVD drives.
- gpasswd -a cirrus power //Right to use Pm-utils (suspend, hibernate...) and power management controls.
- gpasswd -a cirrus scanner //Access to scanner hardware.
- gpasswd -a cirrus video //Access to video capture devices, 2D/3D hardware acceleration.
- gpasswd -a cirrus wheel //Administration group.
- #dont't forget to setup the user password ;)
- passwd cirrus
- #Enable Sudo for wheel group
- EDITOR=nano visudo
- #uncomment this Line
- %wheel ALL=(ALL) ALL
- #disable root account
- passwd -l root
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement