9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] (RPi) Added new user - now what?
@ 2013-08-14 23:29 Roswell Grey
  2013-08-14 23:53 ` Deepak Chawla
  2013-08-15  7:08 ` Bakul Shah
  0 siblings, 2 replies; 7+ messages in thread
From: Roswell Grey @ 2013-08-14 23:29 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 236 bytes --]

I've done con -l /srv/fscons and gone through that process. But I don't
know what to do to log in as the new user. The console just does its
business and logs in to Glenda. How do I make it prompt, or is this even
possible? Thanks!

[-- Attachment #2: Type: text/html, Size: 260 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [9fans] (RPi) Added new user - now what?
  2013-08-14 23:29 [9fans] (RPi) Added new user - now what? Roswell Grey
@ 2013-08-14 23:53 ` Deepak Chawla
  2013-08-15  7:08   ` Richard Miller
  2013-08-15  7:14   ` Richard Miller
  2013-08-15  7:08 ` Bakul Shah
  1 sibling, 2 replies; 7+ messages in thread
From: Deepak Chawla @ 2013-08-14 23:53 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 470 bytes --]

Check your plan9.ini (in the 9fat partition), it probably has a
"user=glenda" line in there. Remove it and it'll prompt for a user name.


On Wed, Aug 14, 2013 at 4:29 PM, Roswell Grey <orangecalx01@gmail.com>wrote:

> I've done con -l /srv/fscons and gone through that process. But I don't
> know what to do to log in as the new user. The console just does its
> business and logs in to Glenda. How do I make it prompt, or is this even
> possible? Thanks!
>

[-- Attachment #2: Type: text/html, Size: 798 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [9fans] (RPi) Added new user - now what?
  2013-08-14 23:29 [9fans] (RPi) Added new user - now what? Roswell Grey
  2013-08-14 23:53 ` Deepak Chawla
@ 2013-08-15  7:08 ` Bakul Shah
  1 sibling, 0 replies; 7+ messages in thread
From: Bakul Shah @ 2013-08-15  7:08 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On Wed, 14 Aug 2013 16:29:40 PDT Roswell Grey <orangecalx01@gmail.com> wrote:
>
> I've done con -l /srv/fscons and gone through that process. But I don't
> know what to do to log in as the new user. The console just does its
> business and logs in to Glenda. How do I make it prompt, or is this even
> possible? Thanks!

[Assuming you started with
http://plan9.bell-labs.com/sources/contrib/miller/9pi.img.gz]

This is decided by what's in cmdline.txt on the dos partition.
Do the following

dosmnt 1 /n/dos
cd /n/dos
cp cmdline-term.txt cmdline.txt
fshalt -r



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [9fans] (RPi) Added new user - now what?
  2013-08-14 23:53 ` Deepak Chawla
@ 2013-08-15  7:08   ` Richard Miller
  2013-08-15  7:14   ` Richard Miller
  1 sibling, 0 replies; 7+ messages in thread
From: Richard Miller @ 2013-08-15  7:08 UTC (permalink / raw)
  To: 9fans

> Check your plan9.ini (in the 9fat partition), it probably has a
> "user=glenda" line in there. Remove it and it'll prompt for a user name.

Correct, except on the pi it's cmdline.txt instead of plan9.ini




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [9fans] (RPi) Added new user - now what?
  2013-08-14 23:53 ` Deepak Chawla
  2013-08-15  7:08   ` Richard Miller
@ 2013-08-15  7:14   ` Richard Miller
  2013-08-15  7:17     ` erik quanstrom
  1 sibling, 1 reply; 7+ messages in thread
From: Richard Miller @ 2013-08-15  7:14 UTC (permalink / raw)
  To: 9fans

> Check your plan9.ini (in the 9fat partition), it probably has a
> "user=glenda" line in there. Remove it and it'll prompt for a user name.

Correct, except on the pi it's cmdline.txt instead of plan9.ini

... and it's a dos partition instead of 9fat.  Mount with 'dosmnt 1 /n/d'




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [9fans] (RPi) Added new user - now what?
  2013-08-15  7:14   ` Richard Miller
@ 2013-08-15  7:17     ` erik quanstrom
  2013-08-15  7:30       ` Skip Tavakkolian
  0 siblings, 1 reply; 7+ messages in thread
From: erik quanstrom @ 2013-08-15  7:17 UTC (permalink / raw)
  To: 9fans

On Thu Aug 15 03:15:31 EDT 2013, 9fans@hamnavoe.com wrote:
> > Check your plan9.ini (in the 9fat partition), it probably has a
> > "user=glenda" line in there. Remove it and it'll prompt for a user name.
>
> Correct, except on the pi it's cmdline.txt instead of plan9.ini
>
> ... and it's a dos partition instead of 9fat.  Mount with 'dosmnt 1 /n/d'
>
; 9diff 9fat:
/n/sources/plan9/rc/bin/9fat::1,7 - 9fat::1,7
  #!/bin/rc

  rfork e
- part=`{ls /dev/fs/9fat /dev/sd*/9fat >[2]/dev/null}
+ part=`{ls /dev/fs/9fat /dev/sd*/9fat /dev/sd*/dos >[2]/dev/null}
  if(~ $#part 0) {
  	echo 'no 9fat partition found' >[1=2]
  	exit no.9fat

- erik



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [9fans] (RPi) Added new user - now what?
  2013-08-15  7:17     ` erik quanstrom
@ 2013-08-15  7:30       ` Skip Tavakkolian
  0 siblings, 0 replies; 7+ messages in thread
From: Skip Tavakkolian @ 2013-08-15  7:30 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 830 bytes --]

c:

even shorter :)


On Thu, Aug 15, 2013 at 12:17 AM, erik quanstrom
<quanstro@labs.coraid.com>wrote:

> On Thu Aug 15 03:15:31 EDT 2013, 9fans@hamnavoe.com wrote:
> > > Check your plan9.ini (in the 9fat partition), it probably has a
> > > "user=glenda" line in there. Remove it and it'll prompt for a user
> name.
> >
> > Correct, except on the pi it's cmdline.txt instead of plan9.ini
> >
> > ... and it's a dos partition instead of 9fat.  Mount with 'dosmnt 1 /n/d'
> >
> ; 9diff 9fat:
> /n/sources/plan9/rc/bin/9fat::1,7 - 9fat::1,7
>   #!/bin/rc
>
>   rfork e
> - part=`{ls /dev/fs/9fat /dev/sd*/9fat >[2]/dev/null}
> + part=`{ls /dev/fs/9fat /dev/sd*/9fat /dev/sd*/dos >[2]/dev/null}
>   if(~ $#part 0) {
>         echo 'no 9fat partition found' >[1=2]
>         exit no.9fat
>
> - erik
>
>

[-- Attachment #2: Type: text/html, Size: 1426 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-08-15  7:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-14 23:29 [9fans] (RPi) Added new user - now what? Roswell Grey
2013-08-14 23:53 ` Deepak Chawla
2013-08-15  7:08   ` Richard Miller
2013-08-15  7:14   ` Richard Miller
2013-08-15  7:17     ` erik quanstrom
2013-08-15  7:30       ` Skip Tavakkolian
2013-08-15  7:08 ` Bakul Shah

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).