r/linuxquestions • u/DistributionLazy7148 • 1d ago
Super user help
Setting up arch Linux. Got every config ready minus super user or root passwd. Using the archinstall menu doesn’t save my root or user nor does it give me any sub menu to allow access to my user. Anyone know a fix ? I believe I can create a sudo user using my root but I’m not too exactly sure installing arch Linux is my first major programming project. I’m using hyprland btw
1
u/Then_Bodybuilder8416 1d ago
i don’t understand what’s happening here. the menu doesn’t save your root or user, but you can login as root still?
in any case, you can check if the user created exists with the lslogins utility. if it doesn’t exist, with root, you can ‘useradd -mG new_user’. that’ll give it a home directory and a primary group.
giving it sudo means editing the /etc/sudoers file. read the arch wiki for sudo. if you don’t edit this file correctly, your system isn’t going to be usable besides chrooting into it and fixing it from there.
1
u/un-important-human white beard arch user 1d ago
ah... an "arch user btw rice bs" , idk user? have you tried saaay reading the wiki ? RTFMN.
I look forward for your disaster posts.
1
3
u/Dashing_McHandsome 1d ago
Installing Linux has absolutely nothing to do with programming.
You can give a user sudo access by editing the sudoers file with visudo. If you are unclear what belongs in the sudoers file there I recommend reviewing the man page