Telinit

/sbin/telinit is linked to /sbin/init. It takes a one-character argument and signals init to perform the appropriate action. The following arguments serve as directives to / sbin/telinit:

0, 1, 2, 3, 4, 5, or 6 Tell / sbin/init to switch to the specified run level.

a, b, c Tell / sbin/init to process only those /etc/ inittab file entries having run level a, b, or c.

Q or q Tell / sbin/init to re-examine the /etc/inittab file.

S or s Tell / sbin / init to switch to single-user mode.

/sbin/telinit can also tell init how much time it should wait between sending processes the TERM and the KILL signal; the default is 20 seconds, but it can be changed by the -t sec option.

/sbin/telinit can be invoked only by users with appropriate privileges.

Was this article helpful?

0 0

Post a comment