| Server IP : 82.208.35.60 / Your IP : 216.73.216.89 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/libexec/ |
Upload File : |
#!/bin/sh # # This script is invoked by rpc.yppasswdd to update the password # maps after the master password file has been modified. It expects # to be passed two arguments: the name of the master.passwd template # file that was modified by the server, and the name of the domain to # update. These are passed to /var/yp/Makefile. # # Comment out the LOG=yes line to disable logging. # # $FreeBSD: releng/12.4/usr.sbin/rpc.yppasswdd/yppwupdate 50479 1999-08-28 01:35:59Z peter $ # PATH=/bin:/usr/bin; export PATH LOG=yes LOGFILE=/var/yp/ypupdate.log umask 077 if [ ! -f $LOGFILE ]; then touch $LOGFILE echo "# Edit /usr/libexec/yppwupdate to disable" >> $LOGFILE echo "# logging to this file from yppasswdd." >> $LOGFILE echo -n "# Log started on: " >> $LOGFILE date >> $LOGFILE fi if [ ! $LOG ]; then cd /var/yp && make MASTER_PASSWD=$1 UPDATE_DOMAIN=$2 $3 2>&1 else cd /var/yp && make MASTER_PASSWD=$1 UPDATE_DOMAIN=$2 $3 >> $LOGFILE 2>&1 fi