--On 27 September 2005 19:44 +0900, Dulmandakh Sukhbaatar wrote:

I did
# cd /usr
# cp -i * /usr1
Something wrong?

This doesn't copy permissions. A command like pax(1) or cpio(1) is good at preserving these.

After reboot I can login as my non-root account and also with root
account. But I can't su.  Is pax solves this problem? Please help

~> [EMAIL PROTECTED] ls -l `which su`
-r-sr-xr-x  1 root  bin  14948 Sep  7 21:24 /usr/bin/su*

You are almost certainly missing the setuid bit on su(1).

The simplest way to fix this is to run the installer again. If you want to preserve any configuration changes you've made to the system, use 'upgrade' (you can 'upgrade' to the same version you're already running).

Reply via email to