delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/04/02/19:04:13

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-Id: <announce.47F41D60.9060102@cwilson.fastmail.fm>
Date: Wed, 02 Apr 2008 18:57:20 -0500
From: Charles Wilson <cygwin AT cwilson DOT fastmail DOT fm>
User-Agent: Thunderbird 2.0.0.12 (Windows/20080213)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: [ANNOUNCEMENT] Updated: csih-0.1.3-1
Reply-To: cygwin AT cygwin DOT com
X-Mailer: Perl5 Mail::Internet v1.74
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

csih (cygwin-service-installation-helper) provides a library of shell 
functions that can be used by other cygwin packages that provide servers 
and daemons. It can assist in various service installation tasks, such as:

* identifying the underlying Windows OS
* detecting whether a "privileged user" exists and what its name is
   (that is, a user account with enhanced privileges necessary for
   some services. These may include, among others:
         SeAssignPrimaryTokenPrivilege
         SeCreateTokenPrivilege
         SeTcbPrivilege
         SeDenyInteractiveLogonRight
         SeDenyNetworkLogonRight
         SeDenyRemoteInteractiveLogonRight
         SeIncreaseQuotaPrivilege
         SeServiceLogonRight
* creating a privileged user if one doesn't already exist (assuming the
   caller has permissions to create new users, of course)
* creating "normal" users
* obtaining the (localized) name of well known accounts (Guest,
   Administrator)

It is currently used by inetutils(iu-config, syslogd-config), 
sspi(sspi-config), sysvinit(init-config). csih should not be used 
directly; instead, config scripts like the ones mentioned above should 
'source' the csih script, and then use the functions provided.


Changes (since unreleased 0.1.1-1)
======================
* added utility: 'winProductName' which obtains the exact
   operating system name (with finer granularity than `uname')
   Currently used only to distinguish between vista and server2008.
* New system id function: csih_is_exactly_vista(),
   csih_is_exactly_server2008
* Protection against evaluating $0 when invoked by login shell

Changes (since unreleased 0.1-1)
======================
* added utility: 'getAccountName' which obtains the (localized) name
   of well known accounts
* New system id function: csih_is_2k(), csih_is_xp(), csih_is_vista()
* New function: csih_invoke_helper
     invokes utilities in /usr/lib/csih/
* New function: csih_get_localized_account_name
     Given an WELL_KNOWN_SID_TYPE enumeration value, uses getAccountName
     utility to obtain the localized name associated with the account
* New function: csih_get_guest_account_name
     Shortcut using csih_get_localized_account_name for Guest account
* New function: csih_guest_account_active
     returns true if Guest account is active, false otherwise
* -src package reorganization

--
Chuck

====================================================================

To update your installation, click on the "Install Cygwin now" link on
the http://cygwin.com/ web page.  This downloads setup.exe to your
system.  Then, run setup and answer all of the questions.


*** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look
at the "List-Unsubscribe: " tag in the email header of this message.
Send email to the address specified there.  It will be in the format:


cygwin-announce-unsubscribe-you=yourdomain DOT com AT cygwin DOT com

If you need more information on unsubscribing, start reading here:

http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019