From: pzschmidt () gmx ! net
To: tru64-unix-managers
Subject: SUMMARY: su failed for a restored V51 system
Date: Sun, 04 Mar 2001 12:47:29 +0000 [thread overview]
Message-ID: <98371009429666.tru64-unix-managers.marc@archive.invalid> (raw)
Question was:
We have an system running Compaq Tru64 UNIX V5.1 (Rev. 732). We created a
special user foo which is allowed to becoming root.
For desaster recovery we made a backup of the system to another disk using
a script based on vdump/vrestore (something like btcreate). If we now try
to boot the backup disk, everything works fine, but user foo can not longer
use su to become root. The su-command simply returns to the shell prompt,
without any error message.
Enrique Martin del Campo found the solution:
> I had a similar problem yesterday, and I found that the permissions on
> /usr/bin/su had been changed. Once I changed them back I found that su
> worked for users other than root again.
> The permission I have are:
> -r-sr-xr-x 1 root bin 24736 Aug 24 2000 /usr/bin/su
First idea was that vrestore didn't restored s-bit (bug) or that we missed
some special flags, but a second look into our scripts showed that only the
root filesystem was handled by vdump/vrestore. All other filesystems were
handled by tar. And for these tar-commands we didn't specify the p-flag.
Using this, everything works as expected.
Thanks a lot to Enrique Martin del Campo, Bob Bumpus, Simon Millard, Pat
O'Brien and Corinne Haesaerts.
Peter Schmidt
--
Sent through GMX FreeMail - http://www.gmx.net
reply other threads:[~2001-03-04 12:47 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox