Grant sudo powers in RHEL/CentOS

Running as Root all the time is a dangerous tactic in a Unix based system, yet some commands can only be executed with superuser privileges. The sudo command allows a regular user to run selected commands with superuser privileges. This feature is included by default in Red Hat Enterprise Linux and CentOS systems, but it takes an extra step to get it working.

First you need to gain superuser privileges. Next, open the file located at /etc/sudoers. You need to locate the line that reads:

# %wheel ALL=(ALL) ALL

Now uncomment it by removing the hash mark (#) from the beginning of the line so it looks like this:

%wheel ALL=(ALL) ALL

Save a close the file. Now anyone who is a member of the wheel group will be able to use the sudocommand. To add a user to this group, gain superuser priviliges and run this command:

/usr/sbin/usermod -aG wheel [username]

This will add the specified user to the wheel group, allowing that user to use the sudo command.

QUoted from: http://blog.zloether.com/2009/05/grant-sudo-powers-in-rhelcentos.html

[Social Media] Facebook now offers geo-targeted scheduled posts

This is a huge deal. On a page with 400 fans, you can now schedule a post.

Even better, you can schedule it and geo-locate. Here’s what is looks like:

You can schedule the post. You can also click on “Public” and then locate the post to a city. At Colgate we have alumni events that happen all over the country. So we can schedule and locate the post to a city.

If we want to get really fancy, we can promote it. This is pure awesomeness.

Have you used it?

Quoted from: sharemarketing.wordpress.com

[Social Media] Geo-Targeting on Facebook

If you’re in California looking to buy a new purple unicorn and the national company that you like who sells purple unicorns posts a special Facebook offer at their stores in New York, what happens? You become an annoyed purple-unicorn-less Californian.

Geo-targeting is a helpful tool available on Facebook Pages. With a few simple clicks, you can customize posts based on country, state/province, city and language.

Just a few examples of how you can use geo-targeting:

  • Sharing information sensitive to time zones
  • Offering information in different languages
  • A/B testing by region or offer (compare conversion and engagement rates)
  • Localized stunts or events

And here’s how you do it:

  1. When posting a status, link, photo or video on your Page, select the ‘Everyone’ drop down menu below the text box and click ‘Customize’.
  2. Enter the country of choice (and optional filter by state/province and city).
  3. Enter an optional language of choice. Press “Okay.”
  4. Post your geo-targeted status to be seen only by those specified in preferences. After you finish posting, the custom preferences will clear and subsequent posts will display to all audiences unless otherwise specified.

Interested in learning more best practices on social media outlets? Learn more about our education division, Digital Royalty University, by emailing info@thedigitalroyalty.com.

Quoted from: thedigitalroyalty.com