dschmenk / apple2pi

Apple II client/server for Raspberry Pi
GNU General Public License v3.0
113 stars 24 forks source link

On RaspApple II distro, the apple2 userid has no password (sudo fails) #3

Open KenKashmarek opened 10 years ago

KenKashmarek commented 10 years ago

In one particular circumstance, I happened to be in a terminal session with userid apple2. I attempted to use sudo but that fails since I could not enter a password when prompted by sudo (it would not take an empty password promtp; how does one use sudo when the userid has no password?)

So, how did I get into a terminal session with userid apple2?

From the initial terminal session at boot, login as pi. I then issued startx to bring up the desktop (this allowed my inserted USB devices to be recognized). Then I did a logout from the desktop session, back to the terminal session under pi. Type exit, and you get requested to login.

I logged in as apple2. IT CAME UP AS A TERMINAL SESSION, not gsport.

This is where the sudo attempt failed.

However, running gsport from that apple2 logged in terminal session, provides a plus. If one then exits gsport with Alt-F4, it comes back to the terminal session (does not power off as indicated). This allows greater flexibility and the ability to run gsport again without power down.

As indicated above, inserted USB devices (flash drive and memory stick) are not recognized unless the desktop comes up first. I was referencing some image files in the gsport config file, and they could not be found unless the desktop was started, then exited.

Also, I tried KEGS and the configuration failed due to missing ROM files. I have to do some work here (or maybe the distro needs some work).

drkenb commented 10 years ago

David - No idea why, all of a sudden, messages directed to you are being sent to me.

Ken

Visit my sales venues at:

¡¸ Webstore: http://drkenb.blujay.com - Vintage Apple II Computers, Canon Portable Printers & other miscellaneous items

Visit my informational websites at:

¡¸ http://www.Apple2Online.com - the ultimate online resource for the Apple II family of computers!

¡¸ http://CanonPortablePrinters.drkenb.com - the comprehensive online resource for Canon's portable inkjet printers!

¡¸ http://Photography.drkenb.com - Photographic library

¡¸ http://BeauMontFarmWeather.drkenb.com - CWOP Weather Station


Date: Wed, 15 Oct 2014 12:15:56 -0700 From: notifications@github.com To: apple2pi@noreply.github.com Subject: [apple2pi] On RaspApple II distro, the apple2 userid has no password (sudo fails) (#3)

In one particular circumstance, I happened to be in a terminal session with userid apple2. I attempted to use sudo but that fails since I could not enter a password when prompted by sudo (it would not take an empty password promtp; how does one use sudo when the userid has no password?)

So, how did I get into a terminal session with userid apple2?

From the initial terminal session at boot, login as pi. I then issued startx to bring up the desktop (this allowed my inserted USB devices to be recognized). Then I did a logout from the desktop session, back to the terminal session under pi. Type exit, and you get requested to login.

I logged in as apple2. IT CAME UP AS A TERMINAL SESSION, not gsport.

This is where the sudo attempt failed.

However, running gsport from that apple2 logged in terminal session, provides a plus. If one then exits gsport with Alt-F4, it comes back to the terminal session (does not power off as indicated). This allows greater flexibility and the ability to run gsport again without power down.

As indicated above, inserted USB devices (flash drive and memory stick) are not recognized unless the desktop comes up first. I was referencing some image files in the gsport config file, and they could not be found unless the desktop was started, then exited.

Also, I tried KEGS and the configuration failed due to missing ROM files. I have to do some work here (or maybe the distro needs some work).

¡X Reply to this email directly or view it on GitHub.

dschmenk commented 10 years ago

Hi Ken-

Thanks for all the feedback - I'll forward it on to Ivan and we will work it out. It worked in the past, so I don't know what broke. Time for an update, anyway.

As for the messages, probably a github thing.

Dave...

On Wed, 15 Oct 2014 12:32:01 -0700 drkenb notifications@github.com wrote:

David - No idea why, all of a sudden, messages directed to you are being sent to me. Ken

Visit my sales venues at:

¡¸ Webstore: http://drkenb.blujay.com - Vintage Apple II Computers, Canon Portable Printers & other miscellaneous items

Visit my informational websites at:

¡¸ http://www.Apple2Online.com - the ultimate online resource for the Apple II family of computers! ¡¸ http://CanonPortablePrinters.drkenb.com - the comprehensive online resource for Canon's portable inkjet printers! ¡¸ http://Photography.drkenb.com - Photographic library

¡¸ http://BeauMontFarmWeather.drkenb.com - CWOP Weather Station


Date: Wed, 15 Oct 2014 12:15:56 -0700 From: notifications@github.com To: apple2pi@noreply.github.com Subject: [apple2pi] On RaspApple II distro, the apple2 userid has no password (sudo fails) (#3)

In one particular circumstance, I happened to be in a terminal session with userid apple2. I attempted to use sudo but that fails since I could not enter a password when prompted by sudo (it would not take an empty password promtp; how does one use sudo when the userid has no password?)

So, how did I get into a terminal session with userid apple2?

From the initial terminal session at boot, login as pi. I then issued startx to bring up the desktop (this allowed my inserted USB devices to be recognized). Then I did a logout from the desktop session, back to the terminal session under pi. Type exit, and you get requested to login.

I logged in as apple2. IT CAME UP AS A TERMINAL SESSION, not gsport.

This is where the sudo attempt failed.

However, running gsport from that apple2 logged in terminal session, provides a plus. If one then exits gsport with Alt-F4, it comes back to the terminal session (does not power off as indicated). This allows greater flexibility and the ability to run gsport again without power down.

As indicated above, inserted USB devices (flash drive and memory stick) are not recognized unless the desktop comes up first. I was referencing some image files in the gsport config file, and they could not be found unless the desktop was started, then exited.

Also, I tried KEGS and the configuration failed due to missing ROM files. I have to do some work here (or maybe the distro needs some work).

¡X Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub: https://github.com/dschmenk/apple2pi/issues/3#issuecomment-59262176