Hello Frederic!

That's clear. I think, root always has id 0. You have to search for the
"-1" and patch it (replace it) with the "4294967295". For sure I will
give no garantee, that this will not crash your system, but you should
try it (do not log out, you might not be able to login as root again).

regards
Ludwig Öfele, Humantec

Frederic Cazenave wrote:
> 
> The both files /etc/passwd and /etc/group the id of root is 0 !!!
> 
> Fred
> 
> Ludwig Öfele wrote:
> 
> > Hello Frederic!
> >
> > I think, I had a similar problem after an update of Linux Kernel
> > (without RT). Your effective user id is 4294967295 which corresponds to
> > -1 if you look at it in 64-Bit-Terms. There seems to be a change of
> > semantics (-1 changed to 4294967295) in the system and now the rights of
> > user and the rights of files do not match any more. I can't explain it
> > any better, but maybe this gives you an advice.
> > I think, I fixed it by changing the id -1 in the groups or passwd file
> > to something more sensful ( (unsigned int32)(-1) = 65535 ?).
> >
> > Have luck!
> >
> > Ludwig Öfele, Humantec Industriesysteme
> >
> > Frederic Cazenave wrote:
> > >
> > > Last week I have posted a question concerning the lost of my root
> > > privilege
> > > after installing rtlinux modules. I can summary all my mail with hofrat
> > > ( Der Herr Hofrat <[EMAIL PROTECTED]> ), thanks to him, as following :
> > >
> > > I have installed this files :
> > >     521612 -rw-r--r--    1 root     root     19090206 Feb 14 20:56
> > > linux-2.2.18.tar.gz
> > >     521622 -rw-r--r--    1 root     root       450860 Feb 16 15:10
> > > rtlinux-3.0.tar.gz
> > >
> > > then patch linux with  kernel_patch-2.2 and build the new rtlinux image
> > >
> > > when I reboot my machine and logged as root my id is
> > >
> > > [root@xport /root]# id
> > > uid=0(root) gid=0(root)
> > > groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel)
> > >
> > > After installing all the modules of rtlinux my effective id changes :
> > >
> > > uid=0(root) gid=0(root) euid=4294967295
> > > groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel)
> > > (here there is no possibility to bring down the system propely !!)
> > >
> > > If I remove all the rt modules my id goes back to the original
> > >
> > > uid=0(root) gid=0(root)
> > > groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel)
> > >
> > > Rigth now I didn't find any solution
> > >
> > > Fred Cazenave
> > >
> > > --
> > >  _________________________________________________________
> > > |                                                          |
> > > |               Frederic CAZENAVE                          |
> > > |    _/\_  /^=  McGill Radar                               |
> > > | \_/    \//    Box 198, MacDonald College                 |
> > > |   | /-\ |     Ste Anne de Bellevue                       |
> > > |   ||   ||     Quebec, Canada   H9X 3V9                   |
> > > |               Tel (514) 398 7733 fax (514) 398 7755      |
> > > |              mailto:[EMAIL PROTECTED]       |
> > > |              http://www.mpl.orstom.fr/hydrologie/catch/ |
> > > |__________________________________________________________|
> > >
> > > -- [rtl] ---
> > > To unsubscribe:
> > > echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
> > > echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
> > > --
> > > For more information on Real-Time Linux see:
> > > http://www.rtlinux.org/rtlinux/
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/

Reply via email to