LPI Exam Questions

When installing Samba on an existing installation an administrator wants to reuse the Linux password

When installing Samba on an existing installation an administrator wants to reuse the Linux passwords for Samba. What

command will accomplish this?

A.
cp /etc/passwd /etc/samba/passwd

B.
cp -a /etc/passwd /etc/samba/smbpasswd

C.
cat /etc/passwd | mksmbpasswd > /etc/samba/smbpasswd

D.
smbpasswd </etc/passwd