]> git.cameronkatri.com Git - pw-darwin.git/commitdiff
Change rmskey() to rmopie() - we don't have skey anymore
authorAndrey A. Chernov <ache@FreeBSD.org>
Fri, 19 Oct 2001 10:45:14 +0000 (10:45 +0000)
committerAndrey A. Chernov <ache@FreeBSD.org>
Fri, 19 Oct 2001 10:45:14 +0000 (10:45 +0000)
pw/pw_user.c

index 125d032b9f6aebf4e620edd6b1748c321db0c5b9..3294e6915e396b89e28752009d3529839159e4a3 100644 (file)
@@ -67,7 +67,7 @@ static char    *pw_shellpolicy(struct userconf * cnf, struct cargs * args, char
 static char    *pw_password(struct userconf * cnf, struct cargs * args, char const * user);
 static char    *shell_path(char const * path, char *shells[], char *sh);
 static void     rmat(uid_t uid);
-static void    rmskey(char const * name);
+static void     rmopie(char const * name);
 
 /*-
  * -C config      configuration file
@@ -376,10 +376,10 @@ pw_user(struct userconf * cnf, int mode, struct cargs * args)
 
                        if (!PWALTDIR()) {
                                /*
-                                * Remove skey record from /etc/skeykeys
+                                * Remove opie record from /etc/opiekeys
                                 */
 
-                               rmskey(pwd->pw_name);
+                               rmopie(pwd->pw_name);
 
                                /*
                                 * Remove crontabs
@@ -1239,10 +1239,10 @@ rmat(uid_t uid)
 }
 
 static void
-rmskey(char const * name)
+rmopie(char const * name)
 {
-       static const char etcskey[] = "/etc/skeykeys";
-       FILE   *fp = fopen(etcskey, "r+");
+       static const char etcopie[] = "/etc/opiekeys";
+       FILE   *fp = fopen(etcopie, "r+");
 
        if (fp != NULL) {
                char    tmp[1024];