In a default standalone installation of Oracle Solaris 11, what is the default minimum length in
characters of a user password, and where is the minimum password length defined?
A.
Default minimum length is 8, and is defined in /etc/default/password.
B.
Default minimum length is 6, and is defined in /etc/default/password.
C.
Default minimum length is 8, and is defined in /etc/shadow.
D.
Default minimum length is 6, and is defined in /etc/shadow.
E.
Default minimum length is 8, and is defined in /usr/sadm/defadduser.
F.
Default minimum length is 6, and is defined in /usr/sadm/defadduser.
Explanation:
By default, the passwd command assumes a minimum length of six characters. You
can use the PASSLENGTH default in the /etc/defaults/passwd files to change that by setting the
minimum number of characters that a user’s password must contain to some other number.
Reference: Solaris Naming Administration Guide, Minimum Password Length
It is defined in /etc/default/passwd
B – minimum length is 6 characters. It’s defined in /etc/default/passwd
ฺB
B is the correct
llaszlo@s11:~$ /usr/bin/passwd
passwd: Changing password for llaszlo
New Password:
passwd: Password too short – must be at least 6 characters.
root@s11:~# grep PASSLENGTH /etc/default/passwd
PASSLENGTH=6