1 / 4

Linux User Management

Linux User Management. Image source: cover of UNIX System Administration Handbook. Basic tasks. UNIX Add group (if new group) Create home directories Add users Create passwords Change ownership Change group Change permissions Create initialization files (.cshrc, .login, .profile)

lamis
Télécharger la présentation

Linux User Management

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Linux User Management Image source: cover of UNIX System Administration Handbook

  2. Basic tasks • UNIX • Add group (if new group) • Create home directories • Add users • Create passwords • Change ownership • Change group • Change permissions • Create initialization files (.cshrc, .login, .profile) • Linux • add user • create password • automatically home directory will be create in /home/userid • group, ownership and permissions also handled automatically

  3. Graphical tools • User manager (Red Hat 7 and above): • open KDE Control Panel and select User Manager • In User Manager, add user, group, etc. • Other versions: • Linuxconf • Problem with graphical tools • only practical for adding one or two users at a time, but tasks are automated

  4. Shell window • Tasks are done manually • Used when 10 or more users are added at the same time. Scripts are used. • Example: Perl script for Linux accounts • create accounts: addaccounts • create passwords: createpass • summary script: addstudents • Example: course accounts in UNIX • home directories: homedir.do • change ownership: chown.do • change group: chgrp.do • assign permissions: chmod.do • use text editor (or worksheet program) and create entries to the password file. • Use editor and copy and paste the entries.

More Related