* Re: Did i accidentally break my server?
2000-01-23 5:00 Did i accidentally break my server? John
@ 2000-01-23 5:00 ` Oscar Goosens
2000-01-24 5:00 ` michael james obrien
2000-01-24 5:00 ` Alan A. Beall
` (2 subsequent siblings)
3 siblings, 1 reply; 6+ messages in thread
From: Oscar Goosens @ 2000-01-23 5:00 UTC (permalink / raw)
I hooked the monitor back up,
>noticed that it thought it was jan 1 1970.
>I tried to login as root, and it failed.
Maybe Y2K problem?
I guess best option would be to put disk in another system and save your
data
oscar
^ permalink raw reply [flat|nested] 6+ messages in thread
* Did i accidentally break my server?
@ 2000-01-23 5:00 John
2000-01-23 5:00 ` Oscar Goosens
` (3 more replies)
0 siblings, 4 replies; 6+ messages in thread
From: John @ 2000-01-23 5:00 UTC (permalink / raw)
Lemme start here. The system in question is a Cabriolet
alpha. I was upgrading a few libraries so I could do
my c++ programming for school on it. I decided along
the way that I would clean out the other rpm's
that I didnt need. (I dont use X). I didnt remove
anything that I /knew/ had to be there. and I didnt
upgrade anything that I didnt yet know about. I
am running the system quasi-headless. just no monitor.
I ssh'd to it, as root, and passwd immediatly told
me I needed to change my passwd. so I did.
it didnt take for some reason, it didnt sefault,
it just didnt like it. I hooked the monitor back up,
noticed that it thought it was jan 1 1970.
I tried to login as root, and it failed.
I tried to login as me, 'john', and it failed
I logged in as me, via roots pw. and I cannot change
pw's because passwd now segfaults. I havent changed
that much, so /etc/passwd is still world readable.
user 'john' has a pw. user 'root' doesnt, I deleted it.
(the machine isnt on the net.) I dont know what
else to do, I havent had anything like this happen
before. ANY help is sincerly appreciated, I have coding
for shcool to crank out on it, and I cannot work on the
machine as it is. if I need to post anything else, please
tell me.
--
plastic(at)oh(dot)verio(dot)com
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Did i accidentally break my server?
2000-01-23 5:00 ` Oscar Goosens
@ 2000-01-24 5:00 ` michael james obrien
0 siblings, 0 replies; 6+ messages in thread
From: michael james obrien @ 2000-01-24 5:00 UTC (permalink / raw)
Oscar Goosens (gos@xs4all.nl) wrote:
: I hooked the monitor back up,
: >noticed that it thought it was jan 1 1970.
: >I tried to login as root, and it failed.
: Maybe Y2K problem?
: I guess best option would be to put disk in another system and save your
: data
: oscar
This sounds likely. However, the first thing to try is to go into the
BIOS control panel and manully change the date to post 2000.
I had to do this for 3 linux boxes this year. However, they didn't show
these symptoms.
-Michael
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Did i accidentally break my server?
2000-01-23 5:00 Did i accidentally break my server? John
2000-01-23 5:00 ` Oscar Goosens
@ 2000-01-24 5:00 ` Alan A. Beall
2000-01-29 5:00 ` Marcin Zawadzki
2000-01-31 5:00 ` SV: " Kai Nilsen
3 siblings, 0 replies; 6+ messages in thread
From: Alan A. Beall @ 2000-01-24 5:00 UTC (permalink / raw)
To: John
Difficult to say what's going on but there are some things you might look at
to find out.
a) execute the command "strings /usr/bin/passwd | grep '/' " and look through
the output for the pathnames of files you can later check to ensure that they
are still available to the system. The passwd command usually depend s on a
shared library and its path will be shown in the ouput of the command given
above.
b) execute the command sum -r /bin/passwd and then verify the checksums are
the same as those on a similar system.
c) Make sure the permissions of the passwd executable are correct particularly
that any SUID or SGID bits are set. There should be at least a SUID or SGID
bit set on the executable and also that the user and group ownerships are
correct for your system. On linux Red Hat 6.x the path is /usr/bin/passwd:
-r-s--x--x 1 root root /usr/bin/passwd
and on UnixWare 7.x it is
-r-sr-sr-x 1 root sys /bin/passwd
and on SCO Open Server 5.x it is
---x--s--x 1 bin auth /bin/passwd
The purpose of giving you the non linux examples was to show that the
permissions may be different between whoever distributes your version of
unix. Never expect them to be all the same.
Perhaps removing a rpm forced the removal of a shared library. I hope this
helps.
Regards,
Alan Beall.
John wrote:
> Lemme start here. The system in question is a Cabriolet
> alpha. I was upgrading a few libraries so I could do
> my c++ programming for school on it. I decided along
> the way that I would clean out the other rpm's
> that I didnt need. (I dont use X). I didnt remove
> anything that I /knew/ had to be there. and I didnt
> upgrade anything that I didnt yet know about. I
> am running the system quasi-headless. just no monitor.
> I ssh'd to it, as root, and passwd immediatly told
> me I needed to change my passwd. so I did.
> it didnt take for some reason, it didnt sefault,
> it just didnt like it. I hooked the monitor back up,
> noticed that it thought it was jan 1 1970.
> I tried to login as root, and it failed.
> I tried to login as me, 'john', and it failed
> I logged in as me, via roots pw. and I cannot change
> pw's because passwd now segfaults. I havent changed
> that much, so /etc/passwd is still world readable.
> user 'john' has a pw. user 'root' doesnt, I deleted it.
> (the machine isnt on the net.) I dont know what
> else to do, I havent had anything like this happen
> before. ANY help is sincerly appreciated, I have coding
> for shcool to crank out on it, and I cannot work on the
> machine as it is. if I need to post anything else, please
> tell me.
> --
> plastic(at)oh(dot)verio(dot)com
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Did i accidentally break my server?
2000-01-23 5:00 Did i accidentally break my server? John
2000-01-23 5:00 ` Oscar Goosens
2000-01-24 5:00 ` Alan A. Beall
@ 2000-01-29 5:00 ` Marcin Zawadzki
2000-01-31 5:00 ` SV: " Kai Nilsen
3 siblings, 0 replies; 6+ messages in thread
From: Marcin Zawadzki @ 2000-01-29 5:00 UTC (permalink / raw)
I have similar problem ( user "root" not exist ) on my mandrake 6.1
(Red Hat clone) . When you have system disk , or you have cdrom you
may
1 - start system from cdrom , or floppy
2 - mount your hard drive
3 - do with any system files anything you want
Another tip .
I don't now what system you have , but i write you the way , in with i
hacked my own system , when i had lost my root acount.
1- I launched Mandrake install from cd-room
2- Chose "expert" mode
3- And I chose "upgrate"
4- Alt-Fx allow to switch between screens
5- On screen with sh prompt "cd some directory"
( I cannot rememeber with one - but my system was so nice , and he had
mounted
all /dev/hda(1-6) to this directory )
6- I simply set UID of hamer ( my normal acount ) to 0
7- I have reboot systen (normal , not from cd-rom )
8- Logged in as "hamer"
9- Repaired all damages
by the way - i have damaged my /etc/passwd , when i had tested my own
program
to add/del and modify users. ( User i was deleted , was root )
John wrote:
> Lemme start here. The system in question is a Cabriolet
> alpha. I was upgrading a few libraries so I could do
> my c++ programming for school on it. I decided along
> the way that I would clean out the other rpm's
> that I didnt need. (I dont use X). I didnt remove
> anything that I /knew/ had to be there. and I didnt
> upgrade anything that I didnt yet know about. I
> am running the system quasi-headless. just no monitor.
> I ssh'd to it, as root, and passwd immediatly told
> me I needed to change my passwd. so I did.
> it didnt take for some reason, it didnt sefault,
> it just didnt like it. I hooked the monitor back up,
> noticed that it thought it was jan 1 1970.
> I tried to login as root, and it failed.
> I tried to login as me, 'john', and it failed
> I logged in as me, via roots pw. and I cannot change
> pw's because passwd now segfaults. I havent changed
> that much, so /etc/passwd is still world readable.
> user 'john' has a pw. user 'root' doesnt, I deleted it.
> (the machine isnt on the net.) I dont know what
> else to do, I havent had anything like this happen
> before. ANY help is sincerly appreciated, I have coding
> for shcool to crank out on it, and I cannot work on the
> machine as it is. if I need to post anything else, please
> tell me.
> --
> plastic(at)oh(dot)verio(dot)com
^ permalink raw reply [flat|nested] 6+ messages in thread
* SV: Did i accidentally break my server?
2000-01-23 5:00 Did i accidentally break my server? John
` (2 preceding siblings ...)
2000-01-29 5:00 ` Marcin Zawadzki
@ 2000-01-31 5:00 ` Kai Nilsen
3 siblings, 0 replies; 6+ messages in thread
From: Kai Nilsen @ 2000-01-31 5:00 UTC (permalink / raw)
Why do you not get a LOAF (Linux On A Floppy) or an rescue disk to save your
coding.
You could find several LOAF'S at www.Freshmeat.net just searh for
'mini distributions'.
Kai Nilsen
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2000-01-31 5:00 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-01-23 5:00 Did i accidentally break my server? John
2000-01-23 5:00 ` Oscar Goosens
2000-01-24 5:00 ` michael james obrien
2000-01-24 5:00 ` Alan A. Beall
2000-01-29 5:00 ` Marcin Zawadzki
2000-01-31 5:00 ` SV: " Kai Nilsen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox