sudo 1.6.9 and sudo-save.el

I really enjoy the sudo-save.el. It makes editing files owned by root quite smoothly on a local machine.

However with the recent update of sudo to 1.6.9 in the ports tree, it print a “last login time” message every time. And breaks sudo-save.el. I didn’t find time yesterday and portdowngrade to 1.8.2.

Thanks to the explaination Makoto Matsushita made in this mail, it turns out pam_lastlog(8) printed this out and the only thing I need to do is to comment out this line in /usr/local/etc/pam.d/sudo:

#session                include         system

Tags: , , ,

Post a Comment

You could use <code type="name"> to get your code colorized

Your email is never published nor shared. Required fields are marked *

Close
E-mail It