Thursday, November 26, 2015

Modifying Existing User Information

Modifying Existing User  Information

You can modify the existing user information by changing the passwords.  Home directory of a user, UIDs and GIDs, expiration dateof an account and so on.  Let’s discuss these features in the followingsections.


Modification in the exisiting user inofmation means as – a chane in the user’s password.  Their home directory, expiration date of user accout.  User Identification (UID) and Group Identification (GID).  Let’s change the home directory. UIDs, EIDsand accout expiration information of a user in the following sections.





Changing the User’s Home Directory
          To change a user’s home directory , you can run the following command:

#usermod –d

Similarly, if you want to cnage the Mahendra’s home directory from / home/Mahendra to/home/mahen, run the follwing command:

#user mod-d /home/mahen Mahendra

To change Mahendra’s home directory along with the information that’s contained in Mahendra’s home directory(home/Mahendra) to the new locatin (/home /mahen). Run the following command:

#user –d  -m /home h mahen Mahendra

This command moves all files of the Mahendra’s current directory (/home/Mahendra) to the new home directory (/home/mahen).


Changing UIDs and GIDs

In Linux every user have UID and GID.  The UID of a user is an interger value used to identify user within the Linux system whereas the GID(an iterger value ) of a user  represent a specific group to which the user belong.  If you want to change a user’s UID.  Run the following command:

#usermod  -u -

The following command changes Mahedra’s UID to 555:

#usermod –u 555 Mahendra

To change a user’s GID, run the command:
#usermod –g -

The following command changes Mahendra’s GID to 555:

#usermod –g 555 mahendra

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