STEAM GROUP
Steam Universe Steam U
STEAM GROUP
Steam Universe Steam U
54,769
IN-GAME
374,225
ONLINE
Founded
September 23, 2013
All Discussions > Steam OS > Topic Details
FiliPX32 Dec 15, 2013 @ 1:12pm
SteamOS root password
I'm trying to fix the sound with some terminal commands but I need sudo and I don't know the root password of it
< >
Showing 1-15 of 21 comments
SimicEngineer Dec 15, 2013 @ 1:15pm 
Check the FAQ. You should set a password for the "desktop" user in order to use sudo. It requires the password of the user invoking it, not the root password.
SCARFACE Dec 15, 2013 @ 1:24pm 
I just tried "desktop" and didn't work. Seams the instalations process changes the pass. I'm also trying to fix my sound.
DIENER Dec 15, 2013 @ 1:32pm 
Q: How do I get root access to SteamOS?
The desktop account can gain root access, but ships with no password. Before you can use this account to gain root access, you need to assign it a password. From the desktop session, start a terminal window and type "passwd". Enter your new password twice. Now you can use the "sudo" command to perform privileged operations.
Elijah Dec 15, 2013 @ 1:33pm 
same here trying to workout password :)
8015 Dec 15, 2013 @ 1:35pm 
No passworts set as far as the faq goes. Drop from BPM to desktop, open a terminal and enter:

passwd

But make sure your your keyboard is set to the proper language if its non english. just to be safe avoid keys like:

Z Y # $ Ö Ä €

etc in your password, it can safe alot of headache if for some reason your locale reverts to something else during a later patch or something.
Last edited by 8015; Dec 15, 2013 @ 1:36pm
Elijah Dec 15, 2013 @ 1:39pm 
cheers diener :)
SCARFACE Dec 15, 2013 @ 1:45pm 
Tks Diener! I missed that from the FAQ. Worked like charm.
Originally posted by DIENER:
Q: How do I get root access to SteamOS?
The desktop account can gain root access, but ships with no password. Before you can use this account to gain root access, you need to assign it a password. From the desktop session, start a terminal window and type "passwd". Enter your new password twice. Now you can use the "sudo" command to perform privileged operations.
Last edited by SCARFACE; Dec 15, 2013 @ 1:45pm
ZZR600 Dec 15, 2013 @ 2:23pm 
This doesn't address a problem that I have and I seem to need the Administrator account password to solve it which is enabling auto log in. I've had to use the modded UEFI over-ride version so could be isolated to that version but upon loading SteamOS I need to do the user/pass 'steam' to log on everytime which just doesn't do for something that is meant to sit in the living room and controlled with a joypad.

In user accounts I need to gain admin rights via the SteamOS Desktop account in order to set the auto login feature for the standard Steam account. I'm stumped
FiliPX32 Dec 15, 2013 @ 2:26pm 
thanks diener
Hitsuji Dec 15, 2013 @ 2:29pm 
Originally posted by Overnight Guy:
This doesn't address a problem that I have and I seem to need the Administrator account password to solve it which is enabling auto log in. I've had to use the modded UEFI over-ride version so could be isolated to that version but upon loading SteamOS I need to do the user/pass 'steam' to log on everytime which just doesn't do for something that is meant to sit in the living room and controlled with a joypad.

In user accounts I need to gain admin rights via the SteamOS Desktop account in order to set the auto login feature for the standard Steam account. I'm stumped

If the system is asking for the root password, they you are not running the command with sudo. If for some strange reason the desktop account has lost the sudo group, you can boot to recover mode from the grub menu and run:

/usr/sbin/usermod -aG sudo desktop

Or manually edit the /etc/group file and append the desktop account to the sudo group.
ZZR600 Dec 15, 2013 @ 2:39pm 
Originally posted by Hitsuji:
Originally posted by Overnight Guy:
This doesn't address a problem that I have and I seem to need the Administrator account password to solve it which is enabling auto log in. I've had to use the modded UEFI over-ride version so could be isolated to that version but upon loading SteamOS I need to do the user/pass 'steam' to log on everytime which just doesn't do for something that is meant to sit in the living room and controlled with a joypad.

In user accounts I need to gain admin rights via the SteamOS Desktop account in order to set the auto login feature for the standard Steam account. I'm stumped

If the system is asking for the root password, they you are not running the command with sudo. If for some strange reason the desktop account has lost the sudo group, you can boot to recover mode from the grub menu and run:

/usr/sbin/usermod -aG sudo desktop

Or manually edit the /etc/group file and append the desktop account to the sudo group.

the group file shows "sudo:x:27:desktop" already. I'm trying to set auto login through the user accounts applet in system settings. When I try to unlock the controls in the top right, it asks for the root password for accounts "Administrator" hi-lighted in bit red writing. I've tried the password steam and also the one I set using passwd.

When I try to do elevated commands with sudo in terminal I do get this "Sorry, user steam is not allowed to execute '/usr/bin/apt-get update' as root on steamos."

Does everyone else have this same behaviour as it seems my install is locked down and was like this from the get go
EvilPinder Dec 15, 2013 @ 2:45pm 
Have you run the post-install script?

It's this script which is responsible for setting up automatic login to the SteamOS session.
Hitsuji Dec 15, 2013 @ 2:45pm 
The auto login is performed by lightdm and not the built in user account way. To manually set the auto login to the steam account run:

sudo /usr/lib/x86_64-linux-gnu/lightdm/lightdm-set-defaults -a steam -s steamos
Last edited by Hitsuji; Dec 15, 2013 @ 2:45pm
Hellkeepa Dec 15, 2013 @ 2:46pm 
The best option in this case, is to reboot to the rescue mode and set the password for desktop manually. A quick "passwd desktop" should do it.
Hitsuji Dec 15, 2013 @ 2:48pm 
The steam account also is not part of the sudo grout so you will not be able to perform actions with the sudo command on that account. You must do it from the desktop account.
< >
Showing 1-15 of 21 comments
Per page: 1530 50

All Discussions > Steam OS > Topic Details