[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: "sudo" command passwd is not canceled.

On 01/03/2012 11:49 PM, chengshid wrote:
"sudo" command passwd is not canceled since i modify the follows files.
/usr/share/polkit-1/actions/  and /etc/pam.d/

the /etc/sudoers file have modified with no required passwd.

help me!  thanks.

Look in the sudoers file for "nopasswd" and remove that. There may be duplicate lines with and without the nopasswd portion, and if so, you can comment out the nopasswd line altogether. Always backup any file, including sudoers, before you modify it, and only use visudo to edit the file. To backup the file, just do cp sudoers sudoers.bak which you must do as root.


Reply to: