Re: [beagleboard] Re: BIG problem with BBB and logging into ANY username

2021-04-01 Thread jonnymo
I was able to use PuTTY on Windows 10 to login to the BBB via serial without root password after editing the /etc/passwd file. Typically the root account is set in the sshd_config to not allow remote ssh connections to a Linux system. You have to set this to allow for root login with or without

Re: [beagleboard] Re: BIG problem with BBB and logging into ANY username

2021-04-01 Thread amf
I'm going out on the limb here, but putty seem to have an issue with logins without a password. I'm sure some one can provide more input on this. On Wednesday, March 31, 2021 at 12:59:59 PM UTC-5 propg...@gmail.com wrote: > > debian@beaglebone:/mnt/media/etc$ su root > Password: > su:

Re: [beagleboard] Re: BIG problem with BBB and logging into ANY username

2021-03-31 Thread jonnymo
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

Re: [beagleboard] Re: BIG problem with BBB and logging into ANY username

2021-03-31 Thread Bob Hammond
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 wrote: > > Try just removing the 'x' for your user in the '/etc/passwd'. This should > allow for a login with asking for a

[beagleboard] Re: BIG problem with BBB and logging into ANY username

2021-03-31 Thread Dennis Lee Bieber
On Wed, 31 Mar 2021 10:59:10 -0700, in gmane.comp.hardware.beagleboard.user Bob Hammond 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$

Re: [beagleboard] Re: BIG problem with BBB and logging into ANY username

2021-03-31 Thread jonnymo
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 wrote: > > debian@beaglebone:/mnt/media/etc$ su

Re: [beagleboard] Re: BIG problem with BBB and logging into ANY username

2021-03-31 Thread Bob Hammond
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

Re: [beagleboard] Re: BIG problem with BBB and logging into ANY username

2021-03-31 Thread Bob Hammond
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

Re: [beagleboard] Re: BIG problem with BBB and logging into ANY username

2021-03-31 Thread Bob Hammond
amf, THIS works great! Thanks so much for the help. On Tue, Mar 30, 2021 at 8:52 AM amf wrote: > If you just want to reset the password on the new imaged BBB (this does > not explain why you had issue in the first place, but does allow you to > access the system) > clear the encrypted

[beagleboard] Re: BIG problem with BBB and logging into ANY username

2021-03-30 Thread Dennis Lee Bieber
On Tue, 30 Mar 2021 13:36:11 -0400 (EDT), in gmane.comp.hardware.beagleboard.user Robert Heller wrote: >Right. GRUB is pretty much a x86-only program. Most ARM boards use uBoot. >The Raspberry-Pi's use their own thing and are the only (?) ARM boards that >that need a FAT /boot partition. >

Re: [beagleboard] Re: BIG problem with BBB and logging into ANY username

2021-03-30 Thread Robert Heller
At Tue, 30 Mar 2021 13:19:33 -0400 beagleboard@googlegroups.com wrote: > > On Tue, 30 Mar 2021 07:02:25 -0700 (PDT), in > gmane.comp.hardware.beagleboard.user Bob Hammond > wrote: > > > >I am now attempting to get into GRUB during boot. I never see a GRUB menu > >show up by pressing/holding

[beagleboard] Re: BIG problem with BBB and logging into ANY username

2021-03-30 Thread Dennis Lee Bieber
On Tue, 30 Mar 2021 07:02:25 -0700 (PDT), in gmane.comp.hardware.beagleboard.user Bob Hammond wrote: >I am now attempting to get into GRUB during boot. I never see a GRUB menu >show up by pressing/holding ESC or left shift. What I do see is that I can >interrupt boot by pressing the

Re: [beagleboard] Re: BIG problem with BBB and logging into ANY username

2021-03-30 Thread amf
If you just want to reset the password on the new imaged BBB (this does not explain why you had issue in the first place, but does allow you to access the system) clear the encrypted password as follows, (if you need detailed steps let me know) create a sdcard with a new image (one you

Re: [beagleboard] Re: BIG problem with BBB and logging into ANY username

2021-03-30 Thread Bob Hammond
I am now attempting to get into GRUB during boot. I never see a GRUB menu show up by pressing/holding ESC or left shift. What I do see is that I can interrupt boot by pressing the spacebar. I then get a command prompt in ??. And I have no idea what to do after that. On Monday, March 29,

Re: [beagleboard] Re: BIG problem with BBB and logging into ANY username

2021-03-29 Thread Bob Hammond
Thanks Andrea. Once I get in, I will check the logs. The sshd is likely up as you state. The BBB is protected by a firewall on my router as well as iptables. And no, I didn't have enforced sshd to accept only user connection. All very good ideas! On Sunday, March 28, 2021 at 6:05:22 AM

Re: [beagleboard] Re: BIG problem with BBB and logging into ANY username

2021-03-28 Thread Bob Hammond
Thanks Robert. I will give those ideas a try. On Sun, Mar 28, 2021 at 11:36 AM Robert Heller wrote: > At Sun, 28 Mar 2021 11:20:51 -0700 beagleboard@googlegroups.com wrote: > > > > > As I said in the first post on this issue: I had run the procedure to > make > > an image of the functional

Re: [beagleboard] Re: BIG problem with BBB and logging into ANY username

2021-03-28 Thread Robert Heller
At Sun, 28 Mar 2021 11:20:51 -0700 beagleboard@googlegroups.com wrote: > > As I said in the first post on this issue: I had run the procedure to make > an image of the functional BBB on which I could log into with both a > username and with root. After I ran that procedure, I was then unable

Re: [beagleboard] Re: BIG problem with BBB and logging into ANY username

2021-03-28 Thread Bob Hammond
As I said in the first post on this issue: I had run the procedure to make an image of the functional BBB on which I could log into with both a username and with root. After I ran that procedure, I was then unable to log in with ANY username and password. The caps lock is off. Yes, I know that

Re: [beagleboard] Re: BIG problem with BBB and logging into ANY username

2021-03-28 Thread Robert Heller
At Sun, 28 Mar 2021 10:01:55 -0700 beagleboard@googlegroups.com wrote: > > Upon typing the password, I get: > > Access denied. Question: were you ever able to login to these machines in the past? (Obvious, but needs to be asked): do you have the caps lock key on? The stock username and

Re: [beagleboard] Re: BIG problem with BBB and logging into ANY username

2021-03-28 Thread Bob Hammond
Upon typing the password, I get: Access denied. On Sun, Mar 28, 2021 at 9:47 AM jonnymo wrote: > What is the error that you are seeing when the login fails? > > Jon > > On Sun, Mar 28, 2021 at 9:39 AM Bob Hammond wrote: > >> PuTTY (and WinSCP) are used on a host PC running Windows 7

Re: [beagleboard] Re: BIG problem with BBB and logging into ANY username

2021-03-28 Thread jonnymo
What is the error that you are seeing when the login fails? Jon On Sun, Mar 28, 2021 at 9:39 AM Bob Hammond wrote: > PuTTY (and WinSCP) are used on a host PC running Windows 7 Professional. > Yes, I'm certain of the IPs for both BBB. Both BBB are connected to my > network via hardwire to a

Re: [beagleboard] Re: BIG problem with BBB and logging into ANY username

2021-03-28 Thread Bob Hammond
PuTTY (and WinSCP) are used on a host PC running Windows 7 Professional. Yes, I'm certain of the IPs for both BBB. Both BBB are connected to my network via hardwire to a switch. I can see both BBB using web pages (and therefore IP addresses) I set up on them. Both are running ok. Both ping ok.

Re: [beagleboard] Re: BIG problem with BBB and logging into ANY username

2021-03-28 Thread jonnymo
Are you using Windows or Linux on your host PC? Since you mention PuTTY, I would assume it is windows. You could try to connect to the BB using the USB Network options: https://www.digikey.com/en/maker/blogs/how-to-connect-a-beaglebone-black-to-the-internet-using-usb Are you certain the IP you

Re: [beagleboard] Re: BIG problem with BBB and logging into ANY username

2021-03-28 Thread Andrea Sannuto
I found this for the serial connection. https://www.dummies.com/computers/beaglebone/how-to-connect-the-beaglebone-black-via-serial-over-usb/ Some ideas : Once in as root, I would - change the root password : # passwd - The user password: # passwd username Check the logs focus in the time you

Re: [beagleboard] Re: BIG problem with BBB and logging into ANY username

2021-03-28 Thread Bob Hammond
I am using a windows machine with PuTTY to connect to the BBB. On Sun, Mar 28, 2021 at 5:44 AM Bob Hammond wrote: > I am able to connect to the BBB with PuTTY and get a prompt to log in. I > have tried debian/temppwd and that doesn't work. > > I've read about using a serial connection to the

Re: [beagleboard] Re: BIG problem with BBB and logging into ANY username

2021-03-28 Thread Bob Hammond
I am able to connect to the BBB with PuTTY and get a prompt to log in. I have tried debian/temppwd and that doesn't work. I've read about using a serial connection to the BBB and interrupting the boot sequence to gain access. Anyone done that? On Saturday, March 27, 2021 at 4:41:30 PM UTC-7

Re: [beagleboard] Re: BIG problem with BBB and logging into ANY username

2021-03-27 Thread Tom Paratore
Try logging in as user : debian Password: temppwd Check your spelling after u enter user name Sent from my iPhone On Mar 27, 2021, at 7:12 PM, amf wrote:  I followed your instructions, once I obtained the new ip, I was able to login as the user of the origanl BBB. Without knowing details of

[beagleboard] Re: BIG problem with BBB and logging into ANY username

2021-03-27 Thread amf
I followed your instructions, once I obtained the new ip, I was able to login as the user of the origanl BBB. Without knowing details of your setup it is difficult to help is your desktop/laptop a windows or linux machine? if linux you can get the ip of the new BBB with "ping .local" provided