Thursday, November 26, 2015

Linux User Administrtion

OBJECTIVES       
1. Crating a user account and assigning it to a perticular group.
2. Changing theexpirtion dateofa particular user or group.
3. Deleating a particual group or a user account.

CONCEPTS  
System administration or sysadmin defines the rolesand responsibilities of an individual
                   Who maintain and operate a computer system.  System admiistrator is the main ser of the Linux that handles the different tasks ;in the system.  Such as the hardware devices installations.  Configuring application software ( open Office backing up and restoring files, insatlling software package management as well as managing memeory and aanging process.  Linux operating system is a multiuser.  Multitasking operating system .  multiuser features emnables many people to have their accounts on linux system and work with the Linux operting systm.  You can assign each person his with his own login account.  Similary, multitasking feature enables you to schedule and execute multiple tasks (program) sinultaneously.  You can creae user andgroups in Linux using the user addcommand for creating user and. Add group for adding group in Linux and can also modify,  anddelete user accounts and group.
As an admisnistrator, you need to handle two most important responsibilitities that are to look agterthe administration and monitoring the users on a Linux network.  There are some basic command line tools that you have to know in order to create, monitor, and delete user accounts on a Linux network.
Basic Command Line Tools
In this section,  we explain how to create, modify, delete, and disable user accounts using command line tools in Unix environment.
Creating a User
Creating  a new user account is quite easy. For this , you just need to run the useradd command from the commandline. For example to create a user called Mahedra,  you can run useradd command as follows :
#useradd Mahedra
This adds a new entry in /etc/passwd file.  By default, this file store all user account related information.
Ther is no default pasword for  the previously created user Mahedra.  In order to create a password for this user, You jus need to type the passwd command on the command line as follows:
#passwd Mahedra
This will prompt you to enter a password.  Enter the password and pres enter.  You will be asked to confirm the password.  Type the password again and press enter. As long as you typed the same password in both times.  You have finished adding a new user.  If you did not enter the same password both times, yu will be asked to reenter the password again until you confirm it correctly.

CASE:1 let’s take an example where you have a group of users from an IT department .  they regularly use a spreadsheet apllication on a sysytem.  You could create a new group called finace and make it the default group for spreadsheets.  To crate group, run the following groupadd command:
#groupadd finance
 Now, if you need to crate a spradsheet user named mahendra, you could use the following command:
#useradd Mahendra –g finance
 This command crates a user named mahendra with a default group of finance.
If existing users need to be placed in the IT group, you could run the following command:
Chgrp even IT 
It would make the IT group deven’s new deafult group.  If you ned to make a particular user member o more than one group at a time, use the  -G opting with the useradd command : 
Useradd mahendra –G IT, finance 
The proceding comand creates the user mahedra with a deafult group of Mahendra.  At the same time , this user also becomes a member of the groups IT and finance.  To see the existing groups and the members, run the following command: 
#cat/etc/group 
The etc/group file have four segments (group name:password:group ID:users) that are separated by colons.  By seeing this file you can find the groups to whom Mahedra belong.

Facebook Twitter Google+ WhatsApp StumbleUpon Pinterest Addthis

MAXIT INTERNET

BLOGGER

CD DVD RW

DELL

DOWNLOAD

FTP Server Linux

HACK

HARD DRIVE

HOW TO WORKIN

HARDWAER

INTERNET

INTERNET CAFE

LAPTOP

LENOVO

LINUX

Additional configuration for Samba Server (Part 2)  

BSNL/Airtel/Idea using Huawei E156G 3g Wireless USB Linux 5   

Basic File Extensions    CHANGING AN ACCOUNT EXPIRATION DATE   

Configure Linux as a Router   

Configure SAMBA Server (Part-1)   

Configure VNC server   

Configure Yum Server (Part-1)   

Configure yum server for Client machine (Part 3)   

Configuring Samba as a Standalone Server (Part 3)  

Connecting ftp Server with Anonymous User Part 5  

Create ftp account with Shared directory Part 3  

DHCP Server Configuration Part 2  

DHCP Server Configuration Part-1  

DHCP Server Configuration Part-3  

Enabling FTP Services in Yum Server (Part 5)  

FTP Server Configuration Part 1  

FTP Server How to Change In Primary DNS Server Part 2  

HTTP Client side configuration (Part 4)  

How to Vsftpd conf files Parameter Part 6   

LINUX FILE SYSTEM STRUCTURE  

Linux User Administrtion  

Linux as a Router configuration for Client Machine   

Linux client machine FileZilla FTP Client Part 4  

Local Yum Server (Part 2)  

Modifying Existing User Information  

Primary DNS Server Configuration Part-1  

Primary DNS Server Configuration Part-2    

Primary DNS Server Configuration Part-3  

Remove Linux From Your Pc Safely and restoring your MBR  

Sharing & Accessing Samba Share (Part 4)   

Speeding up your internet connection under Linux and Windows   

THE ROOT FILE SYSTEM   

VNC Server Configuration

LINUX LAB

Linux as a Router

MOTHERBOARD

Mobile

NETWORKING

REDHAT 5

REGISTRY EDTOR

RESET BIOS PASSWORD

SAMBA Server Linux

SERVER

SERVER CONFIG

SOFTWAER

VNC server Linux

Window 10

Window XP

Follow by Email

MAX-IT INTERNET

MAX-IT INTERNET
TIPS AND TRICKS