Score:0

How to know user creation date on suse

jp flag

Ok, so, this a SuSE specific question becoause on CentOS or Debian I wold look on /var/log/secure but there isn't such log on suse, so.. How can I know the creation date of a user on Suse (v12 or newer)?

Score:0
pe flag

run the following commands:

grep -i [USERNAME] /var/log/audit

from the output take the value inside the parenthesis

msg=audit(xxxxxxx.xxx)

then run the command

date --date='@xxxxxx.xxx'

And you get the date when the user was created

sataranights avatar
jp flag
Ok, I like were this is going but, al the entries looks like type=USER_AUTH msg=audit(1629592296.742:533): pid=2023 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='op=PAM:authentication grantors=pam_permit acct="sata" exe="/usr/lib/sddm/sddm-helper" hostname=? addr=? terminal=? res=success' I just check the first one? Because it's look like a command that the user run, what of a user that exist but never run a command? Thanks in advance
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.