No passwd entry for user 'pi'

580 views
Skip to first unread message

Chuck Storla

unread,
Mar 31, 2017, 10:29:49 PM3/31/17
to PiDP-8
I am embarrassed to be stumped so early in the process. I have installed pidp8i-2017.02.04-nls-jessie-lite.img successfully and can use ssh / putty to access my raspberry Pi. I am not able to get the SimH simulator running however.

 I have tried entering 'pidp8i' as a command and get the error "No passwd entry for user 'pi'".

I get the same error when i try " /etc/init.d/pidp8i status".

trying 'start' rather than 'status' gives this:

No passwd entry for user 'pi'
Booting from /opt/pidp8i/share/boot/0.script...
[....] Starting PiDP-8/I simulator: pidp8iNo passwd entry for user 'pi'
 failed!

 
I am sure this is something simple but i can't get the software running and with my kit here now I want to get this in place before i start assembly.

Thanks in advance for your help.


Jonathan Trites

unread,
Apr 1, 2017, 1:40:12 PM4/1/17
to pid...@googlegroups.com
I dont' use Warren's images directly. I use the official Raspian and then separately download this project's source and build, so I can only try and give general advice.

The error seems to mean your user 'pi' is not actually in the system. It's hard to imagine how you were able to log in with the pi user, but be getting this error.

Does this command put out any lines?

$ grep -w pi /etc/passwd

It should look something like this:

pi@pi2:~ $ grep -w pi /etc/passwd
pi:x:1000:1000:,,,:/home/pi:/bin/bash

John Duksta

unread,
Apr 1, 2017, 2:01:39 PM4/1/17
to Jonathan Trites, PiDP-8

That error looks like there:
 a) might not be a password set for the pi user and 
 b) there's a sudo command in the simh startup script
 c) there's not a NOPASSWD setting in /etc/sudoers for pi

-j

-- 
Sent via FidoNet relay
+++ATH0

On Apr 1, 2017, at 10:40 AM, Jonathan Trites <trite...@gmail.com> wrote:

I dont' use Warren's images directly. I use the official Raspian and then separately download and build, so I can only try and give general advice.

--
You received this message because you are subscribed to the Google Groups "PiDP-8" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pidp-8+un...@googlegroups.com.
To post to this group, send email to pid...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pidp-8/99ce8624-cb1f-4cb9-9cb5-fe77ce8f0e30%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Warren Young

unread,
Apr 1, 2017, 2:51:47 PM4/1/17
to PiDP-8
On Friday, March 31, 2017 at 8:29:49 PM UTC-6, Chuck Storla wrote:

I have tried entering 'pidp8i' as a command and get the error "No passwd entry for user 'pi'".

Is that a cleanly-installed image, or have you done things to it? It looks like the standard image with some of the naked Pi steps done to it.

You may just want to wait for a few more hours, as I am working on a new release which should be on the web site by then. It typically takes about 3 hours to build OS images.

Chuck Storla

unread,
Apr 1, 2017, 4:23:30 PM4/1/17
to PiDP-8
Hi,

Thanks to all for the prompt replies. 

I encountered this on a clean image. I re-created the SD card a second time just to be sure.

I'll wait for the new build and give that a try.

- Chuck

Warren Young

unread,
Apr 1, 2017, 4:35:40 PM4/1/17
to PiDP-8
On Saturday, April 1, 2017 at 2:23:30 PM UTC-6, Chuck Storla wrote:

I encountered this on a clean image. I re-created the SD card a second time just to be sure.

Hm!  Well, no point chasing the bug, since it's about to be replaced.

Note that when I said "about 3 hours", I meant "from release time," which just happened. So, that clock starts now.

Chuck Storla

unread,
Apr 1, 2017, 5:06:36 PM4/1/17
to PiDP-8
Just to give this a shot, I recreated the SD card but this time entered the following commands:

sudo adduser pi --ingroup pi
(gave 'raspberry' as password for user 'pi')
pidp-8i-sim
(now gets me to the 'sim>' prompt)

so i can start to play with it in between soldering sessions.

I will still install the next build when available.

-chuck

Warren Young

unread,
Apr 1, 2017, 8:20:21 PM4/1/17
to PiDP-8
On Saturday, April 1, 2017 at 3:06:36 PM UTC-6, Chuck Storla wrote:
I will still install the next build when available.

The new binary OS images are available.

I've done some minimal testing of them: the simulator starts as expected, and "pidp8i" attaches to it as expected. 

Chuck Storla

unread,
Apr 1, 2017, 11:24:15 PM4/1/17
to PiDP-8
THANK YOU!! I have it running now without the need to create the 'pi' user, etc.

I appreciate the work you have put into this but i can only guess at how many hours you have devoted to this effort.

Best regards,
Chuck
Reply all
Reply to author
Forward
0 new messages