Bob,

If you removed the crypted password from the shadow file, that may cause an
issue. If you still have that original file, I would put it back in place
and try again.  If none of this is working, then it would appear
something happened to the config.  As you mentioned previously, it could be
the permissions of the files.

Denis,

 I have a stock BBB and the root password is root. I did not change that.
I can access it via su with password of root or sudo su with the debian
password. I did not set these.  However, I can not login as root from a
remote ssh session since that is disabled in the sshd_config. From serial
port I can with root/root.

Jon



On Wed, Mar 31, 2021 at 1:08 PM Bob Hammond <propgrin...@gmail.com> wrote:

> Jon,
>
> I tried your suggestion but am still unable to log in as root.  I'm still
> being asked for a password for root.
>
> Bob
>
> On Wed, Mar 31, 2021 at 11:29 AM jonnymo <jonnym...@gmail.com> wrote:
>
>>
>> Try just removing the 'x' for your user in the '/etc/passwd'.  This
>> should allow for a login with asking for a password.
>> Of course, backup your file and add a password once you can login.
>>
>> Cheers,
>>
>> Jon
>> On Wed, Mar 31, 2021 at 10:59 AM Bob Hammond <propgrin...@gmail.com>
>> wrote:
>>
>>>
>>> debian@beaglebone:/mnt/media/etc$ su root
>>> Password:
>>> su: Authentication failure
>>> debian@beaglebone:/mnt/media/etc$ su root
>>> Password:
>>> su: Authentication failure
>>> debian@beaglebone:/mnt/media/etc$ sudo nano shadow
>>>   GNU nano 2.7.4                                             File: shadow
>>>
>>> root::18717:0:99999:7:::
>>> daemon:*:18112:0:99999:7:::
>>> bin:*:18112:0:99999:7:::
>>> sys:*:18112:0:99999:7:::
>>> sync:*:18112:0:99999:7:::
>>> games:*:18112:0:99999:7:::
>>> man:*:18112:0:99999:7:::
>>> lp:*:18112:0:99999:7:::
>>> mail:*:18112:0:99999:7:::
>>> news:*:18112:0:99999:7:::
>>> uucp:*:18112:0:99999:7:::
>>> proxy:*:18112:0:99999:7:::
>>> www-data:*:18112:0:99999:7:::
>>> backup:*:18112:0:99999:7:::
>>> list:*:18112:0:99999:7:::
>>> irc:*:18112:0:99999:7:::
>>> gnats:*:18112:0:99999:7:::
>>> nobody:*:18112:0:99999:7:::
>>> systemd-timesync:*:18112:0:99999:7:::
>>> systemd-network:*:18112:0:99999:7:::
>>> systemd-resolve:*:18112:0:99999:7:::
>>> systemd-bus-proxy:*:18112:0:99999:7:::
>>> _apt:*:18112:0:99999:7:::
>>> dnsmasq:*:18112:0:99999:7:::
>>> messagebus:*:18112:0:99999:7:::
>>> avahi:*:18112:0:99999:7:::
>>> sshd:*:18112:0:99999:7:::
>>> usbmux:*:18112:0:99999:7:::
>>> lightdm:*:18112:0:99999:7:::
>>> debian:rcdjoac1gVi9g:18112:0:99999:7:::
>>> bob::18717:0:99999:7:::
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>                                                        [ Read 31 lines ]
>>> ^G Get Help     ^O Write Out    ^W Where Is     ^K Cut Text     ^J
>>> Justify      ^C Cur Pos      ^Y Prev Page    M-\ First Line
>>> ^X Exit         ^R Read File    ^\ Replace      ^U Uncut Text   ^T To
>>> Spell     ^_ Go To Line   ^V Next Page    M-/ Last Line
>>>
>>> On Wed, Mar 31, 2021 at 10:23 AM Bob Hammond <propgrin...@gmail.com>
>>> wrote:
>>>
>>>> Well, I thought it worked great but it doesn't.
>>>>
>>>> I applied all these commands to the BBB in question and specifically to
>>>> the root password entry but I am still unable to get into it.
>>>> When I attempt to log in with root, and enter a null password, I still
>>>> get "access denied".  Same with all other usernames and passwords.
>>>>
>>>> Could it be a file permissions problem?
>>>>
>>>> --
>> For more options, visit http://beagleboard.org/discuss
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "BeagleBoard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to beagleboard+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/beagleboard/CAG99bkrs3DeE5YXdwBuHm83tM11O9m1m1tMHw2tdurfU601Nhg%40mail.gmail.com
>> <https://groups.google.com/d/msgid/beagleboard/CAG99bkrs3DeE5YXdwBuHm83tM11O9m1m1tMHw2tdurfU601Nhg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to beagleboard+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beagleboard/CAKoB7Oqhrp_XM1yU4ZyFaTPPeaLd6-5cp%3DrZkTDtT%2BREVAVj2w%40mail.gmail.com
> <https://groups.google.com/d/msgid/beagleboard/CAKoB7Oqhrp_XM1yU4ZyFaTPPeaLd6-5cp%3DrZkTDtT%2BREVAVj2w%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAG99bkruq%3DQTjoShZf45pxU%2BP4g00n9BESbwc6ZTrp3%2BJr%2BOwA%40mail.gmail.com.

Reply via email to