Re: Setting the time through a logon script

2002-09-26 Thread Olaf Frczyk

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.

Regards,

Olaf Fraczyk







Re: Setting the time through a logon script

2002-09-26 Thread Rafal Szczesniak

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 [EMAIL PROTECTED]   |
|*BSD, GNU/Linux and Samba  /
|__/



RE: Setting the time through a logon script

2002-09-26 Thread Shane Tapper

Line of logon script
net time \\viagra /set /yes

The user is a created in the default RedHat group.  The user is an
Administrator on the W2K box.  When not logged into the Samba Server script
runs wonderfully.  What group do I need to assure the user is in on the
Linux Box to allow time change when authenticated by Samba.






Setting the time through a logon script

2002-09-25 Thread Shane Tapper


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


Shane
[EMAIL PROTECTED]






Re: Setting the time through a logon script

2002-09-25 Thread Richard Sharpe

On Wed, 25 Sep 2002, 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

Hmmm, are you telling us or asking us?

The above command is what I use.

You might need to make sure all your users are in the right group, though. 
Local Power Users seems to be the group you need.

Regards
-
Richard Sharpe, [EMAIL PROTECTED], [EMAIL PROTECTED], 
[EMAIL PROTECTED]




Re: Setting the time through a logon script

2002-09-25 Thread David W. Chapman Jr.

  line of logon script
  net time \\viagra /set /yes
 
 Hmmm, are you telling us or asking us?
 
 The above command is what I use.
 
 You might need to make sure all your users are in the right group, though. 
 Local Power Users seems to be the group you need.
 
Don't you also have to enable the time server in smb.conf or is that 
for something else?  Of course this setting wouldn't have anything to 
do with his error.

-- 
David W. Chapman Jr.
[EMAIL PROTECTED]   Raintree Network Services, Inc. www.inethouston.net
[EMAIL PROTECTED]   FreeBSD Committer www.FreeBSD.org



Re: Setting the time through a logon script

2002-09-25 Thread Richard Sharpe

On Wed, 25 Sep 2002, David W. Chapman Jr. wrote:

   line of logon script
 net time \\viagra /set /yes
  
  Hmmm, are you telling us or asking us?
  
  The above command is what I use.
  
  You might need to make sure all your users are in the right group, though. 
  Local Power Users seems to be the group you need.
  
 Don't you also have to enable the time server in smb.conf or is that 
 for something else?  Of course this setting wouldn't have anything to 
 do with his error.

That works by default.

Regards
-
Richard Sharpe, [EMAIL PROTECTED], [EMAIL PROTECTED], 
[EMAIL PROTECTED]