Hello,
yesterday I installed for the first time Linux Mint 13 on a HP notebook 655 which came with SLED 11 SP2. It has a FAT 32 Partition with the HP tools and the SLED recovery image, one where Linux mint 13 is installed, and one big partition with 460 GB free and swap of course. I would like to use the big one for saving my files.
On the computer I have 2 accounts. One for me and one for my brother. My account was the first account I created, and I can mount the big partition. The account of my brother was created later. The problem is, that from this account I can't mount the big partition without the root password. Once I give the root password the partition is mounted and works very well.
I want to have the partition mounted from both accounts without giving a root PW, and then to create two folders on that, one for me and one for my brother and to configure the rights, that the one can't open the folder of the other.
How can I do that?
Thanks
[SOLVED] Mout partition without root PW
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
[SOLVED] Mout partition without root PW
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Mout partition without root PW
Please post the output of this command:
That last character is a lower case "L".
And the output of this command:
Code: Select all
sudo parted -l
And the output of this command:
Code: Select all
sudo blkid -c /dev/null
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
Re: Mout partition without root PW
Hier is one
and here the othersudo parted -l
Model: ATA ST9500325AS (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 1049kB 10,7GB 10,7GB primary fat32 diag
2 10,7GB 12,9GB 2147MB primary linux-swap(v1)
3 12,9GB 39,7GB 26,8GB primary ext4 boot
4 39,7GB 500GB 460GB primary ext3
Thankssudo blkid -c /dev/null
/dev/sda1: LABEL="HP_TOOLS" UUID="829E-9FD1" TYPE="vfat"
/dev/sda2: UUID="dd0c3093-613e-4164-89ce-528481532877" TYPE="swap"
/dev/sda3: UUID="bdc2f9a8-09b1-4b82-9110-b07a019af82a" TYPE="ext4"
/dev/sda4: UUID="73147129-873e-4845-acb6-c7378e0ac6e5" TYPE="ext3"
Re: Mout partition without root PW
This is what I would do to fulfill what I think are your requirements:
[1] Have the 500gb partition automount on startup:
** Create a mount point:
** Then edit fstab as root:
** And add the following line to the end of the file:
** Run the following command to mount the partition:
[2] Create 2 sub directories and make it available only to that user.
For example:
Create a folder for yourself:
Change ownership to you:
Change permissions to allow access only to you:
Only Phileas has access to that folder.
[1] Have the 500gb partition automount on startup:
** Create a mount point:
Code: Select all
sudo mkdir /media/Data
Code: Select all
gksu gedit /etc/fstab
Code: Select all
UUID=73147129-873e-4845-acb6-c7378e0ac6e5 /media/Data ext3 defaults,noatime 0 2
Code: Select all
sudo mount -a
For example:
Create a folder for yourself:
Code: Select all
sudo mkdir /media/Data/phileas
Code: Select all
sudo chown phileas /media/Data/phileas
Code: Select all
sudo chmod 0700 /media/Data/phileas
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.