NIS Authentication/Adding user question

Ansar Mohammed ansarm-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Mon May 15 01:53:10 UTC 2006


I assume you are using FreeBSD as your server. 
 
http://www.cultdeadsheep.org/FreeBSD/docs/Quick_and_dirty_FreeBSD_5_x_and_ns
s_ldap_mini-HOWTO.html
I followed this to the letter and it works..
 
You can use either pam_ldap or nss_ldap as the client auth method. You don’t
have to use both. I have this config running and I use
http://www.ldapmanager.org <http://www.ldapmanager.org/>  (its windows but
its free) to manage users.
 
I prefer LDAP since you can use it for almost anything (addressbook, pbx,
asterisk, apache and samba) 
 
 
 
  _____  

From: owner-tlug-lxSQFCZeNF4 at public.gmane.org [mailto:owner-tlug-lxSQFCZeNF4 at public.gmane.org] On Behalf Of Michael Yang
Sent: May 14, 2006 9:09 PM
To: tlug-lxSQFCZeNF4 at public.gmane.org
Subject: Re: [TLUG]: NIS Authentication/Adding user question
 
Thank you Chris and Ansar for your kind reply. 
 
- Chris:
I used addusr and thought NIS would add new entries to its database, I guess
it is not the case. Could you point out how I should create a new user that
it shows in /var/yp/master.passwd?
 
- Ansar:
thank you for your suggestion. I will consider it for the new server i am
building. Btw, do you have any good resources/references regarding ldap to
recommend?
 
Good night all,
 
Michael

"Chris F.A. Johnson" <cfaj-uVmiyxGBW52XDw4h08c5KA at public.gmane.org> wrote:
On Sun, 14 May 2006, Michael Yang wrote:

> Hello All,
>

> I am new to a lab and now trying to add an new user onto the lab
> network which has Linux workstations and a Freebsd server. All
> user's home directories are shared on the Freebsd server and the
> server hold all user account information using NIS/NFS.
>
> I have added a new user to the server, and run 'make' under /var/yp
> afterwards, I still not able to logon from the workstatins with the
> new account i created on the server, and I do not see the new
> account info shows in /var/yp/master.passwd file.
>
> My questions are:
>
> 1. Am I missing anything steps in the process of adding users
>
> 2. How long will it take to propogate the new account settings

How are you adding the user? If you are using adduser, that will
just create an entry in the local password file.

To create a new NIS user, the information goes into
/var/yp/master.passwd, and running make builds the database using
the information in that file.


-- 
Chris F.A. Johnson 
===================================================================
Author:
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
--
The Toronto Linux Users Group. Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
 
  _____  

Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great
<http://us.rd.yahoo.com/mail_us/taglines/postman7/*http:/us.rd.yahoo.com/evt
=39666/*http:/messenger.yahoo.com>  rates starting at 1¢/min.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gtalug.org/pipermail/legacy/attachments/20060514/e64d4012/attachment.html>


More information about the Legacy mailing list