summaryrefslogtreecommitdiffstats
path: root/pw
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2001-10-19 10:45:14 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2001-10-19 10:45:14 +0000
commit71c5861547c660d88d240434ddb0f63eb66a391c (patch)
tree9095d19d5a20763bcc697e8aeb01e3c5ef3cc434 /pw
parentf567d47c24feecab673e8da68f9dea5926fd78ca (diff)
downloadpw-darwin-71c5861547c660d88d240434ddb0f63eb66a391c.tar.gz
pw-darwin-71c5861547c660d88d240434ddb0f63eb66a391c.tar.zst
pw-darwin-71c5861547c660d88d240434ddb0f63eb66a391c.zip
Change rmskey() to rmopie() - we don't have skey anymore
Diffstat (limited to 'pw')
-rw-r--r--pw/pw_user.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/pw/pw_user.c b/pw/pw_user.c
index 125d032..3294e69 100644
--- a/pw/pw_user.c
+++ b/pw/pw_user.c
@@ -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];