9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* Re: [9fans] Adding a new user.
@ 2014-12-02 21:08 sl
  2014-12-03  0:37 ` erik quanstrom
  0 siblings, 1 reply; 13+ messages in thread
From: sl @ 2014-12-02 21:08 UTC (permalink / raw)
  To: 9fans

The following is 9front-specific but is still generally useful:

http://code.google.com/p/plan9front/issues/detail?id=207

sl



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

* Re: [9fans] Adding a new user.
  2014-12-02 21:08 [9fans] Adding a new user sl
@ 2014-12-03  0:37 ` erik quanstrom
  2014-12-03  0:41   ` erik quanstrom
  0 siblings, 1 reply; 13+ messages in thread
From: erik quanstrom @ 2014-12-03  0:37 UTC (permalink / raw)
  To: 9fans

On Tue Dec  2 13:48:46 PST 2014, sl@9front.org wrote:
> The following is 9front-specific but is still generally useful:
>
> http://code.google.com/p/plan9front/issues/detail?id=207

i believe the user is running kfs, so see kfscmd(8) for details.

- erik



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

* Re: [9fans] Adding a new user.
  2014-12-03  0:37 ` erik quanstrom
@ 2014-12-03  0:41   ` erik quanstrom
  2014-12-03  8:31     ` Mats Olsson
  0 siblings, 1 reply; 13+ messages in thread
From: erik quanstrom @ 2014-12-03  0:41 UTC (permalink / raw)
  To: 9fans

On Tue Dec  2 16:40:27 PST 2014, quanstro@quanstro.net wrote:
> On Tue Dec  2 13:48:46 PST 2014, sl@9front.org wrote:
> > The following is 9front-specific but is still generally useful:
> >
> > http://code.google.com/p/plan9front/issues/detail?id=207
>
> i believe the user is running kfs, so see kfscmd(8) for details.

sorry, it's a rpi.  nevermind.  i'm misfiring today.

- erik



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

* Re: [9fans] Adding a new user.
  2014-12-03  0:41   ` erik quanstrom
@ 2014-12-03  8:31     ` Mats Olsson
  2014-12-03  9:00       ` Mats Olsson
  0 siblings, 1 reply; 13+ messages in thread
From: Mats Olsson @ 2014-12-03  8:31 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

OK. Got the message. Will act accordingly.

2014-12-03 1:41 GMT+01:00, erik quanstrom <quanstro@quanstro.net>:
> On Tue Dec  2 16:40:27 PST 2014, quanstro@quanstro.net wrote:
>> On Tue Dec  2 13:48:46 PST 2014, sl@9front.org wrote:
>> > The following is 9front-specific but is still generally useful:
>> >
>> > http://code.google.com/p/plan9front/issues/detail?id=207
>>
>> i believe the user is running kfs, so see kfscmd(8) for details.
>
> sorry, it's a rpi.  nevermind.  i'm misfiring today.
>
> - erik
>
>



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

* Re: [9fans] Adding a new user.
  2014-12-03  8:31     ` Mats Olsson
@ 2014-12-03  9:00       ` Mats Olsson
  0 siblings, 0 replies; 13+ messages in thread
From: Mats Olsson @ 2014-12-03  9:00 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Hi guys!

Problem solved. Have my new user.

Have fun,
Mats

2014-12-03 9:31 GMT+01:00, Mats Olsson <plan9.meo@gmail.com>:
> OK. Got the message. Will act accordingly.
>
> 2014-12-03 1:41 GMT+01:00, erik quanstrom <quanstro@quanstro.net>:
>> On Tue Dec  2 16:40:27 PST 2014, quanstro@quanstro.net wrote:
>>> On Tue Dec  2 13:48:46 PST 2014, sl@9front.org wrote:
>>> > The following is 9front-specific but is still generally useful:
>>> >
>>> > http://code.google.com/p/plan9front/issues/detail?id=207
>>>
>>> i believe the user is running kfs, so see kfscmd(8) for details.
>>
>> sorry, it's a rpi.  nevermind.  i'm misfiring today.
>>
>> - erik
>>
>>
>



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

* Re: [9fans] Adding a new user.
  2014-12-02 20:54   ` Mats Olsson
@ 2014-12-02 21:13     ` Mats Olsson
  0 siblings, 0 replies; 13+ messages in thread
From: Mats Olsson @ 2014-12-02 21:13 UTC (permalink / raw)
  To: mischief; +Cc: 9fans

Hi again!

Missed "adm" in adm +<user> in my brief explanation earlier. Think
I'll first check for a command in /bin/rc that would be more
appropriate than 'uname'. There just must be one more obvious that
I've missed. Well, will see tomorrow.

Best wishes,
Mats

2014-12-02 21:54 GMT+01:00, Mats Olsson <plan9.meo@gmail.com>:
> OK my bad. The question I asked was like thinking out loud without
> giving details. So I'm using Plan 9 on the Raspberry Pi (Plan 9 from
> Bell Labs that is). The problem is that after running "uname <user>
> <user>" (can't reproduce right now since my screen/TV is occupied) the
> rc shell is put on hold and in the documentation (just have a single
> side printout so I can't give any accurate source of it right now)
> says that you can give sys and adm rights to that user by continuing
> with: uname sys +<user> and uname +<user> witch gives you error
> messages (can't be more specific now because of the forementioned
> reasons). Then we also have the problem with this specific platform
> that defaults to user glenda without prompt. The cmdline.txt looks
> like this; readparts=1 nobootprompt=local user=glenda ipconfig= so the
> system must be halted to change the user. The file cmdline.txt is kind
> of the init file in several OS's for the Raspberry Pi. My first test
> would be to run "uname <user> <user> and ctrl+alt+del to reboot and
> cut the powed to change the user in the cmdline.txt file. Hopefully (I
> think it was possible to get into the system again) I get i to Plan 9
> and can run: "/sys/lib/newuser" as said in the "doc" I have. Now I
> should have asked (and do) if this is the right thing to do? or what
> could get me another user than the default? I hope you bear with me
> even if this whole thing went backwards. First the question and then
> the problem or more correct the situation. Thankful for any hints in
> the right direction or just what you guys think about the situation.
> I'll give it a try tomorrow anyhow. Thanks for showing interest!
>
> Kind regards,
> Mats
>
> 2014-12-02 19:08 GMT+01:00, mischief@9.offblast.org
> <mischief@9.offblast.org>:
>> what 'doc' do you refer to? what didn't work properly? nobody can help
>> you
>> if you don't explain what the problem is.
>>
>



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

* Re: [9fans] Adding a new user.
  2014-12-02 18:08 ` mischief
@ 2014-12-02 20:54   ` Mats Olsson
  2014-12-02 21:13     ` Mats Olsson
  0 siblings, 1 reply; 13+ messages in thread
From: Mats Olsson @ 2014-12-02 20:54 UTC (permalink / raw)
  To: mischief; +Cc: 9fans

OK my bad. The question I asked was like thinking out loud without
giving details. So I'm using Plan 9 on the Raspberry Pi (Plan 9 from
Bell Labs that is). The problem is that after running "uname <user>
<user>" (can't reproduce right now since my screen/TV is occupied) the
rc shell is put on hold and in the documentation (just have a single
side printout so I can't give any accurate source of it right now)
says that you can give sys and adm rights to that user by continuing
with: uname sys +<user> and uname +<user> witch gives you error
messages (can't be more specific now because of the forementioned
reasons). Then we also have the problem with this specific platform
that defaults to user glenda without prompt. The cmdline.txt looks
like this; readparts=1 nobootprompt=local user=glenda ipconfig= so the
system must be halted to change the user. The file cmdline.txt is kind
of the init file in several OS's for the Raspberry Pi. My first test
would be to run "uname <user> <user> and ctrl+alt+del to reboot and
cut the powed to change the user in the cmdline.txt file. Hopefully (I
think it was possible to get into the system again) I get i to Plan 9
and can run: "/sys/lib/newuser" as said in the "doc" I have. Now I
should have asked (and do) if this is the right thing to do? or what
could get me another user than the default? I hope you bear with me
even if this whole thing went backwards. First the question and then
the problem or more correct the situation. Thankful for any hints in
the right direction or just what you guys think about the situation.
I'll give it a try tomorrow anyhow. Thanks for showing interest!

Kind regards,
Mats

2014-12-02 19:08 GMT+01:00, mischief@9.offblast.org <mischief@9.offblast.org>:
> what 'doc' do you refer to? what didn't work properly? nobody can help you
> if you don't explain what the problem is.
>



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

* Re: [9fans] Adding a new user.
  2014-12-02 16:33 Mats Olsson
  2014-12-02 16:42 ` Jacob Todd
@ 2014-12-02 18:08 ` mischief
  2014-12-02 20:54   ` Mats Olsson
  1 sibling, 1 reply; 13+ messages in thread
From: mischief @ 2014-12-02 18:08 UTC (permalink / raw)
  To: plan9.meo, 9fans

what 'doc' do you refer to? what didn't work properly? nobody can help you if you don't explain what the problem is.



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

* Re: [9fans] Adding a new user.
@ 2014-12-02 17:10 sl
  0 siblings, 0 replies; 13+ messages in thread
From: sl @ 2014-12-02 17:10 UTC (permalink / raw)
  To: 9fans

> I think the doc about adding a new user is outdated (or it's just me
> that can't make it work properly) so I would be very grateful if
> someone could describe the steps of adding a new user in terms so that
> even I can understand. Thanks a lot!

Which doc?

What steps did you take?

What happened when you tried?

sl



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

* Re: [9fans] Adding a new user.
  2014-12-02 16:33 Mats Olsson
@ 2014-12-02 16:42 ` Jacob Todd
  2014-12-02 18:08 ` mischief
  1 sibling, 0 replies; 13+ messages in thread
From: Jacob Todd @ 2014-12-02 16:42 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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

what didn't work? Are you using the labs distribution, 9front or 9atom?

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

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

* [9fans] Adding a new user.
@ 2014-12-02 16:33 Mats Olsson
  2014-12-02 16:42 ` Jacob Todd
  2014-12-02 18:08 ` mischief
  0 siblings, 2 replies; 13+ messages in thread
From: Mats Olsson @ 2014-12-02 16:33 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Hi guys!

I think the doc about adding a new user is outdated (or it's just me
that can't make it work properly) so I would be very grateful if
someone could describe the steps of adding a new user in terms so that
even I can understand. Thanks a lot!

Kind regards,
Mats



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

* [9fans] adding a new user
@ 2004-02-27  5:17 David Caplan
  2004-02-27  4:34 ` andrey mirtchovski
  0 siblings, 1 reply; 13+ messages in thread
From: David Caplan @ 2004-02-27  5:17 UTC (permalink / raw)
  To: 9fans

Hello,

  I'm quite new to plan9, and I've just installed it on a laptop. Could
  somebody tell me how to add new users? or maybe point me to a man page?

  Also, has anybody installed p9 on a laptop with the Ati Rage Lt Pro
  video card? If so, which video driver are you using?

  Thanks,
    - David

--
David Caplan <david at david.ath.cx>
Key fingerprint: B586 07D3 6EC0 EB36 6866  18C8 79B3 3A94 5898 39A0



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

* Re: [9fans] adding a new user
  2004-02-27  5:17 [9fans] adding " David Caplan
@ 2004-02-27  4:34 ` andrey mirtchovski
  0 siblings, 0 replies; 13+ messages in thread
From: andrey mirtchovski @ 2004-02-27  4:34 UTC (permalink / raw)
  To: 9fans

the fossilcons man page contain all information about new users.
depending on installation you may need to create some extra
directories (apart from /usr/newuser, which fossil will create if you
don't tell it not to).  on ucalgary i always forget to create
/mail/box/newuser and /cron/newuser so there's this script i use,
which has the potential to turn into a basic plan9 command if i write
the man page for it:

home% cat /bin/adduser
#!/bin/rc

rfork e

switch( $#*) {
	case 1
		newuser=$1
	case *
		{
			echo 'usage: '^$0^' username'
			exit usage
		}
}


echo 'echo uname '^$newuser $newuser^' >> /srv/fscons'
echo 'echo create /active/mail/box/'^$user $user^' upas d775 >> /srv/fscons'
echo 'echo create /active/cron/'^$user $user $user^' d775 >> /srv/fscons'
home%

it works like 'kill' -- suggesting the command for creating a new
user.  if there's anything extra i can edit the commands in place
before sending them to rc:

home% adduser f2f
echo uname f2f f2f >> /srv/fscons
echo create /active/mail/box/andrey andrey upas d775 >> /srv/fscons
echo create /active/cron/andrey andrey andrey d775 >> /srv/fscons
home%

works only as the fossilcons owner :)

andrey



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

end of thread, other threads:[~2014-12-03  9:00 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-02 21:08 [9fans] Adding a new user sl
2014-12-03  0:37 ` erik quanstrom
2014-12-03  0:41   ` erik quanstrom
2014-12-03  8:31     ` Mats Olsson
2014-12-03  9:00       ` Mats Olsson
  -- strict thread matches above, loose matches on Subject: below --
2014-12-02 17:10 sl
2014-12-02 16:33 Mats Olsson
2014-12-02 16:42 ` Jacob Todd
2014-12-02 18:08 ` mischief
2014-12-02 20:54   ` Mats Olsson
2014-12-02 21:13     ` Mats Olsson
2004-02-27  5:17 [9fans] adding " David Caplan
2004-02-27  4:34 ` andrey mirtchovski

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).