List Info

Thread: re subscribing to the list




re subscribing to the list
country flaguser name
United States
2008-03-10 23:18:37
Hello;
I have unsubscribed form this list but have an emergency and
need some
suggestions, that are not covered in the manuals or Absolute
FreeBSD.

Specifically,

I have had a machine running with the same root password for
some 3 
years.
There was a power failure tonight and when I rebooted the
machine I 
found
I was unable to log in as root. No one other than me uses
the machine, 
but
it does run several internet servers, Apache, named,
postfix. I doubt 
that it
has been compromised to that degree over the network because
I have
tcp wrappers blocking ftp and ssh access and have telnet
disabled. I
have it shut down now incase that is the situation (someone
was able to
change or corrupt the root password) But it appears that it
somehow has
just gotten corrupted so it won't work. Is that possible.
The long and short is I want to avoid having to re install
the system 
and
software. I do not have Apache and Postfix starting
automatically at 
boot.
Thanks in advance;
Jeff K 

_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

Re: re subscribing to the list
country flaguser name
United States
2008-03-11 07:09:36
On Tuesday 11 March 2008 05:18:37 jekillen wrote:

> I have it shut down now incase that is the situation
(someone was able to
> change or corrupt the root password) But it appears
that it somehow has
> just gotten corrupted so it won't work. Is that
possible.
> The long and short is I want to avoid having to re
install the system
> and software. 

So boot into single user mode:
# fsck -p /
# mount -u /
# mount -o ro /usr
# env EDITOR=/usr/bin/vi vipw
On the root entry, change the part between the first and
second colon (':') to 
a star ('*'), write and exit (:wq) and set password for
using passwd command.
-- 
Mel

Problem with today's modular software: they start with the
modules
    and never get to the software part.
_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )