This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC] Globally creating a user and a group "root"


On Thu, Nov 27, 2003 at 11:24:55AM +0100, Corinna Vinschen wrote:
> On Thu, Nov 27, 2003 at 09:58:52AM -0000, Morrison, John wrote:
> > Corinna Vinschen wrote:
> > >   I don't know exactly
> > > but it's possible that W2K doesn't have these SeDenyWhatever user
> > > rights. 
> > 
> > editrights -a SeDenyRemoteInteractiveLogonRight -u root
> > 
> > was the one that failed.  Would it be best (assuming these
> > last 3 are optional) to 2> /dev/null them?  Is there any other info
> > that would help?
> 
> Er... only this one?  Hmm, that makes sense, sort of.  Look like
> this right only exist since XP.
> 
> I'm reluctant to devnull them.  There might be a real error covered
> when doing this.  I'll better add another variable to check if running
> under XP or newer.

ping! ping! ping! 

New create-root script attached!

This script should do it right now.  Additionally I changed the way
how the password is read to using the `read -s' option to hide what's
actually typed in.

Can you give this script another test?

Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

Attachment: create-root
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]