Free Programming E-Books
Free download ebooks on computer and programming | |||
Free ebook "Linux System Administration (Craig Hunt Linux Library)" Sample Chapter
Linux System Administration
Download chapter
Free download chapter 6: Creating & Maintaining User Accounts Most Indispensable Linux Book" --2001 Linux Journal Readers Choice Awards Authoritative Answers to All Your Linux Questions You can rely on the fully updated second edition of Linux System Administration for answers to all your questions about installing, configuring, and administering Linux. Written by two Linux experts, this book teaches you, step-by-step, all the standard and advanced techniques you need to know to set up and maintain a secure, effective Linux environment. Scores of clear, consistent examples illustrate these techniques in detail--so you stay on track and accomplish all your goals. Coverage includes:
Creating and Maintaining User AccountsManaging and maintaining user accounts is the first step toward maintaining system security. Without indovidual user accounts, we would all be working on single large common directory, in a state of chaos. Managing user and group accounts allows us to partition and control the access of users with respect to one another Managing users and groups is a larger part of your jobs as a system administrator. Setting up user accounts allows you to provide your users with access while still retaining the ability to track what your users do as well as the ability to limit their access as appropriate. It is one of the most visible jobs you'll have. Learning to do it efficiently will save you hours in the long run, and the confidence you'll exude from knowing it well will put you in good standing with your users. Linux uses two or three files to maintain user and group information. The /etc/passwd file stores information about user accounts, and /etc/group stores information about groups. Most systems also use a file called /etc/shadow to maintain passwords. Later in the chapter you'll see examples of these files. You'll also see that all the basic administrative tasks of adding, removing, and modifying user and group accounts can be done in any of three ways: by manually editing the account's entry in /etc/passwd or /etc/group, by using Linux command-line utilitites that pass the relevant information to those files, or by using a GUI tool like Linuxconf to enter the same information. | |||