On Wed, Jun 17, 2020 at 01:51:49PM -0400, Scott Andrews wrote:
> On Wed, 17 Jun 2020 18:45:44 +0100
> Ken Moffat <zarniwh...@ntlworld.com> wrote:
> 
> > On Wed, Jun 17, 2020 at 12:19:25PM -0400, Scott Andrews wrote:
> > > On Wed, 17 Jun 2020 15:19:14 +0100
> > > Ken Moffat <zarniwh...@ntlworld.com> wrote:
> > >   
> 
> Check the perms on the su files, owned by root and setuid
> 

Thanks - that seems to be it.

On my 9.1 system:

ken@llamedos ~ $ls -l /bin/su /etc/login.*
-rwsr-xr-x 1 root root 74360 Mar  5 22:10 /bin/su
-rw-r--r-- 1 root root  2006 Mar  5 22:10 /etc/login.access
-rw-r--r-- 1 root root 11993 Mar  5 22:10 /etc/login.defs

but on tne new build:

-rwxr-xr-x 1 root root 61960 Jun 17 02:01 /bin/su
-rw-r--r-- 1 root root  2006 Jun 16 23:34 /etc/login.access
-rw-r--r-- 1 root root 11993 Jun 16 23:34 /etc/login.defs

Note that on the new build the program was updated about 2 and a
half hours after the other files - that was when I ran 'Stripping
Again'.

Trying 'chmod 4755 /bin/su corrects those perms and now lets me su.

I'll have a look to see if any other programs have lost +s.

ĸen
-- 
       He died at the console, of hunger and thirst.
       Next day he was buried, face-down, nine-edge first.
                              - the perfect programmer
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to