Private
Server IP : 195.201.23.43  /  Your IP : 18.117.85.73
Web Server : Apache
System : Linux webserver2.vercom.be 5.4.0-192-generic #212-Ubuntu SMP Fri Jul 5 09:47:39 UTC 2024 x86_64
User : kdecoratie ( 1041)
PHP Version : 7.1.33-63+ubuntu20.04.1+deb.sury.org+1
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/webmin/nis/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /usr/share/webmin/nis/nisupdate.conf
# 		Sample Rules for the nis_update Script

# Copy this file into a subdirectory with your NIS domain's name as
# .nisupdate.conf and edit it there to reflect the maps you have.

# For every possible transformation complex ( e.g. passwd+shadow ->
# *.byname+.byuid) there is a rule that is identified by a free-form string
# that is printed upon its execution. The contents of $rule{"$idstr"} determine
# the actual action to be taken.

# Rule syntax: "<func> <src>[,<src2>,...]  <dest>[,<dest2>,...] [func-options]"
# options must be last because they're optional :-)
# they are a comma separated list for each target:
# 0-9: key field
# 'n': exclude key field from value string
# ':': field separator (group, no shadow). passwd is special anyway.
#
# default is "0" for single DBs, "0,1" for dual DBs (*.byname,*.bynumber)

# I assume you want at least passwd and group.
# Un-comment the rest or add your own.

# $rule{"aliases"} =
#     "mkdb aliases mail.aliases n0:";

# $rule{"amd.home"} =
#     "mkdb amd.home amd.home n0";

# $rule{"amd.master"} =
#     "mkdb amd.master amd.master n0";

# $rule{"ethers"} =
#     "mkdb2 ethers ethers.byname,ethers.byaddr ";

$rule{"group"} =
    "mkdb2 group group.bygid,group.byname 2:,0:";

# $rule{"group.shadow"} =
#    "pwunconv group,gshadow group.bygid,group.byname";

# $rule{"hosts"} =
#     "mkdb2 hosts hosts.byname,hosts.byaddr 1,0";

# $rule{"netgroup"} =
#     "revnetgroup netgroup netgroup,netgroup.byuser,netgroup.byhost";

# $rule{"netid"} =
#     "mkdb netid netid.byname ";

# $rule{"networks"} =
#     "mkdb2 networks networks.byname,networks.byaddr 0,1";

$rule{"passwd"} =
    "pwunconv passwd,shadow passwd.byname,passwd.byuid,shadow.byname";

# $rule{"protocols"} =
#     "mkdb2 protocols protocols.byname,protocols.bynumber";

# $rule{"rpc"} =
#     "mkdb2 rpc rpc.byname,rpc.bynumber 1,0";

# $rule{"services"} =
#     "mkdb2 services services.byservicename,services.byservicenumber";

# $rule{""} = "mkdb  0";

Private