NGUYEN, MICHAEL V (SBCSI)
mn2923 at sbc.com
Wed Jan 17 15:10:05 EST 2001
You're correct. chown/chgrp are restricted by default in Solaris.
To fix that, you can do this...
1) add the line below in /etc/system then reboot
2) or, if you're daring, you can modify the kernel directly
# adb -kw /dev/ksyms /dev/mem
type in "rstchown?W0x0" without the quotes
type in "^d" (ctrl-d) to exit adb
From: Peter Smith [mailto:i_am_pete_smith at yahoo.com]
Sent: Wednesday, January 17, 2001 1:42 PM
To: sudo-users at courtesan.com
Subject: RE: Newbie question
Thanks to everyone who replied, and my apologies for
what was clearly an OT question (though I didn't
realize it was).
I need to go do man chown and learn this better. As
was suggested, if I do
# touch mine.txt
# chown anotheruser mine.txt
I still get a Not Owner error. This restriction is
enabled by default in Solaris (says the man page).
Again, my apologies for wasting the bandwith with an
OT question, and thanks for the patient answers.
--- "Kamal, Nasir" <Nasir.Kamal at Paytrust.com> wrote:
> See if the the effective user is the owner of the
> files you want to change
> ownership... Any other user cannot change the
> ownership of files that are
> owned by someone else.....
> Nasir Kamal
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
sudo-users mailing list <sudo-users at courtesan.com>
For list information, options, or to unsubscribe, visit:
More information about the sudo-users