AlphaNT: Windows NT on Alpha (1995-2000)
 help / color / mirror / Atom feed
* RE: Command Scheduler Owner
@ 1996-06-10 23:20 Bobby Seder
  0 siblings, 0 replies; 4+ messages in thread
From: Bobby Seder @ 1996-06-10 23:20 UTC (permalink / raw)


Actually, is the "at" scheduler as we know in a binary file or in the registry somewhere??

----------
From: 	Van Valkenburg, Brian (ON49)
Sent: 	Monday, June 10, 1996 9:29 AM
To: 	alphant@garply.com
Subject: 	Command Scheduler Owner

Good day,

I am having problems with a backup that is being performed by the command 
scheduler. Backups fail on remote NT workstations disks with an error saying 
that I don't have permission to access the disk.

However.

The same backup batch file works fine when I run it. (not using the 
scheduler).

How can I check to see who the owner of the scheduler is (I cant find it in 
the registry).

Thanks in Advance

Brian V
-
(The above mail message was from "Van Valkenburg, Brian (ON49)" <Brian.Van.Valkenburg@ONTARIO.honeywell.com>, to alphant)
To subscribe to this list: To: majordomo@garply.com, Text: SUBSCRIBE ALPHANT
To unsubscribe:            To: majordomo@garply.com, Text: UNSUBSCRIBE ALPHANT
Alpha NT FAQ: http://www.garply.com/tech/comp/sw/pc/nt/ant_faq.html

-
(The above mail message was from Bobby Seder <bseder@drebin.phs.com>, to alphant)
To subscribe to this list: To: majordomo@garply.com, Text: SUBSCRIBE ALPHANT
To unsubscribe:            To: majordomo@garply.com, Text: UNSUBSCRIBE ALPHANT
Alpha NT FAQ: http://www.garply.com/tech/comp/sw/pc/nt/ant_faq.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Command Scheduler Owner
@ 1996-06-11 10:27 Pedro Mendes
  0 siblings, 0 replies; 4+ messages in thread
From: Pedro Mendes @ 1996-06-11 10:27 UTC (permalink / raw)


On 10 Jun 96 at 11:29, Van Valkenburg, Brian (ON49) wrote:
> [snip]
> How can I check to see who the owner of the scheduler is (I cant find it in 
> the registry).

The scheduler runs as SYSTEM. However this has not be so. In our setup we 
have the scheduler service running as a defined user that is a member of 
the BACKUP OPERATORS group. This way it has permissions to access 
directories. To change the user that owns this service go into control 
panel, services and select the service you want (scheduler in this case). 
Then select startup, click on the "This Account" and fill in the user 
name and password. Beware that if you type a wrong password the system 
does not complain but then the service fails to start (you'll only catch 
this in the event log). You will have to stop and restart the service after 
you made the changes so that they come into effect.

I hope this helps
Pedro.

Pedro Mendes                                     Inst. Biological Sciences
prm@aber.ac.uk (home: pedro@enzyme.demon.co.uk)  Univ. Wales, Aberystwyth,
http://gepasi.dbs.aber.ac.uk/pedro/prmhome.htm   Dyfed SY23 3DA, U.K.
PGP mail welcome! (public key on demand)         FAX: +44 (0)1970 622350
-
(The above mail message was from Pedro Mendes <prm@aber.ac.uk>, to alphant)
To subscribe to this list: To: majordomo@garply.com, Text: SUBSCRIBE ALPHANT
To unsubscribe:            To: majordomo@garply.com, Text: UNSUBSCRIBE ALPHANT
Alpha NT FAQ: http://www.garply.com/tech/comp/sw/pc/nt/ant_faq.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Command Scheduler Owner
@ 1996-06-11 16:16 Jim Crozier
  0 siblings, 0 replies; 4+ messages in thread
From: Jim Crozier @ 1996-06-11 16:16 UTC (permalink / raw)


The scheduler service default is to run under the system account.  The 
     system account is limited to local access (no network access).  We 
     create special accounts in the Domain Admins group to run such jobs.

______________________________ Reply Separator _________________________________
Subject: Command Scheduler Owner
Author:  "Van Valkenburg, Brian (ON49)" 
<Brian.Van.Valkenburg@ONTARIO.honeywell.com> at INTERNET
Date:    6/10/96 6:43 PM

     
Good day,
     
I am having problems with a backup that is being performed by the command 
scheduler. Backups fail on remote NT workstations disks with an error saying 
that I don't have permission to access the disk.
     
However.
     
The same backup batch file works fine when I run it. (not using the 
scheduler).
     
How can I check to see who the owner of the scheduler is (I cant find it in 
the registry).
     
     
Thanks in Advance
     
Brian V
-
(The above mail message was from "Van Valkenburg, Brian (ON49)" 
<Brian.Van.Valkenburg@ONTARIO.honeywell.com>, to alphant)
To subscribe to this list: To: majordomo@garply.com, Text: SUBSCRIBE ALPHANT 
To unsubscribe:            To: majordomo@garply.com, Text: UNSUBSCRIBE ALPHANT 
Alpha NT FAQ: http://www.garply.com/tech/comp/sw/pc/nt/ant_faq.html

-
(The above mail message was from "Jim Crozier" <jcrozier@mail.dos.state.fl.us>, to alphant)
To subscribe to this list: To: majordomo@garply.com, Text: SUBSCRIBE ALPHANT
To unsubscribe:            To: majordomo@garply.com, Text: UNSUBSCRIBE ALPHANT
Alpha NT FAQ: http://www.garply.com/tech/comp/sw/pc/nt/ant_faq.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: Command Scheduler Owner
@ 1996-06-11 17:12 Sakovich, Aaron
  0 siblings, 0 replies; 4+ messages in thread
From: Sakovich, Aaron @ 1996-06-11 17:12 UTC (permalink / raw)


owner-alphant wrote:
>
>Good day,
>
>I am having problems with a backup that is being performed by the   
command
>scheduler. Backups fail on remote NT workstations disks with an error   
saying
>that I don't have permission to access the disk.
>
>However.
>
>The same backup batch file works fine when I run it. (not using the
>scheduler).
>
>How can I check to see who the owner of the scheduler is (I cant find it   
in
>the registry).
>
>
>Thanks in Advance
>
>Brian V

Several people have recommended setting the AT service to run as a   
separate account in the backup admins group.  I personally would prefer   
*NOT* to do that.  This opens a security hole in that anyone who can   
schedule a job on the system now has access to *all* the files on the   
system.  Not good.

What I do instead is to provide a common account on all the machines in   
the backup group (call it BACKUP) with a common password (say PWORD).   
 Now, I can create a procedure on my machine with the tape device that   
does the following:

 net use X: \\node\c$ /user:node\BACKUP PWORD

You've got to provide both the username and password on this NET USE   
line, otherwise the connection will be made as the system (or would it be   
guest access?  I've not tried it, so I couldn't say.)  Either way, now   
I've got access to all the files on that drive and can back it up.  No   
changing the AT service, either.

Ah, but those of you enlightened in security matters say "WHOA!  You   
stuck a password in a file!!!"  Yup, sure did.  Sorry 'bout that.  This   
obviously needs to be an extremely tightly controlled file, or you've got   
another security breach.  Any other ideas on how else to provide password   
protected access?  You definitely don't want to provide the password as a   
parameter to the procedure passed from the AT command (just do an AT and   
you'd see it).  Can it be encrypted somehow?  Not that I'm aware of.  A   
proxy?  That's basically what you're doing in a workgroup, which requires   
the password.

Below is my procedure to actually do the backups.  Note that this is a   
modular routine and is called from another procedure with varying   
parameters for different workstations and drives.  Schedule this other   
procedure, not this one (don't forget to change the PASSWORD  on line   
15).

 ------------------------ cut here ---------------------------
rem @echo off
rem System_backup.bat
rem  by ACSakovich, 12/18/95
rem
rem Parameters: 1 2 3 4+
rem   Domain Node Disk Other optional parameters to NTbackup
rem   Name Name Share (up to 6)
rem  e.g.   WGRP NODE C$ /d "Joe's node" /a /t normal
echo ------------------------------------------------
time < nul: | findstr "current"
echo Backing up \\%2\%3 in domain %1
echo.
if %computername% == %2% goto Local
echo *** Connecting to remote machine
set drive=X
if exist %drive%:\. net use %drive%: /d
net use %drive%: \\%2\%3 /user:%1\Backup !!!YourPasswordHere!!!
if errorlevel 1 goto NoConn
echo *** Backing up remote drive
goto Backup

:Local
set drive=%3
echo *** Backing up local drive

:Backup
ntbackup backup %drive%: /v /b /l "d:\users\backup\logfiles\%1%2%3.log"   
/e %4 %5 %6 %7 %8 %9

if %computername% == %2% goto Done
echo *** Disconnecting remote machine
net use %drive%: /d

:Done
echo *** Exiting
:NoConn
 ------------------------ cut here ---------------------------

Hope this helps,
Aaron
 --
Aaron Sakovich ---------------------------------------- aaron@garply.com
Alpha NT mail list ------------------------------- Alpha NT file archive
alphant@garply.com   http://www.garply.com/tech/comp/sw/pc/nt/alpha.html  
-
(The above mail message was from "Sakovich, Aaron" <ASakovich@ncs.com>, to alphant)
To subscribe to this list: To: majordomo@garply.com, Text: SUBSCRIBE ALPHANT
To unsubscribe:            To: majordomo@garply.com, Text: UNSUBSCRIBE ALPHANT
Alpha NT FAQ: http://www.garply.com/tech/comp/sw/pc/nt/ant_faq.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1996-06-11 17:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-06-11 17:12 Command Scheduler Owner Sakovich, Aaron
  -- strict thread matches above, loose matches on Subject: below --
1996-06-11 16:16 Jim Crozier
1996-06-11 10:27 Pedro Mendes
1996-06-10 23:20 Bobby Seder

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox