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

Re: "sudo" command passwd is not canceled.



It is no use to do that, and i also reinstall the sudo,
于 2012年01月04日 13:14, doug 写道:
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.

--doug




Reply to: