Hello everybody,
is there really no one who knows answer for my question posted on July 24 ?
Please help me, if you know.
Peter Rosa
- Original Message -
From: Peter Rosa [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, July 24, 2003 7:46 AM
Subject: System hack ?!
Greetings
- Original Message -
From: "Luke Kearney" [EMAIL PROTECTED]
To: "Peter Rosa" [EMAIL PROTECTED]
Sent: Friday, July 25, 2003 2:06 PM
Subject: Re: Problem with periodically done scripts
Hello,
Check you logs and see if any accounts were added
On Fri, Jul 25, 2003 at 02:39:11PM +0200, Peter Rosa wrote:
Dear Luke,
thank you for helping. It is, of course possible, but on that machine
areonly 10 users, no one is added from 2001. Passwd is not the only file,
because whole security log seems as follows:
Checking setuid files and
Here is complete listing. Do you have any idea ?
+ echo Checking for uids of 0:
Checking for uids of 0:
+ awk -F: $3==0 {print $1,$3} /etc/master.passwd
+ tee /dev/stderr
root 0
toor 0
+ sed -e /^root 0$/d -e /^toor 0$/d
+ wc -l
+ n=
+ [ -gt 0 -a -lt 1 ]
[: 0: unexpected operator
+ echo Checking
PROTECTED]
Sent: Friday, July 25, 2003 6:59 PM
Subject: Re: Problem with periodically done scripts
Here is complete listing. Do you have any idea ?
+ echo Checking for uids of 0:
Checking for uids of 0:
+ awk -F: $3==0 {print $1,$3} /etc/master.passwd
+ tee /dev/stderr
root 0
toor 0
I'm asking again, as there is no response up now.
You forgot to say please, sir... 8-|
Sorry, sorry and one more sorry.
You know, I'm currently about 14 hours at work
SoP L E A S E
Peter Rosa
___
[EMAIL PROTECTED] mailing list
-questions [EMAIL PROTECTED]
Sent: Friday, July 25, 2003 8:52 PM
Subject: Re: Problem with periodically done scripts
I'm asking again, as there is no response up now.
You forgot to say please, sir... 8-|
As for me, now it seems as I don't know what's the error here, I
have
never seen
It seems now, that my /etc/master.passwd is really broken.
Have anybody an idea, how to recreate it ?
Pls, help.
Peter Rosa
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
In the last episode (Jul 25), Peter Rosa said:
It seems now, that my /etc/master.passwd is really broken.
Have anybody an idea, how to recreate it ?
Your last 2 previous versions should be in /var/backups.
--
Dan Nelson
[EMAIL PROTECTED]
It seems now, that my /etc/master.passwd is really broken.
Have anybody an idea, how to recreate it ?
if you have a backup in /var/backups then you might extricate yourself of
the situation. but there are backups only for two days...
Pls, help.
Peter Rosa
Impossible to do. It continues from April 20... :-(((
Peter Rosa
- Original Message -
From: Dan Nelson [EMAIL PROTECTED]
To: Peter Rosa [EMAIL PROTECTED]
Cc: freebsd-questions [EMAIL PROTECTED]
Sent: Friday, July 25, 2003 9:28 PM
Subject: Re: Problem with periodically done scripts
On Fri, Jul 25, 2003 at 10:28:30PM +0300, Vitali Malicky wrote:
It seems now, that my /etc/master.passwd is really broken.
Have anybody an idea, how to recreate it ?
if you have a backup in /var/backups then you might extricate yourself of
the situation. but there are backups only for
-questions [EMAIL PROTECTED]
Sent: Friday, July 25, 2003 9:51 PM
Subject: Re: Problem with periodically done scripts
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL
Peter Rosa [EMAIL PROTECTED] writes:
It seems now, that my /etc/master.passwd is really broken.
How so?
Have anybody an idea, how to recreate it ?
From backups, of course.
Failing that, rebuild it one entry at a time; /usr/src/etc/master.passwd
is the original template.
Peter Rosa [EMAIL PROTECTED] writes:
From: Peter Rosa [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: freebsd-questions [EMAIL PROTECTED]
Sent: Friday, July 25, 2003 6:59 PM
Subject: Re: Problem with periodically done scripts
Here is complete listing. Do you have any idea
: Problem with periodically done scripts
Peter Rosa [EMAIL PROTECTED] writes:
From: Peter Rosa [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: freebsd-questions [EMAIL PROTECTED]
Sent: Friday, July 25, 2003 6:59 PM
Subject: Re: Problem with periodically done scripts
1
PR
- Original Message -
From: Lowell Gilbert [EMAIL PROTECTED]
To: Peter Rosa [EMAIL PROTECTED]
Sent: Friday, July 25, 2003 11:51 PM
Subject: Re: Problem with periodically done scripts
Peter Rosa [EMAIL PROTECTED] writes:
Well, I have tried it. When I type exactly the same command
In the last episode (Jul 26), Peter Rosa said:
Dear Gilbert,
I have replaced wc with make install from /usr/src/usr.bin/wc and now it
works. Up now wc -l gave no results, now it give proper number.
Could you, please, explain the following line: [ $n -gt 0 -a $rc -lt 1 ] ???
Why are there
In the last episode (Jul 26), Peter Rosa said:
But inside /bin is command named [
Is it what do you mean ? Or it should not be there and act only as an alias
?
/bin/[ and /bin/test are hardlinked together. It's supposed to be
like that.
--
Dan Nelson
[EMAIL PROTECTED]
And what's wrong on [ 0 -gt 0 -a -lt 0].
Peter
- Original Message -
From: Dan Nelson [EMAIL PROTECTED]
To: Peter Rosa [EMAIL PROTECTED]
Cc: freebsd-questions [EMAIL PROTECTED]
Sent: Saturday, July 26, 2003 12:22 AM
Subject: Re: Problem with periodically done scripts
In the last
In the last episode (Jul 26), Peter Rosa said:
And what's wrong on [ 0 -gt 0 -a -lt 0].
-lt needs a number in front of it, since it does a less-than comparison.
Could you, please, explain the following line: [ $n -gt 0 -a $rc -lt 1 ]
... which means that $rc is probably empty.
--
Message -
From: Dan Nelson [EMAIL PROTECTED]
To: Peter Rosa [EMAIL PROTECTED]
Cc: freebsd-questions [EMAIL PROTECTED]
Sent: Saturday, July 26, 2003 12:33 AM
Subject: Re: Problem with periodically done scripts
In the last episode (Jul 26), Peter Rosa said:
And what's wrong on [ 0 -gt 0 -a -lt
Well, well, well. We have done it.
I just tried sh /etc/security and it REALLY works well.
I have tried my changes in small fragment of /etc/security where I forgot to
define $rc in the beginning.
There was an really error in wc command - it did not count lines, so $n was
never set properly.
On Sat, 26 Jul 2003 06:42, Peter Rosa wrote:
Well, I have tried it. When I type exactly the same command
awk -F: '$3==0 {print $1,$3}' /etc/master.passwd | tee /dev/stderr |
sed -e
'/^root 0$/d' -e '/^toor 0$/d' | wc -l
at prompt, it works well. So the error must be around [ -gt 0 -a
24 matches
Mail list logo