MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

UNIX

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which command in UNIX is used to change the user account passwords.
A
pwd
B
password
C
passwd
D
none of the above
Explanation: 

Detailed explanation-1: -The passwd command changes passwords for user accounts. A normal user may only change the password for their own account, while the superuser may change the password for any account. passwd also changes the account or associated password validity period.

Detailed explanation-2: -The passwd command sets and changes passwords for users. Use this command to change your own password or another user’s password. You can also use the passwd command to change the full name (gecos) associated with your login name and the shell you use as an interface to the operating system.

Detailed explanation-3: -You can change the user ID associated with a session (if you know that user’s login name) by using the su (switch user) command.

Detailed explanation-4: -passwd command in Linux is used to change the user account passwords.

There is 1 question to complete.