8 |
|
|
9 |
|
int main(int argc, char *argv[]) |
10 |
|
{ |
11 |
+ |
if (argc < 1) |
12 |
+ |
return 1; |
13 |
+ |
|
14 |
+ |
umask(S_IWGRP | S_IWOTH); |
15 |
+ |
|
16 |
|
int exception; |
17 |
|
jmp_buf environment; |
18 |
|
|
30 |
|
return 1; |
31 |
|
} |
32 |
|
|
33 |
< |
#ifdef _Zweihander_ |
33 |
> |
#ifdef _Master_ |
34 |
|
char user[MAXLOGNAME] = ""; |
35 |
|
|
36 |
|
if (!getuid()) |
117 |
|
if (WEXITSTATUS(status)) |
118 |
|
return 1; |
119 |
|
#else |
120 |
< |
longjmp(environment, (int)"Log in to zweihander.ccs.ucsb.edu to change password"); |
120 |
> |
longjmp(environment, (int)"Log in to " MASTER " to change password"); |
121 |
|
#endif |
122 |
|
|
123 |
|
return 0; |