Adding and Deleting subdomains with Plesk on the Command Line

Plesk has the disadvantage that everything is done through the database. So we can’t just modify Bind’s Zone files. To add an A record of a subdomain you have to do the following: /usr/local/psa/bin/dns -a domain.tld -a subdomain -ip the first -a is for add to zone which is why it must specify the top level domen, the second is for A record, and must not contain the full Read more →

Adding a new group to an open shell without logging in and out

Most Unix users believe it’s impossible to add a group that was recently added to your user account without logging in and logging out. If you’re running X and need to give your gui new permissions (like dolphin/konqueoror) this may be true, for the most part. I don’t know how to change it for those processes. However, if you need to change it for a shell prompt it’s easy. You merely execute the command newgrp in an open shell prompt and that prompt will now be loaded with the new group. Read more →