Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Nov 2002 15:12:06 +0100
From:      Roman Neuhauser <neuhauser@bellavista.cz>
To:        root <iuliand@romtelecom.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: date set unable
Message-ID:  <20021105141206.GK68683@freepuppy.bellavista.cz>
In-Reply-To: <3DC7F80D.11A0D9B4@romtelecom.net>
References:  <3DC7F80D.11A0D9B4@romtelecom.net>

next in thread | previous in thread | raw e-mail | index | archive | help
# iuliand@romtelecom.net / 2002-11-05 16:55:42 +0000:
> I set the date back with an hour, looks fine, but if I want to see the
> current date, it's the same with the date before.
> I want to know why, please!

    is this the problem?

    roman@freepuppy ~ 1030:0 > man date|col -b|grep -C1 securelevel 

     Only the superuser may set the date, and if the system securelevel (see
     securelevel(8)) is greater than 1, the time may not be changed by more
     than 1 second.
    roman@freepuppy ~ 1031:0 > sysctl kern.securelevel 
    kern.securelevel: -1

-- 
If you cc me or take the list(s) out completely I'll most likely ignore
your message.      see http://www.eyrie.org./~eagle/faqs/questions.html

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021105141206.GK68683>