SUMMARY: su failed for a restored V51 system

From: <pzschmidt_at_gmx.net>
Date: Sun, 04 Mar 2001 13:47:29 +0100 (MET)

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
Received on Sun Mar 04 2001 - 12:48:51 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:41 NZDT