Setting the time through a logon script

Rafal Szczesniak mimir at diament.ists.pwr.wroc.pl
Thu Sep 26 09:55:01 GMT 2002


On Thu, Sep 26, 2002 at 09:45:03AM +0200, Olaf Frączyk wrote:
> On Wed, 2002-09-25 at 22:05, Shane Tapper wrote:
> > 
> > How do I set the clock through a logon script if I wish to keep the user a
> > standard user
> > 
> > line of logon script
> > 	net time \\viagra /set /yes
> You have to add this right to standard users group on Windows. 
> This is something like: Permit users to set local time, or something
> similar.
> It works for NT. For Win2k haven't tried - on Win2k I have only set
> advanced users.

For WinNT running such command requires 'Power Users' membership
or 'Change system time' privilege.


-- 
cheers,
+------------------------------------------------------------+
|Rafal 'Mimir' Szczesniak <mimir at diament.ists.pwr.wroc.pl>   |
|*BSD, GNU/Linux and Samba                                  /
|__________________________________________________________/



More information about the samba-technical mailing list