cron problem: Can Domain user run cron

2001-12-19 Thread Tiffany Chan

Corinna,

There are two cases:
1. In domain controller server, both Domain admin and
Domain user can run cron correctly. There is no
problem

2. But in another w2k server (in domain, but not
domain controller), Domain admin run cron correctly .
But domain user cannot run cron, error : can't switch
user context. I used mkgroup and mkpasswd using
parameter -ld.

So did domain user run cron in server which is not
domain controller ?

Did any other suggestion for running cron job in case
two. I tried at command for w2k, it did not work as
it cannot used by admin only.

Thanks again and sorry.

ikbea




__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: cron problem: Can Domain user run cron

2001-12-19 Thread Corinna Vinschen

On Wed, Dec 19, 2001 at 01:01:11PM +, Tiffany Chan wrote:
 Corinna,
 
 There are two cases:
 1. In domain controller server, both Domain admin and
 Domain user can run cron correctly. There is no
 problem
 
 2. But in another w2k server (in domain, but not
 domain controller), Domain admin run cron correctly .
 But domain user cannot run cron, error : can't switch
 user context. I used mkgroup and mkpasswd using
 parameter -ld.

Care for your /etc/group file as well.  It's probably correct on
the DC since the domain groups are also local groups for the DC.
It's very likely incorrect for a normal domain machine, though.
mkgroup -ld  /etc/group should help.

Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Developermailto:[EMAIL PROTECTED]
Red Hat, Inc.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: cron problem: Can Domain user run cron

2001-12-19 Thread Tiffany Chan

Corinna,

In that normal domain server, I tried to mkpasswd -ld
and passwd group -ld from seversal times, but still
not work. Hm...I have not change the group file after
made. For passwd file, i only change group of Domain
administrator from 10513(None) to 10512 (Domain
admin). I also did it in passwd file of domain
controller server.

Domain user use cygwin work very well in domain server
except cron.(e.g. domain user can rcp from/to domain
contoller)

thanks again and again
ikbea


On Wed, Dec 19, 2001 at 01:01:11PM +, Tiffany Chan
wrote:
 Corinna,
 
 There are two cases:
 1. In domain controller server, both Domain admin
and
 Domain user can run cron correctly. There is no
 problem
 
 2. But in another w2k server (in domain, but not
 domain controller), Domain admin run cron correctly
.
 But domain user cannot run cron, error : can't
switch
 user context. I used mkgroup and mkpasswd using
 parameter -ld.

Care for your /etc/group file as well.  It's probably
correct on
the DC since the domain groups are also local groups
for the DC.
It's very likely incorrect for a normal domain
machine, though.
mkgroup -ld  /etc/group should help.

Corinna


__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/