icanhascraigryder.com

Linux - Ubuntu/Deb/etc

How to add a user to the sudoers list

by Chemmyone on Feb.17, 2010, under Linux - Ubuntu/Deb/etc

How to add a user to the sudoers list

Believe it or not, this is a fairly common question and in all reality the answer is quite simple. Adding a user to the sudoers list on a fully installed Linux system such as Debian is only possible via the command visudo. Users in the sudoers list are allowed the privileges to run commands and as the root user. In the following quick tutorial, we will show you how adding a new sudoer is quickly done.

  1. Open a Root Terminal and type visudo (to access and edit the list)
  2. Using the up/down arrows, navigate to the bottom of the sudoers file that is now displayed in the terminal
  3. Just under the line that looks like the following:
  4. root ALL=(ALL) ALL

  5. Add the following (replacing user with your actual username):
  6. user ALL=(ALL) ALL

  7. Now press Ctrl+X and press Y when promted to save

That’s it, your new user now has root privileges!

2 Comments more...

How to Tell What Version of Ubuntu You Are Running

by Chemmyone on Aug.22, 2009, under Linux - Ubuntu/Deb/etc

Thanks to the how to geek for this one..;)

Telling what version of Ubuntu you are running is extremely easy. You would commonly use this command to figure out if you are running Edgy after you upgraded from Dapper.

cat /etc/issue

Ubuntu edgy (development branch)

Note that the version numbers might change over time. I’m running the beta version so that’s what shows up when I run that command. Either way, it should be clear that you are running Edgy.

Leave a Comment more...

How to make directories writable in Ubuntu or most other distribs

by Chemmyone on May.16, 2009, under Linux - Ubuntu/Deb/etc

Re: How to make directories writable?

Applications -> Accessories -> Terminal

Type:

sudo chmod -R 777 /opt/lampp/ for example

or

sudo chmod -R (for recursive ((don’t type this))) 755 is a bit safer as it does not allow a folder to be world writable. What that’d look like without my mess is:

sudo chmod -R 755 /public_html/wp/etc/etc

Or if you are logged in via FTP as the user that owns the web folders then you would usually right click (if you’re using a graphical FTP client) on the file or folder and either add the writes where you want them or in some cases just type the 755/777 etc.

Related External Links

Leave a Comment :, , more...

Ubuntu Unleashed: Howto: Install Safari on Ubuntu with Flash and Shockwave Hulu, Youtube, Shockwave Works

by Chemmyone on Feb.04, 2009, under Linux - Ubuntu/Deb/etc

Ubuntu Unleashed: Howto: Install Safari on Ubuntu with Flash and Shockwave Hulu, Youtube, Shockwave Works.

I’m using this guide to get Safari going under ubuntu and wine to test a website i’m working on for standards compliance. .. .. It does seem that installing the fonts is neccessary and that you may have ot change the

cp /usr/share/fonts/truetype/msttcorefonts/Times_New_Roman*.ttf ~/.wine/drive_c/windows/Fonts/   –The final F in Fonts is not initially capitalized.. anwyays back to it..;)

Leave a Comment :, , , more...

Main Page – AlsaProject

by Chemmyone on Dec.17, 2008, under Linux - Ubuntu/Deb/etc

Main Page – AlsaProject. This is the place to find support and drivers and whatnot for your various sound devices. I spent a long time going through this and numerous other sites trying to get my e-mu 0404 running under Intrepid.. still in progress although on the far back burner.

1 Comment :, more...

BlueZ

by Chemmyone on Dec.17, 2008, under Linux - Ubuntu/Deb/etc

BlueZ. Bluetooth stack for linux baby..

Leave a Comment :, , , more...





Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...