Fedora Linux Support Community & Resources Center
  #1  
Old 25th August 2011, 07:07 PM
jenaniston's Avatar
jenaniston Offline
Registered User
 
Join Date: Dec 2009
Location: Malibu, California
Posts: 318
linuxfedorakonqueror
liveuser password / autologin problem

This is on an 8 GB Fedora 13 KDE Live USB (in EOL but this does have many files on it, custom desktop plasma workspace, etc.)

Instead of the usual auto login to the live desktop I boot to the Fedora KDE-type login screen (same as an install version)
the user name "liveuser" is already pre-entered and the space for a password below that . . .

how can I find out what password this now has ?

I can change the user to "root" and login without any password, but this is not the liveuser desktop with files etc. - and a switch user from root isn't allowed either.

So in general, just where is the password stored that I can get to it ?
(as root in runlevel 3 or anything)
I have tried as the password for "liveuser" session various ideas such as root, liveuser, and no password.
I'll try any ideas anybuddy else has.
Reply With Quote
  #2  
Old 25th August 2011, 07:13 PM
jpollard Online
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,099
linuxfedorafirefox
Re: liveuser password / autologin problem

Same place as all login passwords. /etc/shadow

Once you get booted, login as root and change it.
Reply With Quote
  #3  
Old 25th August 2011, 07:34 PM
jenaniston's Avatar
jenaniston Offline
Registered User
 
Join Date: Dec 2009
Location: Malibu, California
Posts: 318
linuxfedorakonqueror
Re: liveuser password / autologin problem

Quote:
Originally Posted by jpollard View Post
Same place as all login passwords. /etc/shadow

Once you get booted, login as root and change it.
Code:
root@localhost ~]# cd /etc
[root@localhost etc]# ls
...
 shadow    
 shadow-
...
[root@localhost etc]# less shadow
...
liveuser::14734:0:99999:7:::
(END) 
>q
[root@localhost etc]#
Thanks . . . Can /etc/shadow be rendered into a human readable form ? (I used less to read it in terminal - KWrite gave same result)
Reply With Quote
  #4  
Old 25th August 2011, 08:40 PM
jpollard Online
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,099
linuxfedorafirefox
Re: liveuser password / autologin problem

That is the human readable form. It is just an ascii file with 8 fields (like the /etc/passwd file). login name, password, last password change, days until change is allowed, days before change required, days before expiration warning, expiration date, and a reserved field.

That should be the empty password. As long as kdm allows empty passwords (none) then it should allow you to login.

Note: I have run across situations that seemed to not count "enter" as the end of the password. In these conditions I have been able to use the "login" button instead.

If you can login as root, one thing you could do is just edit the file - duplicate the line with root, change the first field (login) to "liveuser" and delete the old entry.

Last edited by jpollard; 25th August 2011 at 08:46 PM.
Reply With Quote
  #5  
Old 25th August 2011, 10:32 PM
jenaniston's Avatar
jenaniston Offline
Registered User
 
Join Date: Dec 2009
Location: Malibu, California
Posts: 318
linuxfedorakonqueror
Re: liveuser password / autologin problem

Quote:
Originally Posted by jpollard View Post
That is the human readable form. . . .
. . . you could do is just edit the file - duplicate the line with root, change the first field (login) to "liveuser" and delete the old entry.
Well yeah - sorta human readable, but not actually what the human written password is.

But what a clever idea about copying those passwords by changing the field to match the liveuser password as the same as the root password -
Thanks . . . I will try that all later (as I just made a 1 GB live usb Fedora 16 KDE Alpha to experiment with !)

Thanks again for the responses.
Reply With Quote
  #6  
Old 25th August 2011, 11:38 PM
jpollard Online
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,099
linuxfedorafirefox
Re: liveuser password / autologin problem

That is an old UNIX trick for logging into a users account without knowing the password. You change the record, login and do your stuff, then put the original back.

The encrypted password is done with a one-way hash+salt. This makes it very difficult to extract (and steal) the actual password even if the cracker manages to get the encrypted password.

Mind, the password is still only as good as the user that creates it. Most cracking programs still brute force the encryption by trying all possibilities and then compare the result with the encrypted password. This is why dictionary attacks work so well.

One of the oldest UNIX hacks I was informally told about happened at the NIST. They operated a PDP-10 system as well as several UNIX systems. The PDP-10 stored the passwords in plaintext in the accounting records (formatted using sixbit characters...). The apparent password leak were done by decoding the passwords used on the PDP-10, and then using them on the UNIX systems where they frequently worked.

I was told this was the likely way when I demonstrated cracking the Universities accounting system when they forgot to restrict the accounting records to a professor who worked for Bureau of Standards (as NIST was called at the time).

Storing passwords in plaintext is not a good idea.

Last edited by jpollard; 25th August 2011 at 11:54 PM.
Reply With Quote
Reply

Tags
autologin, liveuser, password, problem

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Liveuser needs password? lemtree Installation and Live Media 2 13th December 2009 02:18 PM
Liveuser Password? havinfun2000 Installation and Live Media 8 11th June 2009 05:21 AM
Autologin started asking for password Mikie Using Fedora 4 22nd June 2006 06:05 PM
Changing Password and AutoLogin in GNOME 2.12 Paul_Vandenberg Using Fedora 3 14th January 2006 06:31 PM


Current GMT-time: 20:28 (Monday, 20-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat