telnetd oddities

Chris Faylor cgf@cygnus.com
Mon Jul 3 16:15:00 GMT 2000


On Mon, Jul 03, 2000 at 11:59:13PM +0100, Tony Arnold wrote:
>> From: corinna@snoopy.vinschen.de [ mailto:corinna@snoopy.vinschen.de]On
>> Tony Arnold wrote:
>> > 1) When I telnet in, then the path is not set correctly. I guess this is
>> > because the cygwin.bat file, which normally sets the path is not executed by
>> > the login process. Is the a way to get this to happen, or should I set the
>> > path through the NT Environment panel?
>>
>> You can either set your home path as Windows style path in the
>> NT user database and after calling `mkpasswd' you will see it in
>> your /etc/passwd file, or you can set your home path as POSIX path
>> directly in your /etc/passwd entry.
>
>My home path IS set correctly; I was referring to the environment variable PATH,
>which the cygwin.bat file sets to include /usr/bin and /usr/local/bin. Because
>when I telnet in, the cygwin.bat file is not executed, then this doesn't happen. I
>realise I can set this manually via the NT environment variables.

I believe that Corinna has already mentioned using system-wide
shell-specific initialization files.  This is the same technique that you'd
use on UNIX.

Look in the bash man page or info file for "systemwide initialization file" or
refer to Corinna's post.

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list