On Sunday 04 February 2007 17:27, Dan Nicholson wrote:
> On 2/4/07, P R Figueiredo <[EMAIL PROTECTED]> wrote:
> > Baho Utot wrote:
> > > Check that su is SUID
> > >
> > > [EMAIL PROTECTED] ~]$ ls -la /bin/su
> > > -rwsr-xr-x 1 root root 24060 Jan 10 10:06 /bin/su
> >
> > Yep, that was it, thanks. I
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Arden wrote:
> What is this -a option? My man cp doesn't show any -a option. I had
> the same trouble with cp so I have done this; cd to the partition you
> want to move and
> tar cvpf - .|(cd /mnt/hda6; tar xvpf - .)
>
> Seems to work better.
>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dan Nicholson wrote:
> On 2/4/07, Arnie Stender <[EMAIL PROTECTED]> 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
On Feb 4, 2007, at 10:21 AM, Arnie Stender wrote:
> Dan Nicholson wrote:
>
>> Not if you did it as an unprivileged user. It'd be a security hole
>> for
>> you to copy stuff and retain other's privileges. Only root can do
>> that. A simple `cp -a' works, but `tar' or `cpio' are probably better
>
On 2/4/07, Arnie Stender <[EMAIL PROTECTED]> 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 s
Arnie Stender wrote these words on 02/04/07 12:21 CST:
> 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.
Um, Arnie, the thread started with someone saying that they are
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dan Nicholson wrote:
> Not if you did it as an unprivileged user. It'd be a security hole for
> you to copy stuff and retain other's privileges. Only root can do
> that. A simple `cp -a' works, but `tar' or `cpio' are probably better
> suited for this
On 2/4/07, P R Figueiredo <[EMAIL PROTECTED]> wrote:
> Baho Utot wrote:
> > Check that su is SUID
> >
> > [EMAIL PROTECTED] ~]$ ls -la /bin/su
> > -rwsr-xr-x 1 root root 24060 Jan 10 10:06 /bin/su
>
> Yep, that was it, thanks. It seems permissions were not copied through
> the backup process. For i
Baho Utot wrote:
> Check that su is SUID
>
> [EMAIL PROTECTED] ~]$ ls -la /bin/su
> -rwsr-xr-x 1 root root 24060 Jan 10 10:06 /bin/su
Yep, that was it, thanks. It seems permissions were not copied through
the backup process. For instance, now the /tmp dir wasn't writeable by
common users either
On Sunday 04 February 2007 8:59 am, P R Figueiredo wrote:
> I restored my (B)LFS system from a backup (basically, booted from a cd,
> copied everything from the backup disk to the destination disk, mounted
> the /dev filesystem, and fixed grub), and everything's working just fine
> except for this
I restored my (B)LFS system from a backup (basically, booted from a cd,
copied everything from the backup disk to the destination disk, mounted
the /dev filesystem, and fixed grub), and everything's working just fine
except for this annoying thing: if I log in as a common user, I can't su
to ro
11 matches
Mail list logo