Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Tue, 1 Apr 2003 17:05:06 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: login incorrect Message-ID: <20030401150506.GW18138@cygbert.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <011501c30266$7a17b680$0800a8c0 AT bobby> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <011501c30266$7a17b680$0800a8c0@bobby> User-Agent: Mutt/1.4.1i On Mon, Apr 14, 2003 at 02:45:22PM +0530, abrar at ecomscience dot com wrote: > In my win2000 server (standalone, not a domain) I created a user postgres > and password postgres within administrator group, did > mkpasswd -l > "Act as part of the operating system" > "Replace process level token" > "Increase quotas" > > for both administrator and postgres user rights, changed the gid in passwd > file but no help. The login incorrect message is still there for postgres > user. > > My system name is bobby drives are FAT (so no ntsec) and passwd file is > pasted below: ntsec is needed for a successful context switch, regardless of the FS type. However, ntsec is on by default. If you want to use login from the command line, you have to give the above rights to the user calling login, not to the user you want to change to. Note that this is highly discouraged, though. You'd have to give dangerous rights to otherwise unprivileged accounts, making them privileged accounts through the back door. Start an ssh daemon and use that for switching user context. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/