Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i am new to Linux and just want to create a domain in Linux.i guess i have to workout with some ypserver.* files abut i am not sure. any suggestions please...
The term domain is used to mean a number of similar-but-different things, so you'll need to be more specific about what you'd like to accomplish.
NIS is primarily for sharing account details (particularly for use with NFS client-server file sharing). These days NIS is considered both a security problem, and slightly obsolete - LDAP is the now pretty much the standard for maintaining a central list of users/accounts on a network.
Of course
DOMAINNAME="example.com" will point you in the right direction.
I would however heed the advice on LDAP. NIS is fine in your own "domain" if your users are trustworthy, but I wouldn't even consider using it across an open network such as the Internet
That's the security problem - unless you are on a network there all of the users and all of the machines are trusted then NIS/NFS is something to avoid if possible. Since completely trustworthy networks of locked down machines are now so rare (with so many laptops going in and out), it's probably good practice to avoid using this technology altogether.
i want to create a domain in linux as we use to create a domain in windows using active directory system which provides the services of server like user login and etc. is it possible to create such a domain in linux.
LDAP gives you a central datastore of accounts (which can be replicated), and you can add Kerberos to provide higher security for the authentication. Active Directory is actually LDAP + Kerberos + Windows File & Print + client management stuff.
If you will be running a network of mixed clients then Samba can provide file and printer access to Windows systems and everything else (OS X, Linux etc.). Other features of the Samba suite enable Windows clients to more smoothly authenticate with standard LDAP/Kerberos servers.
One big difference between Windows and Linux is that on Linux you need to configure each piece to get what you want, whilst Windows installs a very inflexible set of services when you make a server a domain controller.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.