This is the mail archive of the
mailing list for the Cygwin project.
Re: [RFC] Globally creating a user and a group "root"
- From: Corinna Vinschen <vinschen at redhat dot com>
- To: "'cygwin-apps at cygwin dot com'" <cygwin-apps at cygwin dot com>
- Date: Thu, 27 Nov 2003 13:43:57 +0100
- Subject: Re: [RFC] Globally creating a user and a group "root"
- References: <CCD084B0E779D411A70300508B66222605A330E2@exchukahis02.experian.co.uk>
- Reply-to: cygwin-apps at cygwin dot com
On Thu, Nov 27, 2003 at 11:37:11AM -0000, Morrison, John wrote:
> Corinna Vinschen wrote:
> > 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.
> OK :)
> > 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.
> But you display it in the next echo...
Ouch! I'll fix that.
> > Can you give this script another test?
> Other than that it works fine :)
> Shame theres no way of setting the password to never expire :(
There is! The passwd tool in the current snapshots already have the
option -e to switch expiry off. If you have another look into the
script, you'll see that I check the version number of passwd, so I
know if it already has that functionality or not ;-)
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:firstname.lastname@example.org
Red Hat, Inc.