Sophie

Sophie

distrib > Mageia > 7 > i586 > media > core-release-src > by-pkgid > f37c7b8d3ec17416ea9feaa57c979339 > files > 5

mgetty-1.1.37-5.mga7.src.rpm

--- policy.h	2008-12-21 20:45:41.000000000 +0100
+++ policy.h.oden	2008-12-21 20:45:48.000000000 +0100
@@ -85,7 +85,7 @@
  * ZyXELs use S40.2=1.
  * If the path doesn't start with "/", it's relative to CONFDIR.
  */
-/* #define CNDFILE "dialin.config" */
+#define CNDFILE "dialin.config"
 
 
 /* If you want to use /etc/gettydefs to set tty flags, define this
@@ -114,7 +114,7 @@
 /* group id that the device is chown()ed to. If not defined, the
  * primary group of "DEVICE_OWNER" is used.
  */
-#define DEVICE_GROUP	"modem"
+#define DEVICE_GROUP	"uucp"
 
 /* access mode for the line while getty has it - it should be accessible
  * by uucp / uucp, but not by others (imagine someone dialing into your
@@ -147,7 +147,7 @@
  *
  * if the directory does not exist, the log file goes to CONSOLE (!)
  */
-#define LOG_PATH "/var/log/mgetty.%s"
+#define LOG_PATH "/var/log/mgetty.log.%s"
 
 /* Default log error level threshold. Possible error levels are
  * L_FATAL, L_ERROR, L_AUDIT, L_WARN, L_MESG, L_NOISE, L_JUNK (see mgetty.h)
@@ -172,7 +172,7 @@
  * mgetty will use the facility "LOG_AUTH", and the priorities
  * LOG_NOTICE, LOG_ERR and LOG_ALERT, respectively.
  */
-/* #define SYSLOG */
+#define SYSLOG
 
 /* Syslog facility
  *
@@ -194,7 +194,7 @@
  * current date and time, respectively.
  * override with "-p <prompt>" switch
  */
-#define LOGIN_PROMPT	"@!login: "
+#define LOGIN_PROMPT	"@ login: "
 
 /* The old '#define ENV_TTYPROMPT' option has been superseded by setting 
  * "login-env-ttyprompt-hack yes" in mgetty.config.  See mgetty.texi for
@@ -564,14 +564,14 @@
 #endif
 
 #ifndef MAILER
-# define MAILER		"/usr/lib/sendmail"
+# define MAILER		"/usr/sbin/sendmail"
 # define NEED_MAIL_HEADERS
 #endif
 
 /* where to send notify mail about incoming faxes to
  * (remember to create an mail alias if no such user exists!)
  */
-#define MAIL_TO		"faxadmin"
+#define MAIL_TO		"root"
 
 /* after a fax has arrived, mgetty can call a program for further
  * processing of this fax.
@@ -586,7 +586,7 @@
  * If you don't want this type of service, do not define it at all
  * Absolute path name has to be used here!
  */
-#define FAX_NOTIFY_PROGRAM "/usr/local/lib/mgetty+sendfax/new_fax"
+#define FAX_NOTIFY_PROGRAM "/etc/mgetty+sendfax/new_fax"
 
 /* default minimum space required on spooling partition for receiving a FAX
  * (in KILObytes)