time-admin error: "Could not authenticate"

Leo Cacciari leo.cacciari at gmail.com
Tue Aug 5 10:16:17 UTC 2008


Il giorno lun, 04/08/2008 alle 23.06 -0700, Colin Brace ha scritto:
> Hi all,
> 
> I recently installed 8.04 on a new laptop in a different time zone; now that
> I am home, I need to change the TZ, but time-admin won't "unlock"; after
> about twenty seconds it displays a dialog box saying: "Could not
> authenticate". 
> 
> It looks like this bug was reported and fixed:
> https://bugs.launchpad.net/ubuntu/+source/gtk+2.0/+bug/183804
> 
> In the meantime, are there any workarounds? For some reason running
> time-admin from gksudo doesn't work either.
> 
> TIA
> 
Hi,
  you could edit by hand (using your preferred editor through sudo) the
file /etc/timezone which contains the time zone name.

  By the way, the *right* way to edit a system file using sudo is to do,
in a terminal

EDITOR=your preferred editor here
export EDITOR
sudo -e path/to/file

The first two line could be added to your ~/.bashrc

Enjoy

-- 
Leo Cacciari


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Questa รจ una parte del messaggio	firmata digitalmente
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20080805/683812e8/attachment.sig>


More information about the ubuntu-users mailing list