LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 07-28-2010, 02:39 PM   #1
afuerst
LQ Newbie
 
Registered: Dec 2006
Posts: 11

Rep: Reputation: 0
Offline NIS client


I think about setting up NIS on my network, of course I also have a notebook. I tried to learn about different solutions for an NIS client for my notebook - which of course is offline from time to time - and I'd like to be able to log on though. I learned about two solutions: Using a client cache (nscd) or setting up a NIS slave server on the laptop. Does anyone have practical experiences with any of those solutions? Does one or the other solution have a major disadvantage?

Armin
 
Old 07-31-2010, 09:24 AM   #2
cjcox
Member
 
Registered: Jun 2004
Posts: 307

Rep: Reputation: 42
Even with a cache, it won't last. You could try the slave approach... but IMHO, it's easier to just create a local credential using the same uid. Notebooks tend to be very single user... so it's not like you have to create all of the ids. Then I usually don't run ypbind at start but give the user the ability to sudo rcypbind .... so that it can be brought up when needed.
 
Old 07-31-2010, 05:00 PM   #3
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
I've fiddled a little bit with nscd and I think it can be set up to cache entries for as long as you like. I'd either use it or just create the necessary user/group IDs locally, being sure to synch up the local UID/GID numbers with those in NIS.
 
Old 08-02-2010, 03:05 PM   #4
cjcox
Member
 
Registered: Jun 2004
Posts: 307

Rep: Reputation: 42
Having nscd cache indefinitely is a NO NO with regards to NIS. Do you really want to use the old password forever (just an example)? There's good reasons for not using nscd at all on a NIS client.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NIS failed for one user on one NIS client - strange problem resolved catbird Linux - Networking 1 10-05-2009 11:00 AM
Nis Client On Centos not working with Suse Server . But works with Suse Nis Client jibinforu Linux - Server 2 07-23-2009 08:44 PM
Nis Client On Centos not working with Suse Server . But works with Suse Nis Client jibinforu Linux - Networking 1 07-13-2009 05:51 AM
How to setup a solaris NIS client while with a Linux NIS server? ntcm Linux - Security 2 03-31-2004 12:43 PM
How to setup a Solaris NIS client while with a Linux NIS server? ntcm Linux - General 1 03-31-2004 06:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 12:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration