Portál AbcLinuxu, 25. dubna 2024 05:39
/etc/ssh/sshd_config
Zakomentovat radku
#Subsystem sftp /usr/lib/sftp-serverRozdil v casu o dve hodiny napadne primomibna rozdil mezi CEST a UTC :) Viz volba
UTC=(yes|no)
v /etc/default/rcS
.
netstat -tnpl | grep :21Posledni polozka bude bud (x)inetd, pak ten ftp server zruste v /etc/(x)ientd.conf, nebo to bude standalone server, pak ho zruste v rcconf.
# grep UTC /etc/default/rcS # Set UTC=yes if your system clock is set to UTC (GMT), and UTC=no if not. UTC=no # /etc/init.d/hwclockfirst.sh start && /etc/init.d/hwclock.sh start System time was Fri Jul 9 17:24:41 UTC 2004. Setting the System Clock using the Hardware Clock as reference... System Clock set. System local time is now Fri Jul 9 19:24:43 CEST 2004. Setting the System Clock using the Hardware Clock as reference... System Clock set. Local time: Fri Jul 9 19:24:44 CEST 2004(pri prechodu zpatky se mi vypnul monitor :))
hwclock --debug
date -s 23:05 # sup sup, jinak vam to oujde pozadu :) hwclock --systohc
Tiskni Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.