Well that's probably because deleting a user only removes the ID from
/etc/passwd. The files, etc. that squid needs to run still have an identity
(a uid number) assigned to them.
When you added the user squid back in, it got assigned a new uid number that
DOESN'T match the old squid uid number. This means that the new user has NO
access to the original files.
Do a ls -l in the squid directory and you will probably see numbers instead
of names in the middle fields ("root sys" would be more typical names you
would see).
Those numbers are what you want to replicate in the new squid user id. The
first number is uid, the second is gid, or group id.
Delete your new squid user and then add it back in like you did before,
except the command line would look more like:
useradd -u XXX -g YYY blah blah blah squid
where XXX is the uid number of squid's original files, and YYY is the gid
number.
This will allow the squid user access to the original files, which he
probably doesn't have now.
-----Original Message-----
From: Mick Collins [mailto:mickwell@bigpond.com]
Sent: Thursday, October 05, 2000 7:56 AM
To: Squid
Subject: [SQU] HUGE STUFF UP
Hay All.... I was going throught my linux gateway and found the user
squid....
AND I DELETED IT......
Ever Since Squid hasnt run and i get errors......
i have added the user squid again and still nogo....
could someone please help me
cheers
Regards,
Mick Collins
mickwell@bigpond.com
ICQ: 66163269
~~~~~~~~~~~~~~~~~
-- To unsubscribe, see http://www.squid-cache.org/mailing-lists.html -- To unsubscribe, see http://www.squid-cache.org/mailing-lists.htmlReceived on Thu Oct 05 2000 - 08:46:48 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:55:41 MST