Bug 21 - Sudo and UPPERCASE usernames
Sudo and UPPERCASE usernames
Status: RESOLVED WORKSFORME
Product: Sudo
Classification: Unclassified
Component: Sudo
1.6.3
Alpha Tru64 UNIX
: normal normal
Assigned To: Todd C. Miller
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2001-01-16 20:36 MST by Adrian Blount
Modified: 2004-08-05 22:08 MDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.