From b1769be32cdb15bac0d4e2bb1a013c830cb8c772 Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Wed, 1 Oct 1997 13:02:20 +0000 Subject: [PATCH] Move locks from /etc/opielocks to /var/run/opielocks to keep /etc non-writeable as possible --- contrib/opie/config.h | 2 +- lib/libopie/config.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/opie/config.h b/contrib/opie/config.h index 0f6fd1c51533..bf91b2e68e8d 100644 --- a/contrib/opie/config.h +++ b/contrib/opie/config.h @@ -169,7 +169,7 @@ #define NEW_PROMPTS 1 /* Defined to the path of the OPIE lock directory */ -#define OPIE_LOCK_DIR "/etc/opielocks" +#define OPIE_LOCK_DIR "/var/spool/opielocks" /* Defined if users are to be asked to re-type secret pass phrases */ /* #undef RETYPE */ diff --git a/lib/libopie/config.h b/lib/libopie/config.h index 0f6fd1c51533..bf91b2e68e8d 100644 --- a/lib/libopie/config.h +++ b/lib/libopie/config.h @@ -169,7 +169,7 @@ #define NEW_PROMPTS 1 /* Defined to the path of the OPIE lock directory */ -#define OPIE_LOCK_DIR "/etc/opielocks" +#define OPIE_LOCK_DIR "/var/spool/opielocks" /* Defined if users are to be asked to re-type secret pass phrases */ /* #undef RETYPE */