This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

CygWin under WIN 98SE - login, passwd, group, services


Here we go - some questions related to the topics mentioned in the
subject.

I have managed to muddle through getting remote access to work under
Win98 (telnet, ftp, etc.) but I'm trying to fine-tune a bit.  I
understand that all of the security feautes from NT systems are
unavailable to me, but I'm wondering if there is still a way to
implement SOME of the things I'm looking for.

login - #1
When I connect through telnet or ftp, I am asked for my password - not
my login. By process of 'keep trying things', I have discovered that any
non-specific remote connection request (ie: NOT using 'telnet -l
username') seems to assume that you are trying to log in as the first
entry in the passwd file. Is there any way to FORCE the login prompt?

login - #2
When I connect as a user listed other than first in the passwd file, it
processes the correct password entry and sets the appropriate home
directory, but whoami (as well as the default prompt string) shows up as
the FIRST user listed in the passwd file, not the userid I logged in
with. Is this alterable in any way, or a limitation of the lack of
permissions and ownership in Win98?

passwd -
When I attempt to run passwd, I get a shell error saying 'Permission
denied' and a Win98 error saying 'The PASSWD.EXE file is linked to
missing export NETAPI32.DLL:NetApiBufferFree.'. I made a copy of the
.DLL file in the /usr/local/bin path to see if it was simply a matter of
the file not being found on the PATH, but it had no effect. I have done
a FULL download of CygWin - is there a requirement outside of the normal
package, or will passwd not run under Win98?
(Temporary solution: Manual use of '!!crypt' in vi/passwd)

group -
Currently, group is a copy of passwd. #1, is it neccessary? #2, is there
any purpose to worrying about it under Win98? #3, even if the first two
answers are 'NO', is there a way to get the groupid to display as a name
rather than '544' (the default used in the passwd file entries)?

services -
Having seen no examples of the format of a services file, yet seeing
several references that entries SHOULD be in one, I am left wondering if
I can achieve additional control with proper creation of a services
file.  For instance, I saw an example of starting inetd by typing 'net
start inetd', but when I try this I get 'Error 2185: The service name is
invalid' (similar results trying to STOP inetd). It seems that there
should be a better way of terminating inetd than kill-ing the process.
Any hints as to where I can find the proper format information would be
appreciated.

That should be it for tonight.  Thanks in advance for enlightening a
Unix/CygWin barely-above-neophyte.

Gregg Smith
greggsmith@charter.net <home>
gregg@petzent.com <office>



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]