This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: Unavailability of Chsh / ability to change user shell
- From: Jerrad Pierce <jpierce at PLANT dot MIT dot EDU>
- To: "'cygwin at cygwin dot com'" <cygwin at cygwin dot com>
- Date: Thu, 18 Aug 2005 13:52:59 -0400
- Subject: RE: Unavailability of Chsh / ability to change user shell
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
>/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)
Another stop-gap would be for the setup to let one select the default shell
(written into the batch file)
>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-56
248481-1622700533-1695163583-4518:/cygdrive/h:/bin/tcsh
--
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/