from small one page howto to huge articles all in one place
poll results
Last additions:
May 25th. 2007:
April, 26th. 2006:
|
. You are here: System->Tips and Tricks
Changing the logname with sudoIf you use sudo and RCS, the
$Author: carlos $ and $Id: 20040517-newsletter.xml,v 1.2 2004/05/31 00:11:04 carlos Exp $
RCS tags always appear as root instead of the actual person that edited the file. It's possible to compare file modification times with sudo log entries, but that's tedious. There's a much simpler way using sudo options. Edit /etc/sudoers with visudo and add the following line: Code Listing 1 Defaults>root !set_logname This tells sudo not to change the logname to root, but to use the existing username. Now, RCS tags will show the real author. http://www.gentoo.org/news/en/gwn/20040517-newsletter.xml
rate this article:current rating: average rating: 1.3 (43 votes) (1=very good 6=terrible) Your rating: back
|