My main business is fixing servers. I get a lot of new clients after people break their systems.
So feel free to move on
.
A line-by-line set of instructions? I don't do that, because if you make a mistake you'll blame me, and you'll never know why it happened.
You can always learn to read the man files. If you're running a server and you don't have one at home you can play with (not DirectAdmin, but at least linux/unix), you're probably never going to learn enough to be a safe administrator.
That said:
-set the group ownership of wget to that group
This gets a bit more complex.
Edit the file /etc/group. The group you've just added should be at the bottom, looking something like this:
Where the 5555 can be any number. The number doesn't matter. Leave it alone.
After the number there'll be a colon character (
:). After the colon character put in the name of the first user to add to the group. When you add more users, be sure to put a comma between users but not at the end.
When you're done it could look something like this:
or
Code:
groupname:x:1043:jeff,joe
Nothing to restart.
However: You're editing a file which could change if a user is added to the system (many OS distributions, including RedHat and CentOS add a new group for each user). And if that happens while you're editing the file you'll overwrite the new group when you save the file.
Some OS distributions have a special editor that know how to handle editing files such as passwd and group; use one if your OS has it. If not, then change the filename, then edit it, then after you save it, change the name back. This means if anyone tries to add a user while you've got the file open for editing, the system won't let the user be created. But that's better than breaking the file.
-if any user hosting account changes
if any user hosting account changes, what? Change the group file? That's a job for a good script programmer.
Jeff