Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.os.linux.ubuntu > #202433

Re: Cannot login using console (after some upgrade)

From Henry Crun <mike@rechtman.com>
Newsgroups alt.os.linux.ubuntu, alt.os.linux
Subject Re: Cannot login using console (after some upgrade)
Date 2019-02-01 16:34 +0200
Organization albasani.net
Message-ID <e12eif-2ap.ln1@ubuntu.mike-r.com> (permalink)
References <q30ete$1h8r$1@gioia.aioe.org> <t81dif-shn.ln1@ubuntu.mike-r.com> <BMCdnUXyr42CzcnBnZ2dnUU7-RHNnZ2d@posted.cavenetllc>

Cross-posted to 2 groups.

Show all headers | View raw


On 01/02/2019 15:56, Ford Prefect wrote:
> On Fri, 01 Feb 2019 07:15:41 +0200, Henry Crun wrote:
> 
>> Try booting from a live CD or USB stick, mount your system disk, edit
>> the /etc/passwd file (on the system disk, NOT on the USB) and zero the
>> password field for root (or any other user). Password field is possibly
>> an 'x' beween two colons;
>> change to '::' and try again.
>>
> 
> You must be an old-timer. That :x: stuff means the encrypted password
> is stored in /etc/shadow. It's been that way for many years now. Sorry.
> 
Well had a look at /etc/passwd on my Ub. 18.04
  and there they were! Several ':x:'s.
And whatever you find in the second field in the /etc/passwd record, if you zero that field the referred user then has 
no password

-- 
Mike R.
Home: http://alpha.mike-r.com/
QOTD: http://alpha.mike-r.com/qotd.php
No Micro$oft products were used in the URLs above, or in preparing this message.
Recommended reading: http://www.catb.org/~esr/faqs/smart-questions.html#before
                 and: http://alpha.mike-r.com/jargon/T/top-post.html
Missile address: N31.7624/E34.9691

Back to alt.os.linux.ubuntu | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Cannot login using console (after some upgrade) Paulo da Silva <p_s_d_a_s_i_l_v_a_ns@netcabo.pt> - 2019-02-01 03:37 +0000
  Re: Cannot login using console (after some upgrade) "Jonathan N. Little" <lws4art@gmail.com> - 2019-01-31 22:52 -0500
  Re: Cannot login using console (after some upgrade) Henry Crun <mike@rechtman.com> - 2019-02-01 07:15 +0200
    Re: Cannot login using console (after some upgrade) Ford Prefect <none@none.com> - 2019-02-01 07:56 -0600
      Re: Cannot login using console (after some upgrade) Henry Crun <mike@rechtman.com> - 2019-02-01 16:34 +0200
        Re: Cannot login using console (after some upgrade) "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2019-02-01 15:07 -0500
      Re: Cannot login using console (after some upgrade) Big Bad Bob <BigBadBob-at-mrp3-dot-com@testing.local> - 2019-02-02 06:01 -0800
  Re: Cannot login using console (after some upgrade) Paul <nospam@needed.invalid> - 2019-02-01 00:40 -0500
  Re: Cannot login using console (after some upgrade) Lucifer <LuciferMorningstar@bigpond.com> - 2019-02-01 16:59 +1100
    Re: Cannot login using console (after some upgrade) "Carlos E.R." <robin_listas@es.invalid> - 2019-02-01 13:55 +0100
    Re: Cannot login using console (after some upgrade) Big Bad Bob <BigBadBob-at-mrp3-dot-com@testing.local> - 2019-02-02 06:10 -0800
  Re: Cannot login using console (after some upgrade) bilou <padepub@free.fr> - 2019-02-01 10:41 +0100
  Re: Cannot login using console (after some upgrade) Roland Franzius <roland.franzius@uos.de> - 2019-02-01 17:04 +0100
  Re: Cannot login using console (after some upgrade) [EXPLAINED but UNSOLVED] Paulo da Silva <p_s_d_a_s_i_l_v_a_ns@netcabo.pt> - 2019-02-01 19:59 +0000
    Re: Cannot login using console (after some upgrade) [EXPLAINED but UNSOLVED] "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2019-02-01 15:26 -0500
      Re: Cannot login using console (after some upgrade) [EXPLAINED but UNSOLVED] Paulo da Silva <p_s_d_a_s_i_l_v_a_ns@netcabo.pt> - 2019-02-01 20:40 +0000
    Re: Cannot login using console (after some upgrade) [EXPLAINED but UNSOLVED] "Carlos E.R." <robin_listas@es.invalid> - 2019-02-01 22:35 +0100
      Re: Cannot login using console (after some upgrade) [EXPLAINED but UNSOLVED] Paulo da Silva <p_s_d_a_s_i_l_v_a_ns@netcabo.pt> - 2019-02-01 22:38 +0000
    Re: Cannot login using console (after some upgrade) [EXPLAINED but UNSOLVED] "Jonathan N. Little" <lws4art@gmail.com> - 2019-02-01 17:55 -0500
      Re: Cannot login using console (after some upgrade) [EXPLAINED but UNSOLVED] Paulo da Silva <p_s_d_a_s_i_l_v_a_ns@netcabo.pt> - 2019-02-02 01:59 +0000

csiph-web