Which of the following will add jsmith to the “dba” group and preserve existing group memberships?

Posted by: Pdfprep Category: XK0-004 Tags: , ,

A user, jsmith, needs access to database files located on a server.

Which of the following will add jsmith to the “dba” group and preserve existing group memberships?
A . usermod Ca CG dba jsmith
B . usermod Cg dba jsmith
C . useradd Cg dba jsmith
D . groupmod dba Cu jsmith

Answer: AC

Explanation:

Explanation: According to the reference given below. Both AC is correct. Reference:

https://www.cyberciti.biz/faq/howto-linux-add-user-to-group/

Leave a Reply

Your email address will not be published.