LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-20-2009, 09:11 AM   #1
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Rep: Reputation: 57
How to have a Server with an unique /etc/passwd and /home with right permission?


I have several computers, and want to set up on one Server the /users and passwords?

what is it this daemon for server?
Universities, using linux, use that. One big linux server, that controls all the passwrod and access of students/users...
 
Old 09-20-2009, 10:25 AM   #2
prasanta
Member
 
Registered: Mar 2005
Location: India
Distribution: Debian
Posts: 368

Rep: Reputation: 37
Quote:
I have several computers, and want to set up on one Server the /users and passwords?
what is it this daemon for server?
NIS or LDAP.

Regards,

--
Prasanta
 
Old 11-09-2009, 03:27 PM   #3
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Original Poster
Rep: Reputation: 57
Quote:
Originally Posted by prasanta View Post
NIS or LDAP.

Regards,

--
Prasanta
here is the result : http://yellowprotoss.ye.funpic.org/w...frenchn00b.gif
 
Old 11-09-2009, 10:36 PM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
NIS is plaintext, so ldap+tls is recommended.
HOWTOs:
http://www.linuxhomenetworking.com/w...onfiguring_NIS
http://www.linuxhomenetworking.com/w...DAP_and_RADIUS
 
Old 11-10-2009, 12:12 AM   #5
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Original Poster
Rep: Reputation: 57
Quote:
Originally Posted by chrism01 View Post
The howto isnt that bad.
Quote:
Create The Home Directory For ldapuser On The LDAP Client

In this phase, you create the home directory, copy a BASH login profile file into it, and modify the ownership of the directory and all the files to user ldapuser.

Note: If the chown command fails, it is probably because of an incorrect LDAP configuration in which the LDAP client cannot read the user information from the LDAP server.

In some cases, you may want to use NFS mounts to provide home directories for your users, which will significantly reduce the need to do this step. The benefits and disadvantages of NFS are covered in Chapter 29, "Remote Disk Access with NFS", and Chapter 30, "Configuring NIS", covers using NFS for home directories.

[root@smallfry tmp]# mkdir /home/ldapuser
[root@smallfry tmp]# chmod 700 /home/ldapuser/
[root@smallfry tmp]# ll /home
total 2
drwx------ 2 ldapuser users 1024 Aug 4 08:05 ldapuser
[root@smallfry tmp]# cp /etc/skel/.* /home/ldapuser/
cp: omitting directory `/etc/skel/.'
cp: omitting directory `/etc/skel/..'
cp: omitting directory `/etc/skel/.kde'
[root@smallfry tmp]# chown -R ldapuser:users /home/ldapuser
[root@smallfry tmp]#
and without createing hte folder on the /home for each users?
I mean I have already a NFS file server, that will be too login / passwords server, is that possible?
 
  


Reply



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
NFS problem: "Could not chdir to home directory /home/USER: Permission denied" sumanc Linux - Server 4 07-22-2010 04:12 PM
Red Hat Directory Server - Global Unique Identifier? melhadri Linux - Newbie 1 12-10-2008 10:30 AM
Samba - Passwd protected share with Windows XP Home uhcafigdc Linux - Server 4 10-31-2008 10:38 AM
Linux - Determine number of unique hosts connected to server linux_linux Linux - Networking 2 03-15-2008 09:41 PM
user permission /home vladakg85 Slackware 3 02-12-2007 04:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:19 AM.

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