How can I safely add a new user.
I use the option user and groups and still when I add one new user the system refused to boot in GUI mode
It leaves me with a Cli
And as a newby I reinstall it.
Can somebody tell how to do it safely ?
regards
dobby9
Moderator: Moderators
useradd username
man useradd
fitzcarraldo@acertm8215 ~ $ groups
root wheel audio cdrom video games cdrw usb users portage clamav messagebus haldaemon plugdev scanner entropy pulse-access pulse-rt pulse kvm vboxusers polkituser
fitzcarraldo@acertm8215 ~ $ id
uid=1000(fitzcarraldo) gid=0(root)
groups=0(root),10(wheel),18(audio),19(cdrom),27(video),35(games),80(cdrw),85(usb),100(users),250(portage),409(clamav),410(messagebus),411(haldaemon),441(plugdev),442(scanner),1000(entropy),1003(pulse-access),1004(pulse-rt),1005(pulse),1007(kvm),1009(vboxusers),1016(polkituser)
fitzcarraldo@acertm8215 ~ $ su
Password:
acertm8215 fitzcarraldo # useradd -d /home/herzog -s /bin/bash -m -g root -G wheel,audio,cdrom,video,games,cdrw,usb,users,portage,clamav,messagebus,haldaemon,plugdev,scanner,entropy,pulse-access,pulse-rt,pulse,kvm,vboxusers,polkituser herzog
acertm8215 fitzcarraldo # passwd herzog
New UNIX password:
Retype new UNIX password:
passwd: password updated successfully
acertm8215 fitzcarraldo # exit
exit
fitzcarraldo@acertm8215 ~ $ su - herzog
Password:
herzog@acertm8215 ~ $ id
uid=1001(herzog) gid=0(root)
groups=0(root),10(wheel),18(audio),19(cdrom),27(video),35(games),80(cdrw),85(usb),100(users),250(portage),409(clamav),410(messagebus),411(haldaemon),441(plugdev),442(scanner),1000(entropy),1003(pulse-access),1004(pulse-rt),1005(pulse),1007(kvm),1009(vboxusers),1016(polkituser)
herzog@acertm8215 ~ $ exit
logout
fitzcarraldo@acertm8215 ~ $ emerge -1v superadduserReturn to Beginners|Newbies Area
Users browsing this forum: No registered users and 0 guests