[492] in netbsd-help mailing list archive

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

Re: Kerberos Authorization

daemon@ATHENA.MIT.EDU (Yoav Yerushalmi)
Mon Dec 4 01:08:04 1995

To: Farnaz Haghseta <farnaz@MIT.EDU>
Cc: netbsd-help@MIT.EDU
In-Reply-To: Your message of "Mon, 04 Dec 1995 00:25:05 EST."
             <199512040525.AAA00263@moonie.MIT.EDU> 
Date: Mon, 04 Dec 1995 01:07:45 EST
From: Yoav Yerushalmi <yoav@MIT.EDU>

Hi.
if the accounts you want to create are for people who already have
athena accounts, then as root, simply run
	/usr/athena/etc/adduser [username]

for example
	/usr/athena/etc/adduser yoav


If the accounts are for people who don't have athena accounts,
then it is a little mroe messy. decide on a username and user-id that
isn't going to be one used on your system for other people (a number
from 100-999 is usually a good idea.. to test if one is being used, type:
	/bin/athena/hesinfo [uid] uid

so to check if 100 is being used, I would type:
	/bin/athena/hesinfo 100 uid
in this case, I get a reply, so 100 is no good.
Once you have found a uid, run 

	setenv EDITOR emacs    {or if you prefer
			another editor, set it here}
	vipw

to edit the master.passwd file, and put an entry for this
user. the entry will be similar to other entries there, type
	man 5 passwd
to find out what each of the ':' seperated fields are. This will
then create a new account for the user. You will then need to set
the password, so run
	/usr/bin/passwd [username]
and set it to whatever you want the person to use.
(try to avoid picking a username that athena is using btw)

-- 
-------------------------------------------------------
|  Yoav Yerushalmi         |  My opinions are mine..  |
|  M.I.T student at large  |   so back off!!          |
|  http://www.mit.edu:8001/people/yoav/homepage.html  |
-------------------------------------------------------


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