Hi,
I have a question related to user Root : where can I find the login/password for login as root ? I installed Domoticz on a Pi2 using the default SD image, and I can't find the password.
I searched in the forum, but I only found a message telling "you should look at wiki".. but when looking in wiki, I only found one page about installation in another context, with password 1234.. but it doesn't work with root/1234.
I could read there are ways to make pi user behave like root (with sudo, but also in a "hardcoded" way), but what I'd like is to make sure I can log as root if I need to.
br,
Ricorico94
root privilege
Moderator: leecollings
-
- Posts: 94
- Joined: Monday 26 October 2015 10:41
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
-
- Posts: 111
- Joined: Monday 18 January 2016 9:56
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: root privilege
You could just reset the password
Login with your pi user, and do:
I did not test this on a Pi but on a similar system, and I'm not saying I recommend doing this, I prefer using sudo.
Login with your pi user, and do:
Code: Select all
sudo su
passwd
- gizmocuz
- Posts: 2552
- Joined: Thursday 11 July 2013 18:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Top of the world
- Contact:
Re: root privilege
That latest line you do not need (passwd)
you should always use sudo, or issue
sudo su
no need to change the root password, or login as root
you should always use sudo, or issue
sudo su
no need to change the root password, or login as root
Quality outlives Quantity!
Who is online
Users browsing this forum: Google [Bot] and 1 guest