Advertisement
cirrus

Archlinux instal pt2

Apr 28th, 2013
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.34 KB | None | 0 0
  1. useradd -m -g users -s /bin/bash cirrus   #replace cirrus with desired username
  2. Groups # i find adding only the wheel and audio group will suffice, systemd does the rest ;)
  3.  
  4. #Add the Group networkmanager
  5. groupadd networkmanager
  6.  
  7. gpasswd -a cirrus audio         //Direct access to sound hardware, for all sessions (requirement is imposed by both ALSA and OSS).
  8. 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.
  9. gpasswd -a cirrus lp            //Access to printer hardware; enables the user to manage print jobs.
  10. gpasswd -a cirrus network           //Right to change network settings         
  11. gpasswd -a cirrus networkmanager        //Requirement for your user to connect wirelessly with NetworkManager.
  12. gpasswd -a cirrus optical           //Access to optical devices such as CD and DVD drives.
  13. gpasswd -a cirrus power         //Right to use Pm-utils (suspend, hibernate...) and power management controls.
  14. gpasswd -a cirrus scanner           //Access to scanner hardware.
  15. gpasswd -a cirrus video         //Access to video capture devices, 2D/3D hardware acceleration.
  16. gpasswd -a cirrus wheel         //Administration group.
  17.  
  18. #dont't forget to setup the user password ;)
  19. passwd cirrus
  20.  
  21. #Enable Sudo for wheel group
  22. EDITOR=nano visudo
  23. #uncomment this Line
  24. %wheel ALL=(ALL) ALL
  25.  
  26. #disable root account
  27. passwd -l root
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement