Hi all,

I'm pretty new to this whole Linux thing, having only been using it for about 4 months now.
While I was starting out, I made a really dumb mistake and managed to chown the entire file system to a new user instead of just their home directory.
Yes, I was running as root when I did it :(
After chowning everything to root and manually setting all the home directories back to be owned by their users everything seemed to be working fine but I'm noticing there are certain things I can't do now.
For example I can create new NIS users (I think) and have them set up with mail so that it all gets delivered into a .inbox file in their home directory.
What I can't do is get my pop3 server (pop3lite) to then open that .inbox file and make it availble via pop3.
It works for all the existing users, but for any new users it keeps asking them for a password when they try to log into the pop3 server. It also asks for a password if you attempt to change a users password, which makes me think that the change isn't propagating via NIS, or isn't taking place at all. I've tried changing the password on what I think is the NIS master but it doen't seem to work.
I'm pretty sure this is a file permissions error, but I don't know what file needs to be set to what permission.

The way mail is set up is that the pop3 server is running on one machine which accesses an NFS share on another machine in which all the users home directories an inboxes are stored.
The NFS share is just the home directory on the other machine.
When I try to run ls on a folder while browsing the home directory from the pop3 server over the NFS link I get the following:
ls: .: Permission denied
I'm running as root on the pop3 server machine.

What do I need to do in order to get the permissions back to a state in which things will work again? In it's current state it's stopping me from adding new mail users and that's about it.
Would it be easier to change to a new pop3 server that stores it's own usernames and passwords instead of pulling them via NIS, or is changing the file permissions back to how they were not actually all that hard?

Keep in mind I'm still a bit of an NIS and NFS n00b.

Cheers,
Michael.


-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to