Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Ubuntu User (http://www.linux-archive.org/ubuntu-user/)
-   -   Problem in mounting disks (http://www.linux-archive.org/ubuntu-user/282682-problem-mounting-disks.html)

arshad 11-18-2009 07:32 PM

Problem in mounting disks
 
hi all,

i have two problems with mounting disks:




i have 4 users in my system, and me (sudoer) have access to the ntfs drives. but other users don't have access to them unless i already have clicked them.
USB drives are not accessible to users except the original user who plugged it in. it is not accessible even for the sudoer.



helps would be greatly appreciated.

thank you very much



PS:



PHP Code:


sudo fdisk -l


Disk 
/dev/sda160.0 GB160041885696 bytes
255 heads
63 sectors/track19457 cylinders
Units 
cylinders of 16065 512 8225280 bytes
Disk identifier
0x03550354

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        6375    51200000    7  HPFS/NTFS
/dev/sda2            6375       11474    40960000    7  HPFS/NTFS
/dev/sda3           11475       11499      200812+  82  Linux swap Solaris
/dev/sda4           11500       19457    63922635    5  Extended
/dev/sda5           11500       19170    61617276   83  Linux
/dev/sda6           19437       19457      168651   82  Linux swap Solaris
/dev/sda7           19171       19436     2136613+  82  Linux swap Solaris

Partition table entries are not in disk order

Disk 
/dev/sdb4022 MB4022337536 bytes
255 heads
63 sectors/track489 cylinders
Units 
cylinders of 16065 512 8225280 bytes
Disk identifier
0x83f5fd0a

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1         460     3694918+   b  W95 FAT32
/dev/sdb2             461         489      232942+   5  Extended
/dev/sdb5************ 461******** 489***** 232911** 82* Linux swap Solaris 

fstab:
PHP Code:

# /etc/fstab: static file system information.
#
# Use 'vol_id --uuid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
# / was on /dev/sda5 during installation
UUID=becef1b2-d864-4764-828f-6381e90fd95d /               ext4    relatime,errors=remount-ro 0       1
# swap was on /dev/sda3 during installation
UUID=bd49a241-1650-4369-82ae-726b389bc10c none            swap    sw              0       0
# swap was on /dev/sda6 during installation
UUID=2c7425b6-d64e-d288-ae82-bf2580cd63c4 none            swap    sw              0       0
/dev/scd0       /media/cdrom0   udf,iso9660 user,noauto,exec,utf8 0       0
/dev/fd0******* /media/floppy0* auto*** rw,user,noauto,exec,utf8 0****** 0 



--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

bqz69 11-18-2009 07:46 PM

Problem in mounting disks
 
> i have two problems with mounting disks:
>
>
> 1. i have 4 users in my system, and me (sudoer) have access to the
> ntfs drives. but other users don't have access to them unless i
> already have clicked them.
> 2. USB drives are not accessible to users except the original user
> who plugged it in. it is not accessible even for the sudoer.

Edit the /etc/sudoers file, and add to the end:

username ALL=(ALL) ALL

One line for each user.

Then save the file.

See man sudoers


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Roger 11-18-2009 07:50 PM

Problem in mounting disks
 
On Wed, Nov 18, 2009 at 3:46 PM, bqz69 <bqz69@telia.com> wrote:
>> i have two problems with mounting disks:
>>
>>
>> * * *1. i have 4 users in my system, and me (sudoer) have access to the
>> * * * * ntfs drives. but other users don't have access to them unless i
>> * * * * already have clicked them.
>> * * *2. USB drives are not accessible to users except the original user
>> * * * * who plugged it in. it is not accessible even for the sudoer.
>
> Edit the /etc/sudoers file, and add to the end:
>
> username * * * * * * * *ALL=(ALL) ALL
>
> One line for each user.
>
> Then save the file.
>
> See man sudoers
>
>
> --
> ubuntu-users mailing list
> ubuntu-users@lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>

Probably not a good idea.

-r

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users


All times are GMT. The time now is 07:35 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.