LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-12-2014, 12:04 PM   #1
bjoerng44
LQ Newbie
 
Registered: Nov 2014
Location: Norway
Posts: 12

Rep: Reputation: Disabled
Partition Tool and Administrative Priveleges


Hi there,
Yesterday I installed L.Mint 17 on my Thinkpad T60. First time.
Everything went OK, and I decided to try partitioning my HDD.
I installed KDE Partition Manager and started it.
But what happens?
I got the warning that I don't have the administrative priveleges, so I cannot do the Partitioning! After all I had just installed Linux and was still the SuperUser!

Today I tried the same.
I get a window with the heading Sorry - KDE su , and telling this:
Cannot execute command ''/usr/bin/partitionmanager-bin -dontsu", and thereafter the same warning about priveleges.
I thought that as SuperUser I'm allowed to do anything. Who else should give me the appropriate privelege? Any explanation out there?
 
Old 11-12-2014, 03:14 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153
Quote:
I decided to try partitioning my HDD
You can of course not "partition" anything on a disk in use.

The default way is : Use a live cd with GParted
. http://distrowatch.com/index.php?dis...h=all&year=all
. http://gparted.org/
 
Old 11-12-2014, 03:26 PM   #3
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 3,774
Blog Entries: 1

Rep: Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339
I would say "You cannot RE-partition anything on a disk in use," which still has a caveat.

If you make a partition 50G and have 100G left over,.. you can be using the 50G as your system drive when you decide to partition your remaining 100G. Happens all the time.

Caveat: PG/VG stuff makes it way easier to add additional space to volume groups, or to decrease the size of a group or basically perform on the fly disk operations.
 
Old 11-12-2014, 03:59 PM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,869

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
If you installed the version of Mint with the KDE desktop environment, when you get to its partition manager from the menu or from a terminal you should be prompted for the primary user password if you are using a standard Mint install. You should not log on as super user or administrator unless you have some administrative task to perform. Just logging in as a user doesn't give you administrative privileges. That's a pretty weird message, never seen it before.
 
Old 11-12-2014, 05:08 PM   #5
bjoerng44
LQ Newbie
 
Registered: Nov 2014
Location: Norway
Posts: 12

Original Poster
Rep: Reputation: Disabled
[QUOTE=knudfl;5268845]You can of course not "partition" anything on a disk in use.

Thanks Knud.
I was quite sure it WAS possible, at least this is how I understand my Windows 7 Help (on another laptop).
But technically it may not be correct. perhaps it is like cutting off the branch you are sitting on...
I have noticed the better way from your description.
Bjørn
 
Old 11-12-2014, 05:23 PM   #6
bjoerng44
LQ Newbie
 
Registered: Nov 2014
Location: Norway
Posts: 12

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by yancek View Post
...You should not log on as super user or administrator unless you have some administrative task to perform. Just logging in as a user doesn't give you administrative privileges. That's a pretty weird message, never seen it before.
I agree. But in the Windows environment (which I am used to, and preparing to leave) I'm so tired of all the barriers when I don't have adm. rights that usually I log on as Adm.
How do I do installations and other tasks as a user in Linux Mint? Need to switch user, or is it just a password away?
Bjørn
 
Old 11-12-2014, 05:49 PM   #7
bjoerng44
LQ Newbie
 
Registered: Nov 2014
Location: Norway
Posts: 12

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by szboardstretcher View Post
If you make a partition 50G and have 100G left over,.. you can be using the 50G as your system drive when you decide to partition your remaining 100G... Caveat: PG/VG stuff makes it way easier to add additional space to volume groups, or to decrease the size of a group or basically perform on the fly disk operations.
Thanks for your answer.
I am used to split my physical disk in at least 2 logical ones, C and D in the Microsoft world. 30 years ago, a colleague of mine told me this reduces the flexibility and was completely unnecessary. I did not agree, because of the lack of good backup utilities in Windows and the incredibly underdeveloped batch command solution. The Linux world is completely new to me, and I wonder if it would be better to have one big disk. The file organization itself and the great possibilities in the command scripts make partition really unnecessary or what?
Bjørn
 
Old 11-12-2014, 06:24 PM   #8
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 3,774
Blog Entries: 1

Rep: Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339Reputation: 1339
Weeeeeeeeeellllllllllllll...

If we are on a laptop, one big disk is "fine."

Even if we are on a stand-alone dev server or VM, one big disk is "fine."

But carving a server up into partitions offers a few benefits off the top of my head:
  • Security
  • Security
  • Security

Ok. I can't think of anything else.
 
1 members found this post helpful.
Old 11-12-2014, 06:29 PM   #9
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,869

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Quote:
How do I do installations and other tasks as a user in Linux Mint? Need to switch user, or is it just a password away?
It's just a password away. A standard installation of Linux Mint will require you to create a user before you can complete the installation. A password is also necessary for this user. When you want to do administrative tasks, you simply open a terminal and prefix whatever command you want with sudo, this will prompt for your primary user password, enter it and off you go. This makes users aware that they are doing administrative work and lessens the possibility of 'accidentally' deleting important files. If you spend much time here at these forums, you will a lot of posts about just that problem.

Generally, installing software and modifying system configuration files are the primary reasons for elevated privileges on home computers. Being logged in as an administrative user gives those privileges to anyone with physical access to the computer. Particularly risky on the internet.

Last edited by yancek; 11-12-2014 at 06:32 PM.
 
1 members found this post helpful.
  


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
Any administrative tool for Active Directory from Linux? Felipe Linux - Software 5 10-07-2008 08:43 PM
LXer: NL: Administrative Court publishes automatic document conversion tool LXer Syndicated Linux News 0 05-25-2008 06:10 PM
firestarter at start up- Insufficient priveleges aquaboot Debian 4 12-11-2006 01:42 AM
folder priveleges keep getting changed Present Yoper 3 11-28-2004 02:05 AM
MySQL: how to see my priveleges? mikeshn Programming 9 06-25-2003 12:30 PM


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