Show
Ignore:
Timestamp:
10/06/04 12:05:47 (20 years ago)
Author:
jalet
Message:

Minor changes to allow any PyKota administrator to launch enhanced versions
of the commands, and not only the root user.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/bin/pykotme

    r1584 r1785  
    2424# 
    2525# $Log$ 
     26# Revision 1.14  2004/10/06 10:05:47  jalet 
     27# Minor changes to allow any PyKota administrator to launch enhanced versions 
     28# of the commands, and not only the root user. 
     29# 
    2630# Revision 1.13  2004/07/01 19:56:42  jalet 
    2731# Better dispatching of error messages 
     
    157161             
    158162        # get current user 
    159         uid = os.geteuid() 
    160         username = pwd.getpwuid(uid)[0] 
     163        username = pwd.getpwuid(os.geteuid())[0] 
    161164        user = self.storage.getUser(username) 
    162165        if user.Exists and user.LimitBy and (user.LimitBy.lower() == "balance"):