Автор Гілка: Kernel 2.6 Need help  (Прочитано 2687 раз)

Pavel(Guest)

  • Гість
Kernel 2.6 Need help
« : 2005-10-13 12:21:21 »
 Hello all.
i have RedHat 9 .
I update it from 2.4.2 to 2.6.13 and after 2 day worck i can't login to system
Under X - it wright Authentification error
in console it looks like all my users passwords expired AND ROOT TO
I go to grub add "1" to the end of my login string
kernel vmlinux ....... hde=ide-scsi 1
System boot with console i change root password with passwd - command
it's wright that update wath seccess but whan i reboot i CAN'T login to my system

Can someone help me what to do ????
i need help .

Відсутній hse

  • Графоман
  • ****
  • дописів: 473
  • Карма: +0/-0
  • Gentoo Linux
Re: Kernel 2.6 Need help
« Відповідей #1 : 2005-10-13 14:38:09 »
1. Its difficult to make direct update from 2.4.* to 2.6. I think better chose another distro which is build on 2.6.*
1 year ago I chose Gentoo... ;)

2. Try pass 'selinux=0' options to kernel on booting.
бушократія - цинічний помаранчевий геноцид, витравлювання Української Нації, плюс мікрософтизація всієї країни.

Pavel(Guest)

  • Гість
Re: Kernel 2.6 Need help
« Відповідей #2 : 2005-10-13 15:22:54 »
i try but result is the same  :-/
Maby you right , the easy way is to install some new destro

Відсутній miwa

  • Літератор
  • ******
  • дописів: 1111
  • Карма: +0/-0
Re: Kernel 2.6 Need help
« Відповідей #3 : 2005-10-13 15:38:44 »
Here are some links for you:

http://fine.kalinovka.net/?q=node/3
http://www.mojoholder.narod.ru/
http://www.fedoranews.org/jorge/howto/howto01.shtml

People from LOR says that they are usable ;o))

Oh, btw. I don't know, what about RH, but in my Debian i just typed
apt-get install kernel-2.6.??-amdk7or something like that (don't remember version now) and had a new working kernel.
Читайте документацію - вона кермує.

Pavel(Guest)

  • Гість
Re: Kernel 2.6 Need help
« Відповідей #4 : 2005-10-13 16:19:02 »
i alredy update my system  to 2.6
and it work few days prity nice "ORACLE 9i working well , LDAP too , and FREERADIUS "
Maby during my work i make somthing wrong and i can't login I don't know
The most interesting situation is that system is working I'ts boot startup all servises
exept one ORACLE_SERVice besouse in this script i use  <su "$oracle_user">
BUT I CAN'T go inside .
Maby i crash some configs but what???
If some one  see this kind of situation

Відсутній PAL

  • Графоман
  • ****
  • дописів: 317
  • Карма: +0/-0
  • Just linux admin
Re: Kernel 2.6 Need help
« Відповідей #5 : 2005-10-17 14:14:18 »
Please try do following:

1) boot to system with kernel parameter "1" or "init=/bin/bash"
2) edit /etc/shadow file
At begin of file you will see like this:

root:$1$4HGFhjuiouy$gdfjk.:10940:0:60:7:::

Pay your attention to field where 60 placed in example (field number 5).
You may have something other (30, 60, 90). It's a time in day until old password is valid.
Change it to 99999. If some digits in fields after :7: will found, delete it (like in example)

DO NOT change first and second fields! It's login name and crypted password!

Reboot. Now you can login as root. Change other logins as your need.

man shadow  !!!!

Change EXPIRE in the  /etc/default/useradd file to proper values!

PS. To KeWlHa|<e|^s - I newer put to example real paswords %))




Finally, you
« Змінено: 2005-10-17 14:15:09 від PAL »