testing out archlinux in a vm by following a tutorial on youtube.. all is fine up until the point where i reboot, boot with the hard disk and enter root at the login screen.
i am trying to add a new user with the useradd function like the guy does in his walkthrough.
I enter:
useradd -m -g users -G lp, scanner, audio, video, optical, storage, network, power, games, wheel -s /bin/bash iKlsR
upon entering that i get this error
useradd: group `` does not exist
I followed his instructions as closely as possible yet his works and mine doesn't, is the syntax accurate and or there any pitfalls to adding a user this way, im thinking about trying the interactive adduser but im interested in what this does and understanding the switches etc.
lp, scanner, au.........? – jippie Dec 26 '12 at 10:24-G lp,which meansgroups: 'lp',''(and the''(empty string) group doesn't exist. The rest was not even processed yet, or would have created additionnal errors. – Olivier Dulac Dec 26 '12 at 16:26