Odd 'sudo' behavior with FreeBSD 4.10

Michael Smith mksmith at noanet.net
Thu Nov 18 13:05:34 PST 2004


 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello:

I've been able to replicate this on two separate machines, one with a
clean install of 4.10 and one with an in-production upgrade from 4.7
to 4.10.  In both cases it appears that using the 'sudo' command for
any purpose, including downloading of files, moving of files, adding
of users, etc. will sometimes fail due to the incorrect application
of the UID and GID. 

As an example, I 'sudo wget http://whatever' and 'sudo tar -zxvf' the
file and it will show up with a numeric UID/GID that doesn't match
anything in the password file.  If I 'su root' and do the same
commands, everything works fine.

Has anyone seen this and, if so, do you know of a workaround or fix?

Thanks,

Mike

- --
Michael K. Smith        NoaNet
206.219.7116 (work)     866.662.6380 (NOC)
mksmith at noanet.net      http://www.noanet.net


-----BEGIN PGP SIGNATURE-----
Version: PGP 8.0.3

iQA/AwUBQZ0PZZzgx7Y34AxGEQJ7BACgnsW9ejT6VwGpN5LWZ5X2z2dk1J0An3E4
H310czaz4YI2yB5FiXxkoq7C
=NNyd
-----END PGP SIGNATURE-----



More information about the freebsd-questions mailing list