Good morning/noon/evening my fellow LFS'rs,
Good morning to u too :)
I was hoping that someone might be able to help me out wih the
following problem:
I was working on my second LFS installation (6.1) (the first one
(5.x) went flawlessly) and have chosen to use the user package
system. So, to install packages, i frequently have to switch users,
by using su.
Lovely management system, isn't it? I'm using that one too now.. My
first few builds looked like a mess after a while, and I had definitely
no control of what I was doing.
I was already able to solve the problem myself: the su binary was
owned by package user "shadow" and the setuid bit was set. User shadow
was not permitted to view the password file. I made root the owner of
the su binary, which solved my problem. (I guess i must have
accidentally ignored this..). One weird thing though: the package user
system's wrapper script normally don't allow a setuid bit to be
set...how this happened will probably remain a riddle.
Just a little clarification.. The wrappers will allow to install a file
with the suid bit set, but not to chown it to root. So the file will be
setuid, but not setuid root ;) If you end up with more troubles, you can
search through your installed files for binaries with the suid bit set,
but owned by a package user. Just do the chown and chmod and everything
should be fine again.. :D
Thanks anyway, and forgive my for my ignorance ;-)
You'r welcome :) Look forward to installing Xfce and KDE :D
su
Tor Olav
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page