1.

____ command is used by the superuser for changing root’s password.(a) pd(b) password(c) pswd(d) pwdI have been asked this question in a job interview.This key question is from Administrator Specific Commands and Privileges in chapter Essential Shell Programming of Unix

Answer»

The correct CHOICE is (c) pswd

Explanation: The pswd command prompts for EXISTING PASSWORD when this command is used by a non-privileged USER but when the same command is used by the superuser it behaves much leniently and doesn’t ask for the old password this TIME. For example,



Discussion

No Comment Found

Related InterviewSolutions