9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] create user with password
@ 2009-02-17 10:22 Nino on NetBSD 4.0
  2009-02-17 11:43 ` Anthony Sorace
       [not found] ` <a81fe9be0902170323l659dd8f5s61d154ffdeccf3b3@mail.gmail.com>
  0 siblings, 2 replies; 6+ messages in thread
From: Nino on NetBSD 4.0 @ 2009-02-17 10:22 UTC (permalink / raw)
  To: 9fans

Dear all,

I am a newbie and looking into
Plan 9 - now in earnest. I have
been considering it for the last
two years. (To make it short,
I'll have a lot of questions,
naturally, and I kindly ask you
to be patient with me...)

Firstly, I would like to have a
user. I don't like to be glenda,
actually, and I would like to
remove glenda alltogether. I have
found many different articles on
how to create a user, and
somehow now I have the user nino.

But I do not know how to set a
password for nino. The things with
auth/keyfs which I read somehow do
not work. So how can I have a
password? - I kindly ask you to
tell me the commands. Assume you
want to create a new user, what
would you type at the terminal? What
I did was this thing with
uname nino nino,
uname nino +sys and
uname nino +adm.

After nino has a passoword, I would
like to know two things: 1st: How do
you make a "normal" user? - I guess
I just have to omit the +sys and
+adm stuff above. 2nd: How do you
make a "superuser"? - Somehow the
system complained that nino has no
right to change /dev/key or
something thelike. Glenda could not
do it, either. Adm apparently did
not exist, I could not log him in
anyway.

I thank you in advance for your kind
help.

Kind regards,

Nino
--
Jetzt 1 Monat kostenlos! GMX FreeDSL - Telefonanschluss + DSL
f�r nur 17,95 Euro/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569a



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

* Re: [9fans] create user with password
  2009-02-17 10:22 [9fans] create user with password Nino on NetBSD 4.0
@ 2009-02-17 11:43 ` Anthony Sorace
       [not found] ` <a81fe9be0902170323l659dd8f5s61d154ffdeccf3b3@mail.gmail.com>
  1 sibling, 0 replies; 6+ messages in thread
From: Anthony Sorace @ 2009-02-17 11:43 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

the model around users and passwords can be one of the most confusing
things for someone coming from other systems. the very short,
oversimplified version is that plan9 doesn't really carae about such
things if all you're doing is local access; you'll need a real
user/passwd when you start trying to access remote resources.

when you boot a plan9 kernel, it has a cocept of "hostowner"
(sometimes refered to as 'eve'). conventially, for terminals right
after installation, this is "glenda", but it can be almost anything
you like. nino, glenda, adm, or iamnotreallyauser should all work.
hostowner wil be set to that, and hostowner will own all the kernel
resources and all the initial processes (except, perhaps, a few
started as "none"). if you'd like to reboot your box as 'adm' or
'glenda' and scribble all over important system files, nothing will
stop you.

as soon as you try to access some remote resource, however, you're
going to be asked to present credentials demonstrating you are who you
say you are. an "auth server" will get involved, and then the process
with the auth/* files will be necessary.

you're entirely able to set this up on your local terminal to get a
sense of how it all fits together (read the man pages and wiki entries
on setting up an auth server), but keep in mind the local
permisiveness remains. this can be disconcerting to somone used to the
illusion of security provided by a local password. if your data is
that important, you ought to be encrypting it if there's some chance
an untrusted party will physically get their hands on it. once someone
has their hands on your disk, all bets are off.



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

* Re: [9fans] create user with password
       [not found] ` <a81fe9be0902170323l659dd8f5s61d154ffdeccf3b3@mail.gmail.com>
@ 2009-02-17 12:34   ` Nino on NetBSD 4.0
  2009-02-17 13:23     ` erik quanstrom
  0 siblings, 1 reply; 6+ messages in thread
From: Nino on NetBSD 4.0 @ 2009-02-17 12:34 UTC (permalink / raw)
  To: 9fans

Dear all,

First of all, let me thank
you for your kind attention.

I did run newuser, in fact,
that is what got me out of
the console. I now have a
graphical environment. Still,
that did not give me a
password.

Rest assured, I am perfectly
well aware that as soon as
somone gets his hands on my
machine, my data is basically
his unless it is encrypted.

But in the long term, the idea
will be just this - my Plan9
box shall be remotely accessible.
(From Plan9, BSD, Linux and
Windows, if possible.) Thus, I
want to know how to get to a
password. Like, say, in Linux you
would say: passwd nino.

So, basic question remains:
What I would like to have
is that user nino has a password
and is the owner of the machine
and everything. Let us say someone
else, say, "puppet" shall be
another user running as a non-
administrating user. How exactly
do I set this up? (At this stage,
I just want to see what puppet can
do and what puppet cannot do.)

(I am reading the man pages, but
I must say, at least personally,
I find e.g. FreeBSD's man pages less
confusing. Then again, Plan 9 is
entirely new to me.)
--
Jetzt 1 Monat kostenlos! GMX FreeDSL - Telefonanschluss + DSL
f�r nur 17,95 Euro/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569a



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

* Re: [9fans] create user with password
  2009-02-17 12:34   ` Nino on NetBSD 4.0
@ 2009-02-17 13:23     ` erik quanstrom
  0 siblings, 0 replies; 6+ messages in thread
From: erik quanstrom @ 2009-02-17 13:23 UTC (permalink / raw)
  To: 9fans

> But in the long term, the idea
> will be just this - my Plan9
> box shall be remotely accessible.
> (From Plan9, BSD, Linux and
> Windows, if possible.) Thus, I
> want to know how to get to a
> password. Like, say, in Linux you
> would say: passwd nino.

in plan 9, such a remotely-accessable machine
is called a cpu server.  typically its hostowner
differs from one's own user.  (like unix "root".)
the standard cpu hostowner is bootes.

you have already entered users into fossil's
user database, but read auth(8) on how
to add users to the authentication database.

/sys/doc/auth.ps has more information on
authentication.

- erik



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

* Re: [9fans] create user with password
  2009-02-17 15:48 Jonas Amoson
@ 2009-02-18  9:52 ` Nino on NetBSD 4.0
  0 siblings, 0 replies; 6+ messages in thread
From: Nino on NetBSD 4.0 @ 2009-02-18  9:52 UTC (permalink / raw)
  To: Jonas Amoson, 9fans

Dear Jonas,

Thank you very much for the link!
Looks promising indeed. I had some
weird problems with the key, and
you article obviously says that I
have to create it first...

Kind regards,

Nino

-------- Original-Nachricht --------
> Datum: Tue, 17 Feb 2009 07:48:30 -0800
> Von: "Jonas Amoson" <jonas.amoson@home.se>
> An: 9fans@9fans.net
> Betreff: Re: [9fans] create user with password

> Hallo Nino!
>
> I am also a beginner to the system, and I have just
> recently started to use the system by logging in from
> a remote system. Here is what I have done so far.
>
> I have done a normal Plan9 installation, on which I
> can log in as any user. I have two users, 'glenda'
> with adm rights, and my own user 'jam' that I have
> added as you describe. If I log on directly on this
> machine, I am asked of no password.
>
> But instead of logging on to the machine directly,
> I connect to it using drawterm. I am then asked
> for a username and a password. the docment
> that made me succeed in setting this up is:
>
> http://www.plan9.bell-labs.com/wiki/plan9/Drawterm_to_your_terminal/inde
> x.html
>
> Regards,
> Jonas
>
>
> <-----Ursprungligt Meddelande----->
>   From: Nino on NetBSD 4.0 [nbsdold@gmx.net]
> Sent: 17/2/2009 1:35:53 PM
> To: 9fans@9fans.net
> Subject: Re: [9fans] create user with password
>
> Dear all,
>
> First of all, let me thank
> you for your kind attention.
>
> I did run newuser, in fact,
> that is what got me out of
> the console. I now have a
> graphical environment. Still,
> that did not give me a
> password.
>
> Rest assured, I am perfectly
> well aware that as soon as
> somone gets his hands on my
> machine, my data is basically
> his unless it is encrypted.
>
> But in the long term, the idea
> will be just this - my Plan9
> box shall be remotely accessible.
> (From Plan9, BSD, Linux and
> Windows, if possible.) Thus, I
> want to know how to get to a
> password. Like, say, in Linux you
> would say: passwd nino.
>
> So, basic question remains:
> What I would like to have
> is that user nino has a password
> and is the owner of the machine
> and everything. Let us say someone
> else, say, "puppet" shall be
> another user running as a non-
> administrating user. How exactly
> do I set this up? (At this stage,
> I just want to see what puppet can
> do and what puppet cannot do.)
>
> (I am reading the man pages, but
> I must say, at least personally,
> I find e.g. FreeBSD's man pages less
> confusing. Then again, Plan 9 is
> entirely new to me.)
> --
> Jetzt 1 Monat kostenlos! GMX FreeDSL - Telefonanschluss + DSL
> f�r nur 17,95 Euro/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569a
>
> .
>
>
>
> <P><p><font face�rial, Helvetica, sans-serif" size�"
> style�ont-size:13.5px">_______________________________________________________________<BR>
> </font>

--
Psssst! Schon vom neuen GMX MultiMessenger geh�rt? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger01



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

* Re: [9fans] create user with password
@ 2009-02-17 15:48 Jonas Amoson
  2009-02-18  9:52 ` Nino on NetBSD 4.0
  0 siblings, 1 reply; 6+ messages in thread
From: Jonas Amoson @ 2009-02-17 15:48 UTC (permalink / raw)
  To: 9fans

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

Hallo Nino!

I am also a beginner to the system, and I have just
recently started to use the system by logging in from
a remote system. Here is what I have done so far.

I have done a normal Plan9 installation, on which I
can log in as any user. I have two users, 'glenda'
with adm rights, and my own user 'jam' that I have
added as you describe. If I log on directly on this
machine, I am asked of no password.

But instead of logging on to the machine directly,
I connect to it using drawterm. I am then asked
for a username and a password. the docment
that made me succeed in setting this up is:

http://www.plan9.bell-labs.com/wiki/plan9/Drawterm_to_your_terminal/inde
x.html 

Regards,
Jonas


<-----Ursprungligt Meddelande----->
  From: Nino on NetBSD 4.0 [nbsdold@gmx.net]
Sent: 17/2/2009 1:35:53 PM
To: 9fans@9fans.net
Subject: Re: [9fans] create user with password 

Dear all, 

First of all, let me thank 
you for your kind attention. 

I did run newuser, in fact, 
that is what got me out of 
the console. I now have a 
graphical environment. Still, 
that did not give me a 
password. 

Rest assured, I am perfectly 
well aware that as soon as 
somone gets his hands on my 
machine, my data is basically 
his unless it is encrypted. 

But in the long term, the idea 
will be just this - my Plan9 
box shall be remotely accessible. 
(From Plan9, BSD, Linux and 
Windows, if possible.) Thus, I 
want to know how to get to a 
password. Like, say, in Linux you 
would say: passwd nino. 

So, basic question remains: 
What I would like to have 
is that user nino has a password 
and is the owner of the machine 
and everything. Let us say someone 
else, say, "puppet" shall be 
another user running as a non- 
administrating user. How exactly 
do I set this up? (At this stage, 
I just want to see what puppet can 
do and what puppet cannot do.) 

(I am reading the man pages, but 
I must say, at least personally, 
I find e.g. FreeBSD's man pages less 
confusing. Then again, Plan 9 is 
entirely new to me.) 
-- 
Jetzt 1 Monat kostenlos! GMX FreeDSL - Telefonanschluss + DSL 
für nur 17,95 Euro/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569a 

. 



<P><p><font face="Arial, Helvetica, sans-serif" size="2" style="font-size:13.5px">_______________________________________________________________<BR> </font>

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

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

end of thread, other threads:[~2009-02-18  9:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-17 10:22 [9fans] create user with password Nino on NetBSD 4.0
2009-02-17 11:43 ` Anthony Sorace
     [not found] ` <a81fe9be0902170323l659dd8f5s61d154ffdeccf3b3@mail.gmail.com>
2009-02-17 12:34   ` Nino on NetBSD 4.0
2009-02-17 13:23     ` erik quanstrom
2009-02-17 15:48 Jonas Amoson
2009-02-18  9:52 ` Nino on NetBSD 4.0

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