I used to have a Cobalt RaQ4 server that allows the server administrator to set up site administrators for each domain. The site administrators can add more users to that domain, and he can also write files to the users' directories.
I now have a RedHat 9.0 box running Linux 2.4.20 with Apache 2.0. I'd like to be able to do the same site administrative things on this server.
I logged on to both servers via SSH and did
The Cobalt told me the users directory and all the users inside have the permissions 2775 (drwxrwsr-x). After making my users directory on the RH have the same permissions, I was able to write files to the users directories! Woohoo!
So now my question is, how do I set up Apache to create user directories with these permissions by default so that I don't have to go through the entire server and change each directory, and manually change each user we add to each domain.
Sorry this post is so long, I just want to give you as much info as possible so you know exactly what is going on. If it helps, I'm using Plesk 6 to manage the domains and users.
AFAIK, Apache does not create the directories and alter permissions of files. Scripts are written that do this type of thing. Cobalt Raq systems had a lot of scripting in place to do this type of thing when you input data through their web based administration system. You should check and see if Plesk offers the same thing.
One note: From past experience, be careful when you are working with an automation system when you go changing the permissions of directories that is directly accessible by the system, you may cause the scripts designed for the automation to cease working.
Have you asked this question at the Plesk forums?
Last edited by OllieTech; 08-31-2003 at 01:28 AM..
No, I haven't gone to the Plesk forum yet. I didn't realize they had one. I've read the documentation and gone through the interface looking for an option like this, but didn't find anything. I'll check out the forum though. Thanks for the info!
It looks like I'll just have to write an hourly crontab to change the permissions for me. I was hoping I wouldn't have to use the cpu resources on an hourly basis for something that won't be happening that often, but it's better than doing it manually! Thanks for pointing me in the right direction.
Hi, would like to share a complete reference about Debian GNU/Linux.
TBH, i've never seen a complete reference book like this one here ...
You can get the book with three formats : pdf, epub, mobi.
The Debian... (1 Reply)
i have linux box that is running in the windows domain, BUT did not being a member of the domain. as I am not the System Administrator so I have no control on the server in the network, such as modify dns entry , add the linux box in AD and domain record and so on that relevant.
... (2 Replies)
Hello Unix Experts,
I'm going to be graduating with a CIS (Computer Information Systems) degree in the coming year. I have been offered an internship with a job title of Unix Administrator under a well known company. I understand that Unix is used for high-end servers in many large... (1 Reply)
Has anyone got any advice on how I can get a job as a Unix/Solaris system administrator?
My current job is supporting an application that runs on Solaris servers.
I have very minimal Solaris/Unix skills but would like to expand on them with the aim of getting a junior sys admin role. I have... (4 Replies)
Can any one tell me what are the Requirements for any system administrator to be a system administrators (After taking all the courses for IBM or the the track that requires only during your job). (1 Reply)