User and Group

Linux user and Linux group

Linux show last login user

Basic Linux Command Example: 

 

How to show last login on Linux Fedora

 

   The Linux last command can be very useful to show last login user on the system.  The example below show the execution of Linux last command on Linux Fedora system.

 

Show last login user

 

1.  Open Linux  shell terminal Application --> System Tools --> Terminal.

fedora terminal

 


Linux help on Chage Command

 

Linux help on Chage Command.

 

   The command example below show how to get Linux help on chage command...  this Linux help on chage command display simple usage information on how to using chage command on your Linux system.  To get more help on the chage command you could try get the manual entry of this chage command by using man chage command.

 

Get Linux help on chage command

 


Linux Add User to Group

Basic Linux Command Example: 

 

Linux Add User to Group using usermod Command.

 

   The step by step command example below show how to use Linux usermod command in Linux to add user to group that already available on your Linux system.  This usermod command is use to add existing user to existing group in Linux system.  You may need to check existing Linux user and check existing Linux group available on your Linux system... and then we use usermod command to add user to group.  Please note you may need to login as root user to execute command as show on step by step command example below.

 

Check Linux user group.

 


chage

 

Linux chage Command.

 


Check currently login user on your Linux system

 

Check currently login user on your Linux system.

 

   How to check who is currently login on your Linux system now?  To show who is login or if you want to check currently login user... or if you want to check who using your Linux system, just execute who command as show on the example below.

 

Linux who check currently login user:

 

Open shell terminal and type in who command and then hit Enter key…

Check currently login user on your Linux system

[root@fedora12 ~]# who


List all group on Linux

 

List all group on Linux Fedora.

 

   How to list all group on Linux system?  The command example below show how to list all group on Linux Fedora system.  The list of group name came from the group configuration file is store in /etc/group and you can also use cat command to display the contents of group file. Please note that you may need root user privilege to view the contents of group file.

 

List all group in Linux example:

 


Linux list all user

Basic Linux Command Example: 

 

Linux list all user.

 


Linux change root password example

Basic Linux Command Example: 

 

Linux Change root Password.

 

   The step by step article on Linux change root password below show the step that you need to take to change root password.  Please note that only root user can change root password, so you need to login as root or use su command and then change root password.  If you lost your root password this article on how to reset root password may help you to reset root user password. 

 

Linux change root password example:

 

1. Open the shell terminal, type in su - command then hit 'Enter' key to be as root user on your Linux system.

su root password


Check Linux User Information using Linux finger Command

Basic Linux Command Example: 

 

Check Linux User Information using Linux finger Command.

 

   The example below use finger command to check Linux user information.  The finger command can be use to get user information including user login name, user full name, user home directory,  user shell, user terminal name (user tty), user idle time, user came from.., user login time, user office location and user phone number.

 

Check user information example:

 


passwd

 

View Linux passwd command Manual.

 

   The example below show how to use man command to view Linux passwd command manual on Linux Fedora operating system.  To display Linux passwd command manual just type in man command and the command name that you want to display the manual page... in this example we want to view Linux passwd command manual... so after the man command we type in passwd (the Linux command name that we want to view the manual).

 

Linux passwd command manual example:

 

Open the shell terminal, type in man passwd as example below.

View Linux passwd command Manual

[root@fedora11 ~]# man passwd


Pages

Subscribe to RSS - User and Group