>Mandrake in 10.1 introduced a change in msec >(/usr/share/msec/libmsec.py)
>to change back the ctrl-alt-del line if you as sysadmin change it.
>The default is to have ctrl-alt-del reboot the system. This is often
>completely inappropriate (eg on a laptop). However if you change
>shutdown -t3 -r now
>to
>shutdown -t3 -h now
>msec changes it back by this line
>inittab.replace_line_matching(CTRALTDEL_REGEXP, >'ca::ctrlaltdel:/sbin/shutdown -t3 -r now', 1)
dansl ibmsec.py trouve
inittab.replace_line_matching(CTRALTDEL_REGEXP,'ca::ctrlaltdel:/sbin/shutdown -t3 -r now', 1
et remplace par
inittab.replace_line_matching(CTRALTDEL_REGEXP,'ca::ctrlaltdel:/sbin/shutdown -t3 -h now', 1
# re:
Posté par nikitae . En réponse au message Question sur msec. Évalué à 3.
>to change back the ctrl-alt-del line if you as sysadmin change it.
>The default is to have ctrl-alt-del reboot the system. This is often
>completely inappropriate (eg on a laptop). However if you change
>shutdown -t3 -r now
>to
>shutdown -t3 -h now
>msec changes it back by this line
>inittab.replace_line_matching(CTRALTDEL_REGEXP, >'ca::ctrlaltdel:/sbin/shutdown -t3 -r now', 1)
dansl ibmsec.py trouve
inittab.replace_line_matching(CTRALTDEL_REGEXP,'ca::ctrlaltdel:/sbin/shutdown -t3 -r now', 1
et remplace par
inittab.replace_line_matching(CTRALTDEL_REGEXP,'ca::ctrlaltdel:/sbin/shutdown -t3 -h now', 1