In the man page, last command will display all users login into the system since day one setup, however I found my system only display recent one month only, eventhough my system has been setup for years. Where to set to enable the system to track user login for longer period of time?
Thanks you in advance.
Note that you could either remove it from the "logrotations", or set "rotate X" where X is the number of "old files" to keep. In the latter case you'd have /var/log/wtmp for the current month, /var/log/wtmp.1
Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.
rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything).
Learn how to navigate the file tree with the shell.
Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…