Re: Unavailability of Chsh / ability to change user shell

2005-08-18 Thread Corinna Vinschen
On Aug 18 15:14, Igor Pechtchanski wrote: > 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? I've checked in a patch to passwd, which contacts $LOGONSERVER by default. If that doesn't help, I added a new option: $ pass

RE: Unavailability of Chsh / ability to change user shell

2005-08-18 Thread Igor Pechtchanski
cify 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

RE: Unavailability of Chsh / ability to change user shell

2005-08-18 Thread Dave Korn
Original Message >From: Igor Pechtchanski >Sent: 18 August 2005 18:47 > On Thu, 18 Aug 2005, Jerrad Pierce wrote: >> [EMAIL PROTECTED] /cygdrive/c]$ passwd >> passwd: unknown user jpierce > > Your user is missing in /etc/passwd. Try "mkpasswd -u jpierce >> > /etc/passwd". O

RE: Unavailability of Chsh / ability to change user shell

2005-08-18 Thread Jerrad Pierce
Igor said: >Eh? From "tcsh --help": >-l act as a login shell, must be the only option specified > ^ >"tcsh -l" works just fine. Doh! indeed. >How's this going to help? rxvt doesn't look in /etc/passwd -- it runs >/

Re: Unavailability of Chsh / ability to change user shell

2005-08-18 Thread Igor Pechtchanski
On Thu, 18 Aug 2005, Jerrad Pierce wrote: > It's rather frustrating that there is no chsh, or worse still that the > /etc/passwd shell is ignored and one has to resort to ugly hacks to get > a desire(d/able) shell on startup. I've seen mention of a chsh here, why > not incl

RE: Unavailability of Chsh / ability to change user shell

2005-08-18 Thread Dave Korn
Original Message >From: Jerrad Pierce >Sent: 18 August 2005 18:09 > the /etc/passwd shell is ignored No it isn't. That's complete fiction. You need to log in, of course. cheers, DaveK -- Can't think of a witty .sigline today -- Unsubscribe info: http://cygwin.c

Unavailability of Chsh / ability to change user shell

2005-08-18 Thread Jerrad Pierce
It's rather frustrating that there is no chsh, or worse still that the /etc/passwd shell is ignored and one has to resort to ugly hacks to get a desire(d/able) shell on startup. I've seen mention of a chsh here, why not include it? http://sourceware.org/ml/cygwin/2003-04/msg

chsh

2003-04-05 Thread AJ Reins
I got bored this morning, so I slapped together a chsh (change shell) program. A few design notes (in other words, it was designed to work this way, and they are not bugs): 1) The program will happily accept (and output) bad paths. So: chsh /boo/hoo will change the invokers shell to