Quote:
Originally Posted by rgsurfs
After I log into the server as root,
|
It is not a security best practice. You should not (need to) do that.
Quote:
Originally Posted by rgsurfs
how can I get my last login data to display or pop-up automatically?
|
Desktop Environments (DE) provide you with features to run applications on startup. Find our how your DE does that. Then make it run an executable shell script that does something like
Code:
zenity --warning --text="$(last -n 3 $LOGNAME|tr -s ' ')"
or
Code:
xterm -e "last -n 3 $LOGNAME; sleep 10s"
or something like that.