Administration
  Home arrow Administration arrow Page 3 - Managing Users, Part 2
Dev Shed Forums  
Administration  
AJAX  
Apache  
BrainDump  
DHTML  
Flash  
Java  
JavaScript  
Multimedia  
MySQL  
Oracle  
Perl  
PHP  
Practices  
Python  
Reviews  
Security  
Smartphone Development  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Mobile Linux  
App Generation ROI  
IBM® developerWorks  
Forums Sitemap  
E-Commerce Hosting  
Linux Web Hosting  
Managed Hosting  
Small Business Hosting  
VPS Hosting  
Weekly Newsletter

 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid  
Request Media Kit
Contact Us  
Site Map  
Privacy Policy  
Support  
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
Google.com  
ADMINISTRATION

Managing Users, Part 2
By: McGraw-Hill/Osborne
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: starstarstarstarstar / 15
    2004-06-29


    Table of Contents:
  • Managing Users, Part 2
  • Options userdel, usermod, groupadd, groupdel
  • GUI User Managers
  • Critical Skill

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      error-file:tidyout.log Del.ici.ous error-file:tidyout.log Digg
      error-file:tidyout.log Blink error-file:tidyout.log Simpy
      error-file:tidyout.log Google error-file:tidyout.log Spurl
      error-file:tidyout.log Y! MyWeb error-file:tidyout.log Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article

     
     
    ADVERTISEMENT


    Managing Users, Part 2 - GUI User Managers
    ( Page 3 of 4 )

    Many of the Linux distributions come with their own GUI user managers. Red Hat comes with a utility called redhat-config-users that allows you to add/edit and maintain the users on your system. You can also find linuxconf from http://www.solucorp.qc.ca/linuxconf/. It has been my experience that these GUI interfaces work just fine—just be prepared to have to manually change user settings in case the GUI isn’t working. Most of these interfaces can be found in the System Settings menu under GNOME or KDE.

    Project 5-1: Adding/Editing a User

    In this project, you will add a user to the system and make sure the user can log in to the system without any problems. When dealing with accounts it is always a good idea to do it right the first time, otherwise you might get the user frustrated because their shell isn’t right or their e-mail isn’t set up correctly. You will use the following steps to add the user and then change their shell to the tcsh shell.

    Step by Step

    1. First, add the user johndoe to the system with the adduser command:

    [root@ford /root]# useradd -c "John Doe" -g admin -G support johndoe

    2. Make sure to change the user’s password by running the passwd program:

    [root@ford /root]# passwd johndoe

    3. Try to log in to the system as that user. This will let you know if everything is working correctly for the new user.

    4. After getting their new account, the user decides they want /bin/tcsh as their shell. You just need to use the usermod command to change johndoe’s properties:

    [root@ford /root]# usermod -s /bin/tcsh johndoe

    Project Summary

    This project is simple and straightforward. If you are running your own computer, it is easy to keep all the users on your system in order. When you start having to administer many users, it is helpful to write a script to add many users at a time. There are endless possible customizations that you can make.

    This chapter is from Linux Administration, A Beginner's Guide, third edition, by Graham and Shah. (McGraw-Hill/Osborne, 2002, ISBN: 0072225629). Check it out at your favorite bookstore today.

    Buy this book now.



     
     
    >>> More Administration Articles          >>> More By McGraw-Hill/Osborne
     

       

    ADMINISTRATION ARTICLES

    - Network Booting via PXE: the Basics
    - Scalix: Linux Administrator`s Guide
    - Network Administration with FreeBSD 7
    - Components of an Information Architecture
    - The Anatomy of an Information Architecture
    - Configuring Load-Balanced Clusters
    - Load-Balanced Clusters
    - UNIX Time Format Demystified
    - Making Changes in the CVS
    - Building Your First CVS Repository
    - CVS Quickstart Guide
    - Authorizing Users in Samba
    - Handling User Accounts in Samba
    - Authentication in Samba
    - Accounts, Authentication, and Authorization





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 4 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek