diff options
author | Karel Zak | 2014-05-15 14:10:50 +0200 |
---|---|---|
committer | Karel Zak | 2014-05-15 14:10:50 +0200 |
commit | 07a4046f9524422960dfb14db4115924d18f97b1 (patch) | |
tree | b0d657f917b916e3b72a8918346d246947ba0ac7 /login-utils/lslogins.c | |
parent | lslogins: cleanup status[] usage (diff) | |
download | kernel-qcow2-util-linux-07a4046f9524422960dfb14db4115924d18f97b1.tar.gz kernel-qcow2-util-linux-07a4046f9524422960dfb14db4115924d18f97b1.tar.xz kernel-qcow2-util-linux-07a4046f9524422960dfb14db4115924d18f97b1.zip |
lslogins: align to right 0|1 columns
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'login-utils/lslogins.c')
-rw-r--r-- | login-utils/lslogins.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/login-utils/lslogins.c b/login-utils/lslogins.c index 8c879fb5c..2ea0980da 100644 --- a/login-utils/lslogins.c +++ b/login-utils/lslogins.c @@ -198,9 +198,9 @@ static struct lslogins_coldesc coldescs[] = { [COL_LOGIN] = { "LOGIN", N_("user/system login"), "Login", 0.2, SCOLS_FL_NOEXTREMES }, [COL_UID] = { "UID", N_("user UID"), "UID", 0.05, SCOLS_FL_RIGHT}, - [COL_NOPASSWD] = { "NOPASSWD", N_("account has a password?"), "No password", 1 }, - [COL_NOLOGIN] = { "NOLOGIN", N_("account has a password?"), "No login", 1 }, - [COL_LOCKED] = { "LOCKED", N_("account has a password?"), "Locked", 1 }, + [COL_NOPASSWD] = { "NOPASSWD", N_("account has a password?"), "No password", 1, SCOLS_FL_RIGHT }, + [COL_NOLOGIN] = { "NOLOGIN", N_("account has a password?"), "No login", 1, SCOLS_FL_RIGHT }, + [COL_LOCKED] = { "LOCKED", N_("account has a password?"), "Locked", 1, SCOLS_FL_RIGHT }, [COL_PGRP] = { "GROUP", N_("primary group name"), "Primary group", 0.2 }, [COL_PGID] = { "GID", N_("primary group GID"), "GID", 0.05, SCOLS_FL_RIGHT }, [COL_SGRPS] = { "SUPP-GROUPS", N_("secondary group names and GIDs"), "Secondary groups", 0.5 }, @@ -212,7 +212,7 @@ static struct lslogins_coldesc coldescs[] = [COL_LAST_HOSTNAME] = { "LAST-HOSTNAME", N_("hostname during the last session"), "Last hostname", 0.2}, [COL_FAILED_LOGIN] = { "FAILED-LOGIN", N_("date of last failed login"), "Failed login", 24 }, [COL_FAILED_TTY] = { "FAILED-TTY", N_("where did the login fail?"), "Failed login terminal", 0.05 }, - [COL_HUSH_STATUS] = { "HUSHED", N_("User's hush settings"), "Hushed", 1 }, + [COL_HUSH_STATUS] = { "HUSHED", N_("User's hush settings"), "Hushed", 1, SCOLS_FL_RIGHT }, [COL_PWD_WARN] = { "PWD-WARN", N_("password warn interval"), "Days to passwd warning", 24 }, [COL_PWD_EXPIR] = { "PWD-EXPIR", N_("password expiration date"), "Password expiration", 24 }, [COL_PWD_CTIME] = { "PWD-CHANGE", N_("date of last password change"), "Password changed", 24 }, |