Software :: Allow Any User To Mount Disks With Its Command?

Nov 26, 2010

I know how to modify the /etc file to change permissions, but I don't think that it could apply to this:

I'm using my Ubuntu desktop to compile Linux From Scratch onto a Virtual Box disk image. I can make it mountable by using a vdfuse program I downloaded, but then I have to use sudo to mount the actual partition. I do not want to give another account the ability to use sudo.

p.s. does this only happen to certain distros, or is a part of the Linux kernel?

View 6 Replies


ADVERTISEMENT

Ubuntu Installation :: 11.04 Cannot Mount Two Of Disks?

Apr 29, 2011

I did a fresh install of 11.04. It didn't let me choose custom mount points for my disks, so I left non-system partitions unmounted in the installer. Big mistake. It seemingly screwed with two of my disks. I can see them in disk utility, but disk utility cannot identify partition information.

@fridge:~$ sudo mount /dev/sde1 /m2 -t ext4
mount: wrong fs type, bad option, bad superblock on /dev/sde1,
missing codepage or helper program, or other error

[code]....

View 9 Replies View Related

Red Hat / Fedora :: Could Not Mount Disks After 15 Installation?

Jul 7, 2011

I`d like to know what happens when with the disks the we include in the installation process of Fedora 15.Obviously, the HD we choose to be the system is entirely formated and reconfigured. But what about the others?hat does happen to them? I`m asking this because I have included two brand new disks of 2 TB, one of them with 900.000 files and the other empty, both of them formated with ext4, and completely functional on Fedora 14.However, after the upgrade, in the very first Fedora 15 boot, these disks disapeared from "places", and could not be mounted even via terminal. Opening the Gnome Disk Utility, I found out they had been changed to VLM (instead of ext4) and that they also lost their original lable. I am starting to be concerned because all the data there was important to me.

View 3 Replies View Related

Fedora :: Mount These 2 Disks To Be Able To Read Files?

Aug 21, 2009

After a motherboard crash I have a problem. i have a LVM2 partition that is placed on 2 different physical disks that i need to read. Since I am pretty new to Linux/Fedora a friend helped me to install the system on my old system so i am not sure if the disk is formatted as ext2,ext3 or xfs. How do I mount these 2 disks to be able to read the files? when i run fdisk -l I got:

[code]...

View 2 Replies View Related

OpenSUSE Hardware :: USB Disks Not Mounting After The First Mount?

Feb 23, 2010

I'm having a problem with my usb disks, on opensuse 11.2. USB disks only mount the first time after booting.

The scenario is, I boot, then I plug a usb disk. It mounts properly and I can use it. After I unmount it and unplug the disk, I try to plug it in and it doesn't mount. And none of my other usb disks will mount as well.

The only workaround is to reboot.

I checked /var/log/messages, and the disk is being detected, it's just not being mounted.

View 9 Replies View Related

Ubuntu :: Making Disks Mount Forever?

Jan 26, 2010

I have a computer with XP & Ubuntu dual-boot. My arrangement is like this:Physical hard drive #1, (NTFS XP partition, ext3 Ubuntu partition)Physical hard drive #2, (NTFS documents partition)The Ubuntu partition is always mounted, but the other 2 have to be mounted every-time I boot up. How can I have these other 2 partition always be mounted

View 4 Replies View Related

Ubuntu :: 11.04 - Mount NTFS Disks At Logon?

Jun 7, 2011

I am triple booting Ubuntu 11.04, Win 7 and Win XP. Linux is on a separate EXT HDD, both Windows 7 and XP are on another NTFS HDD and all the work files etc. on a third NTFS HDD, all are SCSI disks.

When I start Ubuntu how do I make it automatically mount the NTFS disks? At the moment I only see the files on the Linux disc.

View 6 Replies View Related

Software :: ExtN Usb Disks Mount Options?

Jan 15, 2010

When using usb disks, there seems to be a difference in how they are mounted, based on the filesystem type on the disk.Vfat disks are mounted read/write for users, while extN filesystems are not.While I can fix that for individual devices, I would like to find a general solution, so that any usb storage device with any filesystem is mounted read/write for users.

View 1 Replies View Related

Software :: Mount Multiple Disks As One Partition?

Oct 11, 2010

This question has been bugging me for a few days now: How do you mount, say, 3 HDDs to a single partition. From what I've heard, it's possible, but I'd like to know how. I'm running Crunchbang! Linux, based on Ubuntu, in case you're wondering.

View 11 Replies View Related

OpenSUSE Hardware :: How To Put Mount Points For New Extra Disks

Aug 24, 2010

how do i mount extra harddrives...?

- After a hardrive crash which took out my opensuse 11.2, I installed three new harddrives instead of the old ones. I have installed xp. To see of I could triple boot, i thereafter put in linux mint. I did not like that and installed opensuse 11.3 - to ensure it would place itself on the two second harddrives (formatted in ntfs and with some data on) i before installation took those cables off.. And now alas.. there are no mount points.

So I tried yast, and found the partitioner, chose edit tried to put mount points .. however.. nothing seemed to have happened...

View 9 Replies View Related

General :: Optical Disks Won't Mount After Install FC8 / Resolve This?

Mar 19, 2009

Finally got FC8 installed on new machine, and now it won't mount CDs/DVDs - didn't change anything in BIOS, CD/DVD drive is only thing on the IDE controller (HD is SATA) so is it likely a driver issue? FC8 seemed to have correct (or at least working) drivers for LAN, audio, SATA, etc.

View 1 Replies View Related

General :: KDE4 - Mount Flash Disks Etc. On The Desktop Like In KDE3?

Jun 28, 2011

my grandfather uses a linux machine for web browsing, emails etc. So he mostly uses Firefox, Thunderbird and sometimes also Skype and now he has also Jabber account. Currently there is Pclinuxos 2009 installed (the newest one with KDE 3.5). I used a frozen community repository, but this also brings the problem I cannot update the used programs as I am afraid it would attempt to replace the old KDE as well.

I know I can update Mozilla apps by downloading a static rpm and install with KPackage or Konsole and similar with LibreOffice. Not much friendly... I also discussed switching to other WM - but GNOME surely not, maybe Xfce (other ones have other issues).

Is it possible to somehow make KDE4 to behave like KDE3.5 in some ways? At least auto-mounting of flash drives etc.

View 1 Replies View Related

Ubuntu Servers :: Mount 4 Internal Sata Disks Using Hal On Installation?

Jan 20, 2010

i currently try to mount 4 internal sata disks using hal on a server installation?

i did

apt-get install hal and copied a .fdi script to /usr/share/hal/fdi/policy/10osvendor/30-storage-all.fdi

as far is i understand now i need a hal/dbus client
gnome-volumen-manager seems to be one
apt-get install gnome-volume-manager

now im stuck there is no such executable like gnome-volumen-manager thus, how does it work? how can i start it? how do i know if and why the .fdi script works or fails?

since its a server edition and its purpose should be a very minimized server install i dont want a GUI like gnome fully installed

View 1 Replies View Related

General :: How To Clone Disks From Command Line With DD

Feb 20, 2011

Linux (any distro) HowTo: Clone disks from the command line with dd [URL]

View 4 Replies View Related

OpenSUSE Install :: Seamless Mount Of Encrypted Disks And New Session Creation After Each Screen Lock?

Sep 8, 2011

I installed openSUSE 11.4 on HP elitebook 2560p few days ago (using KDE live CD). In general system is working fine, but steel I cannot resolve couple of really annoying issues: 1. I've created encrypted partitions for swap and home during OS installation. As result the system keep asking for passwords for each of encrypted partitions before show login screen. That leads to situation when I have to type 3 passwords during each boot/reboot. I was using the same configuration (swap and home were encrypted) on Ubuntu 11.04 and there both encrypted partitions were mount automatically with no password typing after login to the system. Could you please tell how I can configure the same behavior on openSUSE 11.4 ?

2. I've enabled auto screen lock after 5 mins being inactive. As result when I going back to laptop and to unlock the screen the system shows login screen (default login screen with user selection). But when user and password filled in I click login it creates entire new KDE session. Therefore all staff that was open before screen lock is gone. However old session is still in the system (it appears in output from 'w' command).

View 6 Replies View Related

Hardware :: Solid State Disks - Support For TRIM Command

Jul 26, 2009

With the new Intel G2 SSDs coming out, I'm thinking about upgrading my hard drive. However, there seems to be an extra level of software support needed for SSD drives. From what I have read there can be performance degradation over time and other issues. Does anyone know how well SSD drives are supported in Linux and also if there is support for the TRIM command or if it is planned?

View 10 Replies View Related

Ubuntu :: Command To Determine Active User (Not $USER Variable)

Jul 21, 2010

I'm trying to write a small script that will run as root, but launch a command with sudo as another user. I want that user to be whichever user is active user. That is, the user that is using GDM right now, or the one that is logged into the current console. (by current console, I don't mean the user running the script, but rather the user logged into the console currently displayed on the screen.)How can this be done?

Code:

ACTIVE_USER=`somecommand`
test `id -u pulse` -ge 1000 && sudo -u $ACTIVE_USER $*

What can I use for "somecommand"?

View 5 Replies View Related

Debian Hardware :: Servers Which Contain SATA Disks And SAS Disks?

Feb 25, 2010

I have servers which contain SATA disks and SAS disks. I was testing the speed of writing on these servers and I recognized that SAS 10.000 disks much more slowly than the SATA 7200. What do you think about this slowness? What are the reasons of this slowness?

I am giving the below rates (values) which I took from my test (from my comparisons between SAS 10.000 and SATA 7200);

dd if=/dev/zero of=bigfile.txt bs=1024 count=1000000 when this comment was run in SAS disk server, I took this output(10.000 rpm)

(a new server,2 CPU 8 core and 8 gb ram)

1000000+0 records in
1000000+0 records out
1024000000 bytes (1.0 GB) copied, 12.9662 s, 79.0 MB/s (I have not used this server yet) (hw raid1)

[Code].....

View 3 Replies View Related

Ubuntu Installation :: Which Disks Can Be Main Boot Disks

Mar 31, 2010

I have/had a PC with several hard drives, and a mix of ubuntu and windows on multi boot.The old boot drive died screaming, and I need to start again. (But my data is safe! yay!)

Is there anything special about which drive can be the main drive to start booting from? Or to put it another way, can I install to any of the other 3 and expect it to work, or do I need to switch them around so a different drive is on the connections for the recently dead one?

View 2 Replies View Related

General :: Use This Command It Will Ask The User To Enter Year In Command?

Apr 4, 2011

i want in the website they ask to enter some input.Code:echo -e "<p>Please Enter Year : c</p> "read Yearif i use this command it will ask the user to enter year in command. but what i want is they ask the user to enter year in web browser.

View 14 Replies View Related

Fedora Installation :: Could Not Mount Disks After 15 Installation?

Jul 7, 2011

I`d like to know what happens when with the disks the we include in the installation process of Fedora 15.Obviously, the HD we choose to be the system is entirely formated and reconfigured. But what about the others? What does happen to them? I`m asking this because I have included two brand new disks of 2 TB, one of them with 900.000 files and the other empty, both of them formated with ext4, and completely functional on Fedora 14. However, after the upgrade, in the very first Fedora 15 boot, these disks disapeared from "places", and could not be mounted even via terminal. Opening the Gnome Disk Utility, I found out they had been changed to VLM (instead of ext4) and that they also lost their original lable. I am starting to be concerned because all the data there was important to me.

View 14 Replies View Related

Software :: Mount As A Different User?

Jun 16, 2011

Im mounting a directory, that I need to be accessible from a normal user's desktop.

mount -t cifs -o credentials=/root/.creds //192.168.100.226/mountpoint/ /mnt/mountpoint/

But it is giving /mnt/mountpoint permissions as 770, root:1003

How do I change that group to... 501?

View 4 Replies View Related

Fedora :: Mount Nfs Drive As Other User

Nov 19, 2009

This is not a particular Fedora issue, but I take the chance

How can I mount a network (nfs) drive (on a RHEL4 machine) from my FC11, but as another user.

E.g. I would like to mount the folder /home/userA on the network drive. But my local username is userB. Hence I don't seem to have access to mount the drive.

sudo mount -t nfs eda4:/home/userA /mnt/eda4 gives the message: "mount.nfs: access denied by server while mounting (null)"

I have put a broadcast address in /etc/exports and started an nfs daemon on the remote server.

View 3 Replies View Related

General :: Mount NFS As Remote User?

Mar 16, 2010

I have debian as an NFS client. I would like to mount a remote NFS with a specific user permissions (to specify the remote user account)

View 2 Replies View Related

Ubuntu :: Mount Vfat For A User?

Apr 25, 2011

How can i mount a dev (/dev/sdb1) of type vfat so i as a user can use it at boot. if i change /video to owner david i can use it at boot. But if fstab says mount /dev/sdb1 at /video it becomes owned by root and wont let root change owners. even if fstab says rw,user i still cant mount or unmount /dev/sdb1 at /video

how do i mount a drive that motion can use to store files on?
dhorner@usa.net

View 1 Replies View Related

General :: Can't Mount Ecryptfs As User

Dec 16, 2010

I've setup an ecryptfs folder which I can easily mount/umount as su.

Inspite of adding a `user' option in fstab I'm unable to mount the folder as normal user: mount secret

Code:
Passphrase:
Error attempting to evaluate mount options: [-22] Invalid argument
Check your system logs for details on why this happened.
Try updating your ecryptfs-utils package, and/or

[Code]....

View 2 Replies View Related

General :: CD / DVD Disk Won't Mount When I Am Only A User - Fix This?

Jul 17, 2011

I am truly sorry if this has already been answered, but I don't think the question was asked in EXACTLY THE SAME WAY, maybe?

I installed Slackware 13.37 on my Dell desktop pc (I don't think that the model information is relevant in this case...), and I was able to insert CD's and DVD's which would then be mounted AUTOMATICALLY so that I could then browse the contents etc. I can STILL do this, whether or not I am logged-in as "root" or as a "normal" user...

Now here is my problem : I JUST installed Slackware 13.37 on my Toshiba notebook (a Satellite 210, in this case) TODAY. Now, I can insert the same CD's / DVD's into the drive and have them automount as the "root" user, but when I log in as a simple user, I get errors telling me that they can NOT BE MOUNTED! The messages on quite long and complex, but I can paste an copy into a secondary post if that will help. For my part, what the error message says is a lot of gibberish!

I have examined the user information on both my desktop AND laptop computers to see if there were any major differences, and there are NONE EXCEPT FOR ONE : My "user" account on my desktop is user # 1000, while on my notebook it is 100. The DEFAULT offered in both cases was 1000 when I created the accounts, but I did not see
why the next user in the list should be over 999 higher than the last one listed, so on the notebook I did not accept the default offered, and instead choose to use # 100. Was that wrong? Why does Slackware start the first created user at such a large user number?

I did NOT do anything to allow the automount of optical disks as a user on my desktop pc (at least, not to my knowledge...) that I have not done on the notebook!

View 4 Replies View Related

Slackware :: Possible To Mount As A Normal User?

Jun 28, 2011

I just want to be able to access and modify the files on my usb drive as a normal user. The mount command works perfectly as root but then the files that I end up copying to my home folder can only be modified as root. I only use a window manager and use just bash for file management. I just want to be able to it through the command line.

(using 13.37)

View 14 Replies View Related

Software :: Allow A Group/user To Execute A Command, Where One Of The Parameters Of The Command Is A Group As Well?

May 3, 2010

Is it possible to allow a group/user to execute a command, where one of the parameters of the command is a group as well? example that does not work as intended:

Code:
Cmnd_alias SU=/bin/su -l %group1 This example works sortof, it treats the "%group1" literally. I know I can list out the "/bin/su -l <eachuser>", but as you can imagine that is impractical. In this example, I want people in group2(not shown for brevity sake) to be able to su to someone in group1

View 13 Replies View Related

Fedora :: Mount Ntfs Through Normal User?

Jul 30, 2009

Quote:

Originally Posted by G�del

It gets me within a mile

how i am auto mount the ntfs drives through the normal user with out asking password... I need it and also one thing is i want two drives only auto mount and when i open the other drives it should ask the password?...

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved