* SUMMARY: su failed for a restored V51 system
@ 2001-03-04 12:47 pzschmidt
0 siblings, 0 replies; only message in thread
From: pzschmidt @ 2001-03-04 12:47 UTC (permalink / raw)
To: tru64-unix-managers
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-03-04 12:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-04 12:47 SUMMARY: su failed for a restored V51 system pzschmidt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox