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"


Corinna Vinschen wrote:
> 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 ;-)

Ahh, totally missed that.  Would it be best to release the new
passwd tool before this script is included?

J.


==========================================================================
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]