[lug] Why can't I set my date
Michael Hirsch
mdhirsch at gmail.com
Thu May 14 13:48:31 MDT 2015
On Thu, May 14, 2015 at 1:38 PM, Stephen Queen <svqueen at gmail.com> wrote:
> That is the behavior when you don't have root permission. Are you sure sudo
> is set up correctly?
Good question. I think I'm working:
[497] ~>date -s '+next month'
date: cannot set date: Operation not permitted
Sun Jun 14 13:47:13 MDT 2015
[498] ~>sudo date -s '+next month'
Sun Jun 14 13:47:16 MDT 2015
[499] ~>date
Thu May 14 13:47:17 MDT 2015
[500] ~>
So date at least thinks that it is allowed to do this.
Thanks,
Michael
>
> On Thu, May 14, 2015 at 1:20 PM, Michael Hirsch <mdhirsch at gmail.com> wrote:
>>
>> On Thu, May 14, 2015 at 1:09 PM, Stephen Queen <svqueen at gmail.com> wrote:
>> > Try
>> > sudo date -s '+next month'
>>
>> Thanks for the suggestion, but:
>>
>> [606] ~>sudo date -s '+next month'
>> [sudo] password for mhirsch:
>> Sun Jun 14 13:19:35 MDT 2015
>> [607] ~>date
>> Thu May 14 13:19:36 MDT 2015
>> [608] ~>
>>
>> --Michael
>>
>> > On Thu, May 14, 2015 at 1:01 PM, Michael Hirsch <mdhirsch at gmail.com>
>> > wrote:
>> >>
>> >> I'm testing some calendar sensitive stuff, so I'm trying set my Ubuntu
>> >> desktop to be in the future. Though I've set my clock hundreds of
>> >> times in the past, it isn't working any more.
>> >>
>> >> I've tried the commandline:
>> >> sudo date -s "01 Sep 2015 12:53:00"
>> >> sudo date -s 'next month'
>> >> and a few dozen variations on this. Date prints out the date I
>> >> requestion, but the clock is actually unchanged:
>> >>
>> >> 595] $>sudo date -s 'next month'
>> >> Sun Jun 14 12:58:35 MDT 2015
>> >> [596] $>date
>> >> Thu May 14 12:58:38 MDT 2015
>> >> [597] $>
>> >>
>> >> I've also tried to use systemsettings (the KDE admin GUI) and it
>> >> behaves similarly. I set the date and press "Apply". The gui seems
>> >> to have a different date, but it refreshes in a few seconds with my
>> >> original date and time.
>> >>
>> >> WTF? This used to be easy.
>> >>
>> >> Oh, I was running ntpd but I turned it off.
>> >>
>> >> Any ideas?
>> >>
>> >> Cluelessly yours,
>> >>
>> >> Michael
>> >> _______________________________________________
>> >> Web Page: http://lug.boulder.co.us
>> >> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
>> >> Join us on IRC: irc.hackingsociety.org port=6667
>> >> channel=#hackingsociety
>> >
>> >
>> >
>> > _______________________________________________
>> > Web Page: http://lug.boulder.co.us
>> > Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
>> > Join us on IRC: irc.hackingsociety.org port=6667 channel=#hackingsociety
>> _______________________________________________
>> Web Page: http://lug.boulder.co.us
>> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
>> Join us on IRC: irc.hackingsociety.org port=6667 channel=#hackingsociety
>
>
>
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> Join us on IRC: irc.hackingsociety.org port=6667 channel=#hackingsociety
More information about the LUG
mailing list