#stuck in SDDM because I only have a root user
1 messages · Page 1 of 1 (latest)
Tty, log in as root, add a user
press ALT + SHIFT + F3
if that doesn't work, press ALT + CTRL + F3
log in as root
run adduser [username]
run passwd [username]
run reboot
profit
probably want a bit more than just add user username
useradd -mG wheel <username> -If you don't want the user to be able to sudo remove wheel, if you do keep wheel and uncomment the first line that says 'wheel' in /etc/sudoers
passwd <username>
And instead of reboot just do systemctl restart SDDM
I mean can reboot if you want but, may as well just restart SDDM
@south maple you can do the above from chrooting in if you prefer for some reason, but there's no need. TTY is your friend, I didn't give more detail before because I was on my phone, didn't want to type the commands from there
why -mG and not -aG ?
😒
I can’t remember what m and a do, I’m just used to copying and pasting at this point 😂
I’ll have to look that up after my film
Is there any practical difference for systems with single users?
compatibility mostly
give me one second actually, i'll get back to you with hard facts and science
@young flame nvm we both dont know what we are talking about apparently 🐱
but yes, you want to use -aG. for compatibility you typically want your main user's main group to be the user's own group. ie if your user is vegancookies, your main group should also be vegancookies, because it is your main group that determines group ownership on the files you create.
That makes more sense
i am really struggling to write this sentence because dyslexia but hopefully you understand what i mean
@south maple 
because then the user won't have a home directory?
@dusty spindle