Presentation on theme: "Linux User Management Image source: cover of UNIX System Administration Handbook."— Presentation transcript:
1 Linux User ManagementImage source: cover of UNIX System Administration Handbook
2 Basic tasks UNIX Linux Add group (if new group) Create home directoriesAdd usersCreate passwordsChange ownershipChange groupChange permissionsCreate initialization files (.cshrc, .login, .profile)Linuxadd usercreate passwordautomatically home directory will be create in /home/useridgroup, ownership and permissions also handled automatically
3 Graphical tools User manager (Red Hat 7 and above): Other versions: open KDE Control Panel and select User ManagerIn User Manager, add user, group, etc.Other versions:LinuxconfFedorawhere to find ita new look to User ManagerProblem with graphical toolsonly practical for adding a few users, but tasks need to be automated for larger number of users
4 Shell window Tasks are done manually Example: course accounts in UNIX Used when 10 or more users are added at the same time. Scripts are used.Example: Perl script for Linux accountscreate accounts: addaccountscreate passwords: createpasssummary script: addstudentsExample: course accounts in UNIXhome directories: homedir.dochange ownership: chown.dochange group: chgrp.doassign permissions: chmod.douse text editor (or worksheet program) and create entries to the password file.Use editor and copy and paste the entries.
Your consent to our cookies if you continue to use this website.