Bugzilla – Bug 21
Sudo and UPPERCASE usernames
Last modified: 2004-08-05 22:08:26 MDT
Using sudo v1.6.3p5 on Tru64 Unix v5.1 Sudo works with some users (both NIS and local password) but with a NIS user that has an uppercase username sudo doesn't work. NIS user can log in to machine without a problem. Following are relevant bits of my /etc/sudoers: # Host alias specification Host_Alias CAPRICORN=capricorn # User alias specification User_Alias BATCH = MRBATCH # Runas alias specification Runas_Alias SDE=sde # Cmnd alias specification Cmnd_Alias SDE_SCRIPTS=/sdem/bin/cadastre/scripts/load_norm_jobs.sh, /sdem/bin/cadastre/scripts/update_norm_load.sh, /sdem/bin /cadastre/scripts/linesde.cmd, /sdem/bin/cadastre/scripts/polysde.cmd, /sdem/bin/cadastre/scripts/mapscale_lines.cmd, /sdem/bi n/cadastre/scripts/mapscale_polys.cmd, /usr/ucb/touch # User privilege specification BATCH CAPRICORN=(SDE) SDE_SCRIPTS
Strange. I don't get have a problem with uppercase usernames but I don't use NIS. Do uppercase usernames in the local passwd file work for you?
Closing due to age and the fact that I could not reproduce the problem with a local passwd file.