what is the default minimum length in characters of a user password, and where is the minimum password length defined?

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?

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



Leave a Reply 4

Your email address will not be published. Required fields are marked *


Marek

Marek

It is defined in /etc/default/passwd

John

John

B – minimum length is 6 characters. It’s defined in /etc/default/passwd

Dupek

Dupek

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