root password in shadow file [SOLVED}

Here you can post about the issues related to modifications performed manually (not through the kiosk wizard). Example: swapped kernel, added 3rd party modules or files.
Please describe in detail what has been changed and hopefully other kiosk user will be able to help.
Porteus team wont resolve bugs posted in this category as we support only modifications made by the kiosk wizard.
Forum rules
Porteus Kiosk section of the forum is unmaintained now. Its kept in a 'read only' mode for archival purposes.
Please use the kiosk contact page for directing your queries: https://porteus-kiosk.org/contact.html
Dave99
Black ninja
Black ninja
Posts: 54
Joined: 19 Apr 2014, 20:15
Distribution: Porteus
Location: R.S.A.

root password in shadow file [SOLVED}

Post#1 by Dave99 » 03 Jan 2015, 00:54

Hi all

I need to change the root password, is that password encrypted/encoded or just plain text in the /etc/shadow file?
The reason I ask is that mine is a long string of alphanumeric characters which include things like $ and /
Is this because the wizard generated a random password but it's still plain text?

Thanks in advance.
Dave.
Last edited by Dave99 on 04 Jan 2015, 12:38, edited 1 time in total.

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: root password in shadow file

Post#2 by fanthom » 03 Jan 2015, 08:22

its encrypted. if you want to generate your own password then please run this command in terminal:

Code: Select all

echo YOUR_PASSWORD | openssl passwd -1 -salt `echo $(($RANDOM*12345678)) | cut -c 1-8` -stdin
Please add [Solved] to your thread title if the solution was found.

Dave99
Black ninja
Black ninja
Posts: 54
Joined: 19 Apr 2014, 20:15
Distribution: Porteus
Location: R.S.A.

Re: root password in shadow file

Post#3 by Dave99 » 03 Jan 2015, 09:34

Thank you fanthom.

Locked