delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/06/05/16:16:16

X-Spam-Check-By: sourceware.org
X-ClientAddr: 127.0.0.1
Message-ID: <10859.217.209.153.73.1149538558.squirrel@www.webmail.nuclear-diagnostics.com>
Date: Mon, 5 Jun 2006 22:15:58 +0200 (CEST)
Subject: Re: rsh with command hangs, rlogin works
From: Lars =?iso-8859-1?Q?Bj=F6rnfot?= <lars AT nuclear-diagnostics DOT com>
To: cygwin AT cygwin DOT com
User-Agent: SquirrelMail/1.4.4
MIME-Version: 1.0
X-HermesMedical-MailScanner-Information: Please contact the ISP for more information
X-HermesMedical-MailScanner: Found to be clean
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Andrew DeFaria wrote:
> Apparently /dev isn't a file or directory on 2003!

That's very strange as syslogd-config creates the dir and then
tests if it exists.

> Executing syslog hello in another window just gives me a command
> prompt back. Nothing gets written to /var/log/messages!

Normal with no output to the shell.
If no output to messages file then you can try raising the priority (-p).
Also check setting the level in /etc/syslogd.conf.

> Jun 5 07:45:01 SONS-SC-CC kernel: in.rshd[8132]: segfault at 00000003
rip 0022E4E5 rsp 0022E454 error 4

This line proves that syslogd works. Also that we have the same
problem (in.rshd segfault).


> [ccadmin] sons-sc-cc:echo "localhost" > /etc/hosts.equiv
> [ccadmin] sons-sc-cc:rsh localhost
> Switching to user ccadmin failed!
>
> (snip) Yet in the first case above it manages to do that. How?

Beats me. It does not happen to me. But I haven't had time to
try it on 2003 yet.

> login: no shell: /bin/bash: Permission denied

Beats me again... sorry.

The only thing I can think of is serious problems with Windows ACL
settings, like in the parent (or grand parent's) folder having a
bad setting that applies recursively...

Or problems with mount points, so that you don't really have /
where you thing (like when /dev does not exist). Does the mounts
exists for all the users?

Or the user is obsoleted in /etc/password (there is a mkpasswd
command one occationally has to run).

Lars



--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019