$ xset dpms force off
Vylepšením může být příkaz sleep, který zajistí nestisknutí klávesy v době spouštění samotného příkazu:
$ sleep 5 && xset dpms force off
Pozn.: sleep 5 znamená vyčkej pět vteřin.
$ xset dpms force off
$ sleep 5 && xset dpms force off
# apt-get install sudo
# vim /etc/sudoers
# /etc/sudoers
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the man page for details on how to write a sudoers file.
# Defaults
Defaults !lecture,tty_tickets,!fqdn
# Uncomment to allow members of group sudo to not need a password
# %sudo ALL=NOPASSWD: ALL
# Host alias specification
# User alias specification
# Cmnd alias specification
# User privilege specification
root ALL=(ALL) ALL
# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL
# groupadd admin
# usermod -a -G admin orkac
$ sudo passwd -l root
# vim /etc/modprobe.conf
alias net-pf-10 off
alias ipv6 off
..
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "cs_CZ.UTF-8"
are supported and installed on your system.
# apt-get install locales
# dpkg-reconfigure locales
[*] cs_CZ ISO-8859-2
[*] cs_CZ.UTF-8 UTF-8
cs_CZ.UTF-8