Posts: 53
Joined: Sep 2010
Reputation:
0
I am trying to sudo apt-get install XXX on the XBMCbuntu live CD (Eden Beta 3).
When I enter "xbmc" for the password, I get "Sorry, try again"
How can I run something as root?
Posts: 542
Joined: Mar 2010
Reputation:
1
2012-03-04, 03:57
(This post was last modified: 2012-03-04, 11:06 by .:B:..)
Sudo by default takes the user's password.
Edit: sorry, forgot this was the live CD...
* MikroTik RB5009UG+S+IN :: ZyXEL GS1900-8HP v1 :: EAP615-Wall v1 :: Netgear GS108T v3 running OpenWrt 23.05
* LibreELEC 11:
HTPC Gigabyte Brix GB-BXA8-5545 with
CEC adapter, Sony XR-64A84K ::
Desktop AMD Ryzen 7 5800X / Sapphire Nitro+ Radeon 6700XT / 27" Dell U2717D QHD
* Debian Bookworm x86_64: Celeron G1610, NFS/MariaDB/ZFS server
*
Blog
Posts: 2
Joined: May 2010
Reputation:
0
The username xbmc with a blank password worked for me. Just type sudo foo and hit enter.
Posts: 53
Joined: Sep 2010
Reputation:
0
blank worked great for running sudo on the live CD, thanks!
What about SSH?
When I try either blank or xbmc, I get:
Permission denied, please try again.
Posts: 17
Joined: Sep 2011
Reputation:
12
The fix for the problem you have put is to edit /etc/ssh/sshd_config
sudo nano /etc/ssh/sshd_config
press Ctrl+w to search type in PermitEmptyPasswords and press enter
change the line so it reads
PermitEmptyPasswords yes
crtl+x to exit and press y to save changes
then restart the ssh server with
sudo restart ssh
The other options
You can set up authorized key authentication to not need a password - can be tricky depending on your knowledge of linux
the best option is to give xbmc a password just type
passwd
press enter for current as there isn't currently a password then set your own
hope this helps
Posts: 53
Joined: Sep 2010
Reputation:
0
Given that the ssh server is running by default in the live cd, does it make sense to make this setting the default on the live cd? Without this, it seems pointless to have the ssh server running.
alternatively, the root password ca be changed to xbmc
Posts: 17
Joined: Sep 2011
Reputation:
12
Permitting empty password logins as a default setting would create an extremely vulnerable system.. anyone who knows the IP address of an internet facing xbmc system or ofcorse the IP address of an xbmc system on the same LAN would have full root access.
Setting a default password for the xbmc account creates the same problem, I would guess this is why the developers have left the password blank to make sure remote logins arnt possible until the user sets a password. Leaving the SSH server uninstalled would confuse people i think.
if you are using a usb stick to hold XBMCbuntu ( lili - Linux Live USB Creator is great for this) then your settings will be saved on reboot
if your using a cd theres a long winded method to extract the live system and modify it but the usb option is usually better.
Posts: 8
Joined: Jan 2011
Reputation:
0
I'm having a bit of the same problem...I try to SSH into xbmcbuntu, as "admin@xbmcipaddress" or as "xbmc@xbmcipaddress", and although i didn't use the default password, it keeps giving me an error - no doubt because I'm doing something wrong. I'm pretty sure I know which password I used when setting it up, but somehow....hm.
Where's my mistake? And, worst comes to worst, any chance of resetting the password?
Posts: 7
Joined: Apr 2012
Reputation:
0
Hi ! I'm feeling a bit lost...
I've Just installed xbmcbuntu and I can't login on tty1 with the login I've set up...
I've Also triedother defaults accounts but I Always cet "bad login"
Please help !
Thank you.....