Print this page
6057 login(1) "Last login" hostname is too short
Reviewed by: Gary Mills <gary_mills@fastmail.fm>
Reviewed by: Albert Lee <trisk@omniti.com>
Reviewed by: Jason King <jason.brian.king@gmail.com>
Reviewed by: Alex Wilson <alex.wilson@joyent.com>


  97        includes ``+'' and ``-'' entries if the compat source is being used
  98        (see nsswitch.conf(4)).
  99 
 100 
 101        Values for the various time-related fields are interpreted as Greenwich
 102        Mean Time.
 103 
 104 FILES
 105        /etc/shadow
 106                              shadow password file
 107 
 108 
 109        /etc/passwd
 110                              password file
 111 
 112 
 113        /etc/nsswitch.conf
 114                              name-service switch configuration file
 115 
 116 
 117        /var/adm/lastlog
 118                              time of last login
 119 
 120 
 121 ATTRIBUTES
 122        See attributes(5) for descriptions of the following attributes:
 123 
 124 
 125 
 126 
 127        +--------------------+-----------------+
 128        |  ATTRIBUTE TYPE    | ATTRIBUTE VALUE |
 129        +--------------------+-----------------+
 130        |Interface Stability | Stable          |
 131        +--------------------+-----------------+
 132 
 133 SEE ALSO
 134        login(1), passwd(1), useradd(1M), userdel(1M), usermod(1M), strtol(3C),
 135        crypt(3C), crypt_gensalt(3C), getspnam(3C), putspent(3C),
 136        nsswitch.conf(4), passwd(4), attributes(5), pam_unix_account(5),
 137        pam_unix_auth(5)
 138 
 139 NOTES
 140        If password aging is turned on in any name service the passwd: line in
 141        the /etc/nsswitch.conf file must have a format specified in the
 142        nsswitch.conf(4) man page.
 143 
 144 
 145        If the /etc/nsswitch.conf passwd policy is not in one of the supported
 146        formats, logins will not be allowed upon password expiration, because
 147        the software does not know how to handle password updates under these
 148        conditions.  See nsswitch.conf(4) for additional information.
 149 
 150 
 151 
 152                               September 15, 2005                     SHADOW(4)


  97        includes ``+'' and ``-'' entries if the compat source is being used
  98        (see nsswitch.conf(4)).
  99 
 100 
 101        Values for the various time-related fields are interpreted as Greenwich
 102        Mean Time.
 103 
 104 FILES
 105        /etc/shadow
 106                              shadow password file
 107 
 108 
 109        /etc/passwd
 110                              password file
 111 
 112 
 113        /etc/nsswitch.conf
 114                              name-service switch configuration file
 115 
 116 
 117        /var/adm/lastlog.v2
 118                              time of last login
 119 
 120 
 121 ATTRIBUTES
 122        See attributes(5) for descriptions of the following attributes:
 123 
 124 
 125 
 126 
 127        +--------------------+-----------------+
 128        |  ATTRIBUTE TYPE    | ATTRIBUTE VALUE |
 129        +--------------------+-----------------+
 130        |Interface Stability | Stable          |
 131        +--------------------+-----------------+
 132 
 133 SEE ALSO
 134        login(1), passwd(1), useradd(1M), userdel(1M), usermod(1M), strtol(3C),
 135        crypt(3C), crypt_gensalt(3C), getspnam(3C), putspent(3C),
 136        nsswitch.conf(4), passwd(4), attributes(5), pam_unix_account(5),
 137        pam_unix_auth(5)
 138 
 139 NOTES
 140        If password aging is turned on in any name service the passwd: line in
 141        the /etc/nsswitch.conf file must have a format specified in the
 142        nsswitch.conf(4) man page.
 143 
 144 
 145        If the /etc/nsswitch.conf passwd policy is not in one of the supported
 146        formats, logins will not be allowed upon password expiration, because
 147        the software does not know how to handle password updates under these
 148        conditions.  See nsswitch.conf(4) for additional information.
 149 
 150 
 151 
 152                                November 9, 2015                      SHADOW(4)