HPlogo HP-UX Reference > T

ttsyncd(1M)

HP-UX 11i Version 2: December 2007 Update
» 

Technical documentation

 » Table of Contents

 » Index

NAME

ttsyncd — daemon to maintain the nis+ password table in sync with the nis+ trusted table

SYNOPSIS

/usr/lbin/ttsyncd [-D] [-v] [-t synchour] [-i interval]

DESCRIPTION

ttsyncd checks that each login name in the nis+ password (passwd) table appears in the nis+ trusted table. It will create a user entry in the trusted table for every user that exists in the password table and NOT in the trusted table. Each nis+ user can potentially log in to an HP trusted system; thus, ttsyncd aids trusted systems by creating an entry in the trusted table before the nis+ user logs in. In turn, the system administrator can modify global security attributes for each nis+ user before they log in to a trusted system that is part of the nis+ namespace.

Options

ttsyncd recognizes the following options:

-D

Used for debugging ttsyncd. All output will go to the screen as well as the syslog.

-v

Verbose mode used for debugging ttsyncd.

-t

Initial daily sync time. The time is in military hour (0 through 23). For example,

-t10

sync time is 10 a.m.

-t23

sync time is 11 p.m.

-t0

midnight

default

sync once next sync at midnight

-i

Sync interval. This value is allowed from 0 through 23. This is only in hours. For example,

-i0

sync continuously (see note below)

-i4

sync every 4 hours

-i20

sync every 20 hours

default

sync 24 hours

Operations

If it is desired to administer Trusted Mode centrally within a nis+ namespace, ttsyncd should be running on every HP nis+ server. Furthermore, ttsyncd can be started automatically at boot time by setting TTSYNCD=1 in /etc/rc.config.d/comsec. Additionally, ttsyncd will run only on a nis+ server (root or master) and only if nis+ is up and running.

Note

If interval -i0 is given, ttsyncd will keep checking the passwd table for change. If there is any change in the passwd table then it will do a sync. This is useful when trusted table needs to be sync'ed as soon passwd table is modified. The drawback is it will consume CPU time for checking the passwd table.

EXAMPLES

Initial sync time at midnight and sync every 2 hours.

/usr/lbin/ttsyncd -t0 -i2

Initial sync time at 10 a.m and sync every 2 hours.

/usr/lbin/ttsyncd -t10 -i2

Initial sync time at midnight and sync every 4 hours.

/usr/lbin/ttsyncd -i4

Sync only at midnight.

/usr/lbin/ttsyncd

Continuously sync starting at midnight.

/usr/lbin/ttsyncd -i0

DEPENDENCIES

NIS+ (Network Information Name Service)

ttsyncd requires NIS+ to be configured and running. It should be run only on an nis+ server. Moreover, ttsyncd will self-terminate if the password table does not exist.

AUTHOR

ttsyncd was developed by Hewlett Packard.

FILES

/etc/rc.config.d/comsec /etc/sbin/init.d/comsec

SEE ALSO

getprpwent(3).