LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-25-2010, 12:59 PM   #1
Eutanasi
LQ Newbie
 
Registered: Nov 2010
Posts: 2

Rep: Reputation: 0
"USER is not in the sudoers file" - why doesn't my computer acknowledge me as root?


I'm a noob and I hate it.

I've got a 40 gb hdd and I used to have it split in two, one partition for windows and one for linux (openSUSE) but since I never used the windows-partition I decided to re-install openSUSE on the whole hdd and skip the other partition. But unfortually, my openSUSE-cd was acting all weird and hate-ish so I decided to install some other distro instead. So. Now I'm on a date with Debian. It's not going too well.

Everything is quite fine, except that my computer now won't acknowledge me as root. I'm trying to install flash, but every time I try to write commands in the terminal and it comes to the sudo-part I get smacked in the face. This never happened me when I used openSUSE. And I thought, "hey, maybe it's my fault. I'll re-install the distro once more and make sure that I made all the right choices". So I re-installed. AGAIN. But I've still got the same problem. I've tried to search on google for help but it's all about "giving permission to the user in the sudoers file" and "maybe you've got the wrong password?".

I mean.
1. I installed this, I SHOULD BE ROOT?!
2. I haz correct password.

I'm really frustrated and my IRL geek is more into windows. Please help me?
 
Old 11-25-2010, 01:08 PM   #2
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,825
Blog Entries: 1

Rep: Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221
Can you become root by typing 'su' and your root password?
 
Old 11-25-2010, 02:09 PM   #3
Eutanasi
LQ Newbie
 
Registered: Nov 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by sycamorex View Post
Can you become root by typing 'su' and your root password?
YES, thank you I love you I'm so tired and I wrote sudo instead.
...
Hm. Wow. This is really awkward. Hahaha, oh well, it doesn't matter. MY PROBLEM IS SOLVED!
 
Old 11-25-2010, 02:12 PM   #4
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,825
Blog Entries: 1

Rep: Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221
Be careful with su. Use it only when absolutely necessary. Here's an article on how to add your users
to the sudoers file.
http://www.khattam.info/howto-enable...010-11-14.html

Remember when sudo asks you about the password, it is YOUR password, not root's.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to edit "sudoers" file using visudo maniac matt Linux - Newbie 11 06-22-2013 09:38 AM
[SOLVED] How do i add myself to "the sudoers file" Lyle Debian 2 05-15-2010 07:27 AM
How do I enforce in Red hat linux that only root user be a member of the "root" group sultf Linux - Security 4 01-08-2009 05:42 PM
Standard commands give "-bash: open: command not found" even in "su -" and "su root" mibo12 Linux - General 4 11-11-2007 11:18 PM
Postgresql error FATAL: user "root" does not exist" cgetty Ubuntu 4 06-21-2005 03:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration