[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sheflug] Exported filesystem permissions... Urgent Help Please!



Hi Chris, (and everyone else),

> Just as an experiment, plonk the line:
> 
> 	*.debug			/var/log/allmessages
> 
> into /etc/syslog.conf, then find the PID of syslogd and do a kill -HUP <pid>

I'll try that momentarily, if my current lead doesn't work.

At the moment I'm suspicious that NIS only seems to be working, but
isn't REALLY working PROPERLY. My evidence? I added a new user to the
system, but he hasn't turned up on the client login screens even after I
restart the client. That means that I suspect an  OLD copy of passwd at
/home/oldconfig/etc/passwd may be being used to make the NIS maps, and
not the REAL /etc/passwd file.

YP servers seem to be slippery things... I simply copied the whole
/var/yp/ and /etc/nis/ directories from the old server to the new, but
should I in fact rebuid the YP databases from scratch?

The weird thing is, an NIS map IS being served out... but I wonder
whether, although it allows one to log in, the rest of the system treats
you as 'nobody' - hence the readonly problem.

Does this sound possible? 

Cheers,

James
=====

On Wed, 2002-11-27 at 20:26, Chris J wrote:
> > 
> > No, there's nothing useful in dmesg, and, it has to be said, nothing
> > particularly illuminating in /var/log/messages - msec (Mandrake
> > Security) does a lot of work changing permissions, but nothing
> > unhelpful.
> > 
> 
> Might just be that there isn't enough verbosity... (or could be that there
> really is no log). Just as an experiment, plonk the line:
> 
> 	*.debug			/var/log/allmessages
> 
> into /etc/syslog.conf, then find the PID of syslogd and do a kill -HUP <pid>
> 
> This will probably end up being very verbose, depending on what the machine
> is doing at the same time, but if nfsd is trying to log something, this will
> catch it.
> 
> I suspect the default is that syslog is set to only log informational
> messages and higher...unless someone that knows Mandrake knows otherwise.
> 
> Chris...
> 
> -- 
> \ Chris Johnson           \
>  \ cej [at] nightwolf.org.uk    ~-----,   
>   \ http://cej.nightwolf.org.uk/  ~-----------------------------------, 
>    \ Redclaw chat - http://redclaw.org.uk - telnet redclaw.org.uk 2000 \____
> ___________________________________________________________________
> 
> Sheffield Linux User's Group -
> http://www.sheflug.co.uk/mailfaq.html
> 
>   GNU the choice of a complete generation.
-- 
James Wallbank
Redundant Technology Initiative
Access Space - 1 Sidney Street - Sheffield - S1 4RG - UK
T: +44 (0)114 2495522
F: +44 (0)114 2495533
___________________________________________________________________

Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html

  GNU the choice of a complete generation.

#!/usr/bin/perl -w
# Strip all line of this form from html messages
# From: "French, Alastair" <Alastair.French [at] racalinst.co.uk>
 
while (<>){
        $_=~s/(^.*:.*[ <])(\w.*)(@.*)/$1nospam$3/;
        print unless /^Delivered-To:/i ;
}