restored a backup and can't su to root now

Arnie Stender astender at aagstender.org
Sun Feb 4 11:46:38 PST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dan Nicholson wrote:
> On 2/4/07, Arnie Stender <astender at aagstender.org> wrote:
> 
>>         I don't have time right now to test tar and cpio but I do know for sure
>> a straight cp of an SUID file does NOT produce an SUID copy of the file,
>> even if done as root.
> 
> I just did a "cp -a" of Xorg as root, which is suid, and it showed up
> as suid in the copy. You would need the -a or -p or some other cp
> option that maintains ownership and permissions.
> 
> --
> Dan
Hi Dan,
	Good to know. Thanks for checking up on me. ;-)

Arnie

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFxjgeI9lqJPlLBqQRAmTRAJ0Qb6IbMcHymTAzQtACHqHkNZonEwCgiNVK
4ZJ7W9ZJokRJJsP5XjTTrlQ=
=HbsG
-----END PGP SIGNATURE-----



More information about the blfs-support mailing list