login

Find user login history – last and lastb commands in Linux

Login

1.0 last and lastb

The last command gives a chronological list of user logins in a Linux system for a period of time. The lastb commands gives a similar list of failed logins to the system. By default, last uses the /var/log/wtmp file for the record of login data.… Read more

Not able to login

Problem: Not able to login to Ubuntu Linux system because the disk partition containing the HOME directory has become full.

Solution:

  • Press CTRL ALT F1 together to switch to text mode and try to login.
  • After login, check the free space in disk partitions by give the command,

$ df -h

  • Make space in the disk partition containing the HOME directory by deleting files from the command line.
Read more