Put your tips and tricks online - Share your knowledge! Login | Register
 
 
  Search     Advanced search
 

Home | Ask Question | Add tip | My tips | Recent tips & tricks | Suggest a category | FAQ | Forums

 
 
 
 Category : Home > Networking > NIS     

How to add a user to NIS (YP)


Some people may still be using NIS (Yellow Pages) despite the security issues associated with
this service, so here’s how to create a new user on NIS master.

1. Go to the yp source directory.

# cd /var/yp/src

2. Make a backup copy of password file, edit the passwd file and add new user. Make sure that
the uid is unique.

# cp passwd passwd.[current date]
# vi passwd

3. Create a home directory for new user (if necessary)

# mkdir /home/[username]

4. Run make.

# cd /var/yp
# make

5. Confirm that the user has been successfully added

# ypcat passwd | grep [username]



  Options
 
   del.icio.us  |  newsvine  |  digg  |  furl  |  google  |  yahoo  |  Ma.gnolia  |  vigillar  |  reddit  |  technorati  |  icerocket  |  pubsub

       Rate this tip:    

  Details
Tip reference : #136
views : 480
Added on : 11/03/06
Submited by : h8dk97
 
Send a message Send a message Printer friendly output Printer friendly output
Display this member's tips Display this member's tips (162)
 
 
 Most viewed tips 
  Databases > Oracle > Security : How to unlock Oracle user account  
  Operating Systems > Unix : How to kill Unix user session  
  Databases > Oracle > Performance Tuning : How to enable trace in Oracle  
  Databases > Oracle : Kill user session  
   
  All categories
Databases | Programming | Hardware | Operating Systems | Networking | Internet | ERP / CRM | Games & Multimedia | Graphics & Design | Miscellaneous | Office Software | TipLib FAQ
 
 

Home |  FAQ |  Terms of Use |  Privacy Policy

© 2005 tiplib.com