9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] ftping to a noworld account
@ 2005-01-06 13:27 Heiko Dudzus
  2005-01-06 17:16 ` Heiko Dudzus
  0 siblings, 1 reply; 2+ messages in thread
From: Heiko Dudzus @ 2005-01-06 13:27 UTC (permalink / raw)
  To: 9fans

I need access via ftp from unix without the netkey dialogue for an
automated login.  Following ipserv(8) I need a user in noworld group.

So I...

1) installed a user named 'ftpuser' with home directory
2) added ftpuser to noworld
3) auth/changeuser ftpuser; to give him a password

When I try to log in via ftp, the server accepts the user, asks for
the password and says "530 Not logged in"

Affected log files are /sys/log/ftp and /sys/log/auth. ftp saying:

| lagavulin Jan  6 14:14:02 192.168.xx.xx.5076 user ftpuser 192.168.xx.xx

auth is saying:

| lagavulin Jan  6 14:14:06 cr-ok ftpuser@bootes(192.168.xx.xx)

Nothing bad, right? Other log files didn't get changed.

Why can't ftpuser log in?  His $home is chmodded 775, owned by
himself, so he should be able to get access, even with the permissions
AND'ed with 0771 (fossil(4))

TIA, Heiko (who double-checked to use the right password)



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

* Re: [9fans] ftping to a noworld account
  2005-01-06 13:27 [9fans] ftping to a noworld account Heiko Dudzus
@ 2005-01-06 17:16 ` Heiko Dudzus
  0 siblings, 0 replies; 2+ messages in thread
From: Heiko Dudzus @ 2005-01-06 17:16 UTC (permalink / raw)
  To: 9fans

> I need access via ftp from unix without the netkey dialogue for an
> automated login.  Following ipserv(8) I need a user in noworld group.
> 
> So I...
> 
> 1) installed a user named 'ftpuser' with home directory
> 2) added ftpuser to noworld
> 3) auth/changeuser ftpuser; to give him a password
 
I haved missed out a 4th necessary step:

4) arrange a namespace file /lib/namespace.noworld

Well documented.  This time I didn't f%$§ the reading manual as well
as I should.  ;-/



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

end of thread, other threads:[~2005-01-06 17:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-06 13:27 [9fans] ftping to a noworld account Heiko Dudzus
2005-01-06 17:16 ` Heiko Dudzus

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