diff options
| author | Matthew Dillon <dillon@FreeBSD.org> | 1998-12-01 21:12:57 +0000 |
|---|---|---|
| committer | Matthew Dillon <dillon@FreeBSD.org> | 1998-12-01 21:12:57 +0000 |
| commit | 386794da125e4b372881e1c32eb638c20ebf0d31 (patch) | |
| tree | 6586d70f33ab73ce92785f68713d56e00831676a /libexec/talkd | |
| parent | f41840a6fc866c35baacb0efc7ccfd72e469d6fc (diff) | |
Notes
Diffstat (limited to 'libexec/talkd')
| -rw-r--r-- | libexec/talkd/talkd.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libexec/talkd/talkd.c b/libexec/talkd/talkd.c index dcb262483d5c..bb61f7e50402 100644 --- a/libexec/talkd/talkd.c +++ b/libexec/talkd/talkd.c @@ -42,7 +42,7 @@ static const char copyright[] = static char sccsid[] = "@(#)talkd.c 8.1 (Berkeley) 6/4/93"; #endif static const char rcsid[] = - "$Id$"; + "$Id: talkd.c,v 1.8 1997/12/02 12:33:42 charnier Exp $"; #endif /* not lint */ /* @@ -89,8 +89,13 @@ main(argc, argv) register CTL_MSG *mp = &request; int cc; +#ifdef NOTDEF + /* + * removed so ntalkd can run in tty sandbox + */ if (getuid()) errx(1, "getuid: not super-user"); +#endif openlog("talkd", LOG_PID, LOG_DAEMON); if (gethostname(hostname, sizeof (hostname) - 1) < 0) { syslog(LOG_ERR, "gethostname: %m"); |
