Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/apmd Default socket owner to operator:operator.
details: https://anonhg.NetBSD.org/src/rev/e155b1335e68
branches: trunk
changeset: 587309:e155b1335e68
user: elad <elad%NetBSD.org@localhost>
date: Fri Jan 20 00:21:35 2006 +0000
description:
Default socket owner to operator:operator.
diffstat:
usr.sbin/apmd/apmd.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (20 lines):
diff -r ee9b6297a332 -r e155b1335e68 usr.sbin/apmd/apmd.c
--- a/usr.sbin/apmd/apmd.c Fri Jan 20 00:10:33 2006 +0000
+++ b/usr.sbin/apmd/apmd.c Fri Jan 20 00:21:35 2006 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: apmd.c,v 1.27 2004/01/06 13:29:55 wiz Exp $ */
+/* $NetBSD: apmd.c,v 1.28 2006/01/20 00:21:35 elad Exp $ */
/*-
* Copyright (c) 1996, 2000 The NetBSD Foundation, Inc.
@@ -320,8 +320,8 @@
const char *sockname = sockfile;
char *user, *group;
char *scratch;
- uid_t uid = 0;
- gid_t gid = 0;
+ uid_t uid = 2; /* operator */
+ gid_t gid = 5; /* operator */
struct passwd *pw;
struct group *gr;
Home |
Main Index |
Thread Index |
Old Index