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 11-21-2008, 05:24 AM   #1
Novatian
Member
 
Registered: Feb 2008
Location: Australia
Distribution: Mint 18.1 64 bit and 17.1, 32bit, Android
Posts: 796

Rep: Reputation: 34
How Do I Get su In A Mint Window?


How do I get su in a mint terminal, the password used in other downloads, the only one is not authenticated.

I also tried sudo apt-get, since I want to download a host of packages.

It said super cow powers but asked if I was su.

Last edited by Novatian; 11-21-2008 at 05:32 AM.
 
Old 11-21-2008, 05:38 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Mint is based on Ubuntu, and disables the root account by default**. The normal thing is to use "sudo" when you need superuser privileges.

You can turn on the root account using "sudo passwd root", but you will still be asked for your own user password for many things.

Mint also gives you an option--during installation-- to enable the root account.


**The ONLY flaw in Ubuntu, but that's another story....
 
Old 11-21-2008, 08:03 AM   #3
Novatian
Member
 
Registered: Feb 2008
Location: Australia
Distribution: Mint 18.1 64 bit and 17.1, 32bit, Android
Posts: 796

Original Poster
Rep: Reputation: 34
So when using a terminal how do I get from a series of packages, to installation complete.

Initializing package states... Done
Building tag database... Done
E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
carolyn@Home-desktop ~ $ sudo
usage: sudo -h | -K | -k | -L | -l | -V | -v
usage: sudo [-bEHPS] [-p prompt] [-u username|#uid] [VAR=value]
{-i | -s | <command>}
usage: sudo -e [-S] [-p prompt] [-u username|#uid] file ...
carolyn@Home-desktop ~ $
 
Old 11-21-2008, 09:10 AM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 7,333

Rep: Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407
You should be able to use 'sudo su' to remain as root user. Read on a Linux Mint forum that this is not recommended for security reasons (?)
 
Old 11-22-2008, 02:49 AM   #5
Novatian
Member
 
Registered: Feb 2008
Location: Australia
Distribution: Mint 18.1 64 bit and 17.1, 32bit, Android
Posts: 796

Original Poster
Rep: Reputation: 34
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
carolyn@Home-desktop ~ $ sudo su
Home-desktop carolyn # sudo su
Home-desktop carolyn # dpkg
dpkg: need an action option


This is where I got to, how do I install, it also would not recognize -i

I am trying out the ArtistX list in Mint, to see if it will go here.
 
  


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 do I replace Linux Mint with Suse 11.0 on PC with Win XP Mint and Ubuntu? jremsen Linux - Software 4 02-15-2009 07:54 AM
what do you think of Mint? newbiesforever Linux - Distributions 4 11-23-2008 01:26 AM
re installation of grub in Linux mint after installing xp over mint sampad.sarangi General 1 01-15-2008 06:37 PM
LXer: Linux Mint is.....Mint! LXer Syndicated Linux News 0 11-18-2007 07:41 AM
Mint Frank Soranno Linux - General 1 07-13-2007 09:20 PM

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

All times are GMT -5. The time now is 05:42 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