1.

Which command is used by the user to change their login password in UNIX?(a) man(b) reset(c) passwd(d) cpThis question was posed to me in an interview for job.Question is taken from General Purpose Commands topic in division The Unix Architecture & General Purpose Utilities of Unix

Answer»

Right answer is (c) passwd

For explanation I would say: Since UNIX is a multiuser system, it requires a PASSWORD from every user who wants to log in to the system to help ensure that all the data and files of the user are secure from HACKERS and ERRANT users. A user can simply change his/her login password by using the passwd COMMAND. Simply type this command on the terminal and then enter the old password, which after successful verification would allow the user to input a new password for his login.



Discussion

No Comment Found

Related InterviewSolutions