Author Topic: root password  (Read 1618 times)

Offline carlo

  • Full Member
  • ***
  • Posts: 199
root password
« on: October 14, 2014, 10:01:45 pm »
hi all
just wondering:
if i'm not mistaken, for the latest release you're giving root the very same password as user:
can i safely change root password?
you know.. i'm nostalgic

Offline one23

  • Newbie
  • *
  • Posts: 26
Re: root password
« Reply #1 on: October 14, 2014, 10:15:19 pm »
If you are talking about Sparky running as Live CD, you can change the password by typing in console

sudo passwd root

then you'll be asked to create new password.

« Last Edit: October 14, 2014, 10:17:05 pm by one23 »

Offline pavroo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1456
    • SparkyLinux
Re: root password
« Reply #2 on: October 15, 2014, 01:45:17 am »
And after hard drive installation:
Code: [Select]
su
<your-existing-password>
then
Code: [Select]
passwd
Nothing is easy as it looks.

Offline way12go

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 476
  • Saying something clever is easy,when you r stupid.
Re: root password
« Reply #3 on: October 15, 2014, 05:23:39 am »
We can change root password. But, I think I read somewhere that changing the user name can bring new problems and, I also think I have posted it here on sparkylinux forum, somewhere.
Saying something clever is easy, when you are stupid. - Sagar Gorijala.

Offline carlo

  • Full Member
  • ***
  • Posts: 199
Re: root password
« Reply #4 on: October 15, 2014, 09:03:35 am »
thank you all
just wanted to change  root password, cause i keep typing the passwd i usually use as root  :-*

just i feared i would have undergone in some strange pkexec/remsu behaviour
cheers

Offline pavroo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1456
    • SparkyLinux
Re: root password
« Reply #5 on: October 15, 2014, 01:20:12 pm »
remsu simply detects is a live or installed system.
Then it uses gksu or gksudo.
« Last Edit: October 15, 2014, 01:27:48 pm by pavroo »
Nothing is easy as it looks.

Offline carlo

  • Full Member
  • ***
  • Posts: 199
Re: root password
« Reply #6 on: October 15, 2014, 02:33:39 pm »
cool

Offline py-thon

  • Jr. Member
  • **
  • Posts: 68
Re: root password
« Reply #7 on: October 15, 2014, 05:09:56 pm »
A lot of Debian-based installations have an inactive root account. You are not meant to login as root. This is the case with Sparky, too. Or did you have to type two different passwords at installation? I didn't. The password of the first user created is the password for administrative tasks (using sudo or gksudo, see https://wiki.debian.org/Root

I would avoid setting a password for root which you can do with
Code: [Select]
sudo passwd rootI tried that two years ago on LMDE. After giving root its own password you actually have two different passwords (root's password and your password as an administrator). As the window which asks for the password (when starting synaptic, setting a new network connection, etc.) doesn't give a hint which of the two passwords is needed for the occasion, you type the wrong password half the time. This is really annoying. I ended up giving root my user password (basically like before, but technically you - unlike before - have two different, but identical passwords which both can and have to be changed individually).
Tower: Sparky 64bit MATE
Netbook: Sparky 32bit MATE

Offline carlo

  • Full Member
  • ***
  • Posts: 199
Re: root password
« Reply #8 on: October 15, 2014, 05:18:03 pm »
A lot of Debian-based installations have an inactive root account. You are not meant to login as root. ....
I thought it was ubuntu's case only
odd thing is that by default on debian user is not a sudoer...

I would avoid setting a password for root .....you type the wrong password half the time. This is really annoying. I ended up giving root my user password (basically like before, but technically you - unlike before - have two different, but identical passwords which both can and have to be changed individually).
that's what i thought

Offline carlo

  • Full Member
  • ***
  • Posts: 199
Re: root password
« Reply #9 on: February 23, 2015, 07:05:06 pm »
i think iv'e found a way out:
in order to keep root and user password different without much pain you have to launch the text installer  8)
cheers