9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] authentication with telnet
@ 2001-01-02 17:51 vecera
  2001-01-04  3:28 ` arisawa
  0 siblings, 1 reply; 7+ messages in thread
From: vecera @ 2001-01-02 17:51 UTC (permalink / raw)
  To: 9fans

When I use telnet to login to my CPU server
and create a file his owner is 'none' user.
I expect that if I answer chalenge+responde
dialog I get my user id.
Why not?

vecera


Sent via Deja.com
http://www.deja.com/


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

* Re: [9fans] authentication with telnet
  2001-01-02 17:51 [9fans] authentication with telnet vecera
@ 2001-01-04  3:28 ` arisawa
  2001-01-05 10:45   ` [9fans] " vecera
  0 siblings, 1 reply; 7+ messages in thread
From: arisawa @ 2001-01-04  3:28 UTC (permalink / raw)
  To: 9fans

Hello,

>When I use telnet to login to my CPU server
>and create a file his owner is 'none' user.
>I expect that if I answer chalenge+responde
>dialog I get my user id.
>Why not?
>
>vecera

Look /adm/users
and confirm your ID is registered.

Kenji Arisawa
E-mail: arisawa@aichi-u.ac.jp


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

* [9fans] Re: authentication with telnet
  2001-01-04  3:28 ` arisawa
@ 2001-01-05 10:45   ` vecera
  2001-01-05 14:58     ` Boyd Roberts
  0 siblings, 1 reply; 7+ messages in thread
From: vecera @ 2001-01-05 10:45 UTC (permalink / raw)
  To: 9fans

I think my user account is setup correctly.
My login name is in /adm/users and password is set.
When I telnet or ftp to cpu server and
run 'who' command I see that I am logged in.
BUT I have rights of user 'none' ! Why???

vecera


> >When I use telnet to login to my CPU server
> >and create a file his owner is 'none' user.
> >I expect that if I answer chalenge+responde
> >dialog I get my user id.
> >Why not?
>
> Look /adm/users
> and confirm your ID is registered.


Sent via Deja.com
http://www.deja.com/


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

* Re: [9fans] Re: authentication with telnet
  2001-01-05 10:45   ` [9fans] " vecera
@ 2001-01-05 14:58     ` Boyd Roberts
  0 siblings, 0 replies; 7+ messages in thread
From: Boyd Roberts @ 2001-01-05 14:58 UTC (permalink / raw)
  To: 9fans

From: <vecera@writeme.com>

> I think my user account is setup correctly.
> My login name is in /adm/users and password is set.
> When I telnet or ftp to cpu server and
> run 'who' command I see that I am logged in.
> BUT I have rights of user 'none' ! Why???

ok, the deal is, as i understand it is that yer
not really auth'd.  i could and may well be wrong,
but 9P is a long way from telnet.




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

* [9fans] Re: authentication with telnet
  2001-01-05 15:05 presotto
@ 2001-01-08  9:54 ` vecera
  0 siblings, 0 replies; 7+ messages in thread
From: vecera @ 2001-01-08  9:54 UTC (permalink / raw)
  To: 9fans

Thanks. Now it works. I am happy. :-)

vecera

PS: I think in case
when I forgot to permit access in /lib/ndb/auth the AS should
kick mi out and NOT give mi access rights of user 'none' - allow me
log in and browse.

> By having the rights of 'none' do you mean that you
> once telnet'd in you cannot create files as yourself?
> What is the hostowner (authid, contents of /dev/hostowner,
> users that appears when you 'ls -l '#c') of the cpu server?
> He needs to have rights to 'speak for' you for this to work.
>
> For example, our systems run with the hostowner 'bootes'.  On
> the auth server is the file /lib/ndb/auth with the contents:
>
> hostid=bootes
> 	uid=!sys uid=!adm uid=*
>
> which means that bootes can speak for anyone except sys and adm.
> You'll need something similar.


Sent via Deja.com
http://www.deja.com/


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

* [9fans] Re: authentication with telnet
@ 2001-01-05 15:05 presotto
  2001-01-08  9:54 ` vecera
  0 siblings, 1 reply; 7+ messages in thread
From: presotto @ 2001-01-05 15:05 UTC (permalink / raw)
  To: 9fans

By having the rights of 'none' do you mean that you
once telnet'd in you cannot create files as yourself?
What is the hostowner (authid, contents of /dev/hostowner,
users that appears when you 'ls -l '#c') of the cpu server?
He needs to have rights to 'speak for' you for this to work.

For example, our systems run with the hostowner 'bootes'.  On
the auth server is the file /lib/ndb/auth with the contents:

hostid=bootes
	uid=!sys uid=!adm uid=*

which means that bootes can speak for anyone except sys and adm.
You'll need something similar.


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

* Re: [9fans] Re: authentication with telnet
@ 2001-01-05 11:58 forsyth
  0 siblings, 0 replies; 7+ messages in thread
From: forsyth @ 2001-01-05 11:58 UTC (permalink / raw)
  To: 9fans

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

what does it say in /sys/log/auth?


[-- Attachment #2: Type: message/rfc822, Size: 2115 bytes --]

From: vecera@writeme.com
To: 9fans@cse.psu.edu
Subject: [9fans] Re: authentication with telnet
Date: Fri, 5 Jan 2001 10:45:48 GMT
Message-ID: <9347bp$68t$1@nnrp1.deja.com>

I think my user account is setup correctly.
My login name is in /adm/users and password is set.
When I telnet or ftp to cpu server and
run 'who' command I see that I am logged in.
BUT I have rights of user 'none' ! Why???

vecera


> >When I use telnet to login to my CPU server
> >and create a file his owner is 'none' user.
> >I expect that if I answer chalenge+responde
> >dialog I get my user id.
> >Why not?
>
> Look /adm/users
> and confirm your ID is registered.


Sent via Deja.com
http://www.deja.com/

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

end of thread, other threads:[~2001-01-08  9:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-02 17:51 [9fans] authentication with telnet vecera
2001-01-04  3:28 ` arisawa
2001-01-05 10:45   ` [9fans] " vecera
2001-01-05 14:58     ` Boyd Roberts
2001-01-05 11:58 forsyth
2001-01-05 15:05 presotto
2001-01-08  9:54 ` vecera

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