Mail Archives: cygwin/1997/11/20/15:32:24
From: | Ian AT kiwiplan DOT co DOT nz (Ian Collins)
|
Subject: | telnetd (again) and also permissions
|
20 Nov 1997 15:32:24 -0800
: | |
Message-ID: | <07551A47EAD6D01186430060B025C6F41B6F3F.cygnus.gnu-win32@ntserver.kiwiplan2.co.nz>
|
Mime-Version: | 1.0
|
To: | "'Gnu Mailing list'" <gnu-win32 AT cygnus DOT com>
|
I know this has done the rounds, but I have read all the mailing list
messages regarding telnetd and still got nowhere.
I have installed inetd ok, and it seems to work (I have tested by
sending messages to the echo port).
When I telnet to my PC, I get the login and password which are both
accepted OK, but then I get the
login: no shell: /bin/sh: Not owner
message.
I have set the relevant user rights as suggested: i.e, "Act as Part of
OS" and "Increase Quotas" (The "Assign Primary Token" is a tricky one,
as I don't see it. However I do see a "Create Primary Token", which I
have set for my user. I am running NT4 with SP3 by the way).
I have debugged the login program, and the failure is on the sexeclp
line.
(the following bit may be related to the above, but I don't see how).
In addition, I have set up the /etc/passwd and /etc/group files using
mkpasswd and mkgroup.
When I do a, for example,
chown ian /bin/sh
The ownership is set to 65535, not to ian!
ian is a member of teh passwd file with uid 5001 (I have tried various
uid's and accounts). The only one that does set the ownership correctly
is the administrator. I.e. chown administartor /bin/sh sets the owner to
administrator.
Now I'm confused. What is happening? I have two disks on my PC, a FAT
and a NTFS. I've tried it on both.
Ian Collins.
KIWIPLAN NZ.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -