This is the mail archive of the 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"

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...

"User 'root' has been created with password 'xxxx'.

> Can you give this script another test?

Other than that it works fine :)

Shame theres no way of setting the password to never expire :(


Information in this email and any attachments are confidential, and may
not be copied or used by anyone other than the addressee, nor disclosed
to any third party without our permission. There is no intention to
create any legally binding contract or other binding commitment through
the use of this electronic communication unless it is issued in accordance
with the Experian Limited standard terms and conditions of purchase or
other express written agreement between Experian Limited and the recipient
Experian Limited (registration number 653331)
Registered office: Talbot House, Talbot Street, Nottingham NG80 1TH

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