Coda File System

Re: Clog problem 4.6.5

From: LEE, Yui-wah <clement_at_cse.cuhk.edu.hk>
Date: Wed, 16 Sep 1998 16:43:05 +0800 (CST)
"Khairul Azmi" <k_azmi_at_hotmail.com>
> 
> Okey let me try again
>
> on SCM machine
> /etc/passwd
> azmi:passwd01:502:502:RHS Linux User:/home/azmi:/bin/csh
> admin:passwd02:500:500::/home/admin:/bin/csh
> 
> /vice/db/passwd.coda
> root_at_cel_linux2.mimos.my 13: cat /vice/db/passwd.coda
> 500     passwd03        admin user
> 502     passwd04        azmi tuan
> 
> Note: should passwd01 = passwd04???

No, they don't need to be the same.

> 
> on coda client
> /etc/passwd
> azmi:passwd05:502:502:,,,,:/home/azmi:/bin/csh
> admin:passwd06:500:500::/home/admin:/bin/csh
> 
> Note: how about passwd05 = passwd01

No, they don't need to be the same either.

> root_at_cel4.mimos.my 45: su admin
> [admin_at_cel4]$ clog
> Password: 
> Invalid login (RPC2_NOTAUTHENTICATED (F)).
> 
> but on SCM machine
> root_at_cel_linux2.mimos.my: tail -f /vice/auth2/AuthLog
> 15:41:42 In PWGetKeys()
> 15:41:42        vid = 500
> 15:41:42        vid = 500
> 15:41:42 Authentication failed for "admin" from 26.133.228.192
> 
> Any idea? I'm already upset here

By the way, have you re-run pwd2pdb and pcfgen after modifying
user.coda and group.coda.  And don't confuse user.coda from
passwd.coda, there were some name conflicts and the manual
maybe a bit confusing ...  as I said in one of my previous post (note).

The following are my log of my Coda server installation:

[root_at_xylophone db]# vi user.coda

[clement_at_xylophone db]$ cat user.coda
admin::500::Administrator::
clement::6822::LEE, Yui-wah (Clement)::

[root_at_xylophone db]# vi group.coda

[clement_at_xylophone db]$ cat group.coda
System:Administrators   -204    admin

[root_at_xylophone db]# pwd2pdb -u user.coda -g group.coda > vice.pdb
2 user entries found

[root_at_xylophone db]# pcfgen vice.pdb

(I was a bit surprise that I don't need to run initpw, as suggested by
the manual.  I believe that it was because initpw has already been done
by the vice-setup scripts.)

Hope this help !

-- Clement


(note)
I wrote:
>
> 3) user.coda or passwd.coda ?
> 
>    My understanding is that, long ago, the file with the following format
>    was (once) called user.coda
> 
> 	 <User Name>::<User Id>::<Extra Text>::
> 
>    And at some point in time, it was changed to "passwd.coda" (with
>    the same format).
> 
>    However, in recent release, the same file is again renamed back to
>    "user.coda", and "passwd.coda" is used now as the default name for
>    another file which has the following format.
> 
> 	 uid<TAB>acutal cleartext password<TAB>any desired info
> 
>    (which is used with initpw.  Old coda manual used to call that file
>    users.file) 
> 
>    The renaming activties cause confusions (especially to "old"
>    Coda admin), and there are still little bugs scatter arounds in the
>    documentation.
> 
>    (My patches assume the second file named as passwd.coda, which may
>    not be a bad choice, once the codes and docs are made consistent).
> 



======================================================================
Yui-wah LEE (Clement)                              Tel: (852)-26098412
Department of Computer Science and Engineering,    Fax: (852)-26035024 
The Chinese University of Hong Kong     Email: clement_at_cse.cuhk.edu.hk
======================================================================
Received on 1998-09-16 04:44:55