[sudo-users] Test visudo translation

Trần Ngọc Quân vnwildman at gmail.com
Sat Dec 28 01:22:21 MST 2013

On 27/12/2013 20:54, Todd C. Miller wrote:
> Please give the following a try and see if it fixes the problem for
> you.
> ftp://ftp.sudo.ws/pub/millert/sudo/sudo-1.8.9b3.tar.gz
>  - todd
Unfortunately, it don't work.
tnquan at vnwildman:~$ sudo --version
sudo phiên bản 1.8.9b3
tnquan at vnwildman:~$ echo $LANG
tnquan at vnwildman:~$ LANG=C sudo sudo --version | grep Locale
Locale to use while parsing sudoers: C
tnquan at vnwildman:~$ sudo sudo --version | grep "Mi"
Miền địa phương sẽ sử dụng khi phân tích sudoers: C

I don't known why C locale is passed to visudo?
I strace visudo, it don't open any gettext mo file:
root at vnwildman:~# strace visudo --help 2>&1 | grep open
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
open("/lib/i386-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3

PS: Is there any Git repo for sudo?

Trần Ngọc Quân.

More information about the sudo-users mailing list