[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] CGIWrap Error?-Ownership Problems



----- Original Message -----
From: Carrie Bartkowiak
If you are logged in as root (su) you can change anything on any file you
want to.
(Which can be dangerous <g>.)
Admin is NOT su/root!
Telnet into your server.
Once you are logged in as admin, at the prompt type:
su
You will be challenged for a password. It is the same as the admin's
password - unless you've changed it. Judging from your posts, I don't think
you've changed it.
Now you'll see that your prompt has changed. Rather than 'admin', you will
be 'root'. *This* is superuser on the machine. Not admin.
Now change directories over to where this file is that's giving you such a
problem:cd /the/full/path/to/formmail.pl
(This will be something like cd /home/sites/home/web/cgi-bin/formmail.pl)
And now change ownership of the file (chown): (In this example we'll change
it to 'admin'.)chown admin formmail.pl
<<SNIP>>
Which "user" do I use that is priviledged in cgiwrap, the user nobody
doesn't work, I change it to admin it won't work. Should I just disable
cgiwrap? If so how does one do that. This is driving me batty! LOL
TIA
Frank