Changeset 454
- Timestamp:
- 03/30/06 02:30:20 (3 years ago)
- Files:
-
- nepenthes/trunk/nepenthes-core/src/Nepenthes.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
nepenthes/trunk/nepenthes-core/src/Nepenthes.cpp
r376 r454 1187 1187 { 1188 1188 passwd * pass; 1189 1189 1190 if (isdigit(*user) != 0) 1191 { 1192 m_UID = atoi(user); 1193 printf("User %s has uid %i\n",user,m_UID); 1194 return true; 1195 }else 1190 1196 if ( (pass = getpwnam(user)) == NULL ) 1191 1197 { … … 1272 1278 struct group *grp; 1273 1279 1280 if (isdigit(*gruppe) != 0) 1281 { 1282 m_GID = atoi(gruppe); 1283 printf("Group %s has gid %i\n",gruppe,m_GID); 1284 return true; 1285 }else 1274 1286 if ( (grp = getgrnam(gruppe)) == NULL ) 1275 1287 {
