delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/08/18/15:15:03

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Date: Thu, 18 Aug 2005 15:14:11 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Jerrad Pierce <jpierce AT PLANT DOT MIT DOT EDU>
cc: cygwin AT cygwin DOT com
Subject: RE: Unavailability of Chsh / ability to change user shell
In-Reply-To: <568F0AEE7A57D511923900508B5564510AA9E7D2@plantnt.facilities.ms.mit.edu>
Message-ID: <Pine.GSO.4.61.0508181511230.3902@slinky.cs.nyu.edu>
References: <568F0AEE7A57D511923900508B5564510AA9E7D2 AT plantnt DOT facilities DOT ms DOT mit DOT edu>
MIME-Version: 1.0

On Thu, 18 Aug 2005, Jerrad Pierce wrote:

> Igor said:
>
> >How's this going to help?  rxvt doesn't look in /etc/passwd -- it runs
> >/bin/sh by default.
>
> It might be slightly more obvious that one needs to change something
> other than /etc/passwd to specify the invoked shell (for terminals this
> is usally -c)

For rxvt it's "-e", and I don't see how it's more obvious than changing an
explicit invocation of bash...

> Another stop-gap would be for the setup to let one select the default
> shell (written into the batch file)

Well, a chsh program can do exactly that, right?

> >Your user is missing in /etc/passwd.  Try "mkpasswd -u jpierce >>
> >/etc/passwd".  Once you have a correct user entry, "passwd" should work.
> >	Igor
>
> Nope.
>
> jpierce:unused_by_nt/2000/xp:14518:10545:jpierce,U-PLANT\jpierce,S-1-5-21-56248481-1622700533-1695163583-4518:/cygdrive/h:/bin/tcsh

Okay, I just read DaveK's reply.  I don't do much with domain users, so I
missed that.  Pierre or Corinna, care to comment?
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

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