Bug 21

Summary: Sudo and UPPERCASE usernames
Product: Sudo Reporter: Adrian Blount <a.blount>
Component: SudoAssignee: Todd C. Miller <Todd.Miller>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: normal    
Version: 1.6.3   
Hardware: Alpha   
OS: Tru64 UNIX   

Description Adrian Blount 2001-01-16 20:36:31 MST
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
Comment 1 Todd C. Miller 2001-12-12 19:12:59 MST
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?
Comment 2 Todd C. Miller 2004-08-05 18:08:26 MDT
Closing due to age and the fact that I could not reproduce the problem with a local passwd file.