[1940] in Athena Bugs

home help back first fref pref prev next nref lref last post

chfn & finger don't deal with Country and Area codes

daemon@ATHENA.MIT.EDU (John T Kohl)
Tue Mar 21 11:27:13 1989

Date: Tue, 21 Mar 89 11:25:55 EST
From: John T Kohl <jtkohl@ATHENA.MIT.EDU>
To: bug-moira@ATHENA.MIT.EDU, bugs@ATHENA.MIT.EDU
I tried to change my phone number in the Moira database to
+1-617-xxx-xxxx, but chfn barfed:

[lycus:/mit/jtkohl]% where chfn
/usr/athena/chfn
[lycus:/mit/jtkohl]% chfn
Changing finger information for jtkohl.
Info last changed on 21-mar-1989 12:17:24 by user jtkohl with chfn.
Default values are printed inside of '[]'.
To accept the default, type <return>.
To have a blank entry, type the word 'none'.

Full name [John T Kohl]: 
Nickname []: 
Home address (Ex: Atkinson 304) [64 Dudley St. Brookline]: 
Home phone number (Ex: 3141592) [7349625]: +1-617-734-9625
Phone numbers can contain only digits.
Home phone number (Ex: 3141592) [7349625]:           
Office address (Exs: E40-342 or 2-108) [E40-351M]: 
Office phone (Ex: 3-1300) [1510]: 
MIT department (Exs: 9, Biology, Information Services [DEC]: 
MIT year (Exs: 1989, '91, Faculty, Grad) [Staf]: 
Changing finger information...
Finger information updated succesfully.
[lycus:/mit/jtkohl]% 


Finger doesn't understand this in the password file, either:

[lycus:/]<root># f nofoo
Login name: nofoo                       In real life: Foo User
Nickname: Nickname
Office: Office,  x3-0000                Home phone: +16177349625
Directory: /nonexistant                 Shell: /dev/null
Never logged in.
No Plan.
[lycus:/]<root># grep nofoo /etc/passwd
nofoo:NOPW:32727:9999:Foo User,Nickname,Office,0000,+16177349625:/nonexistant:/dev/null
[lycus:/]<root># 

home help back first fref pref prev next nref lref last post