LinuxQuestions.org
Visit Jeremy's Blog.
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 04-30-2011, 03:26 AM   #1
tweetle_dee
LQ Newbie
 
Registered: Apr 2011
Posts: 5

Rep: Reputation: 0
Unhappy sudo password


I just installed linux for the first time today. Linux Mint 10 x64. Trying to find out how to install google chrome, a thread mentioned its .deb file. GREAT! Now that I've downloaded the .deb file, I found out that I have to use the terminal.. so far so good.. i searched here in the forums how to write the code.. "dpkg -i filename.deb" it was wrong.. then i searched some more and it said to write "sudo" in front.. i did.. now its asking me for a sudo password.. but i can't find a guide on where to locate "admin" so i can add myself to the admin list so that it doesn't ask me for the sudo password..

Lil help here plz.
 
Old 04-30-2011, 03:31 AM   #2
neonsignal
Senior Member
 
Registered: Jan 2005
Location: Melbourne, Australia
Distribution: Debian Jessie (Fluxbox WM)
Posts: 1,387
Blog Entries: 52

Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355
The sudo command is to allow the user to act as the admin user (typically called 'root'), so you put in your user password, not the admin one (at least in the default setup).

Last edited by neonsignal; 04-30-2011 at 03:34 AM.
 
Old 04-30-2011, 03:36 AM   #3
tweetle_dee
LQ Newbie
 
Registered: Apr 2011
Posts: 5

Original Poster
Rep: Reputation: 0
HAH! never mind.. i got it.. heres what i did..

went to the downloads folder
right click the item i want to install
selected "open with gdebi package installer"

then it brought me to another screen and all i hit was "install package".. all done (~.^)
 
Old 04-30-2011, 04:26 AM   #4
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
I believe that Google Chrome is available from the package manager in Mint, meaning that you don't have to download .deb package for it and that is the recommended way to install packages. It boils down to that you need to learn about your distro.
 
Old 04-30-2011, 12:53 PM   #5
znerom
LQ Newbie
 
Registered: Apr 2011
Posts: 1

Rep: Reputation: 0
The default in mint is that you can't sudo. To change this you need to add the acount to the "sudo" group which can be done by Menu -> Administration -> Users and Groups -> Manage Groups -> sudo -> Preferences -> Check user names you want to be able to sudo. This allows the user to sudo using the users password so it is a security (and uninformed user) risk on shared acounts. A different way to do this is to add the following lines to /etc/sudoers
Code:
Defaults	runaspw
ALL	ALL=(ALL) ALL
Which will allow any user to use sudo but will require them to have the password for the user they are sudoing into (default is root).
 
Old 04-30-2011, 02:47 PM   #6
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720
@znerom

I'd recommend enabling sudo only for your account, not for all accounts (some programs create their own account). Like this:

Code:
your-username-goes-here ALL=(ALL) ALL
 
Old 04-30-2011, 06:15 PM   #7
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,374

Rep: Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198
Wonder why chrome isn't in the package manager or software manager? Did you try doing that first?

Each disto tries to help you out. They offer a pretty easy way to install software. Since I am pretty sure I did load chrome from the manager I believe you should try it. It is the best way to install software.

Last edited by jefro; 04-30-2011 at 06:16 PM.
 
  


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
No password for sudo? orange400 Linux - Software 9 03-18-2012 11:08 AM
my sudo password is not the root password newbiesforever Linux - General 7 01-02-2010 10:59 PM
sudo password 45.nitin Linux - Newbie 5 12-23-2009 10:32 AM
Sudo password kapilbajpai88 Linux - Newbie 9 11-06-2009 04:15 AM
sudo password...? yubimusubi Linux - General 15 09-04-2009 01:08 AM


All times are GMT -5. The time now is 01:02 PM.

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