Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Open the floppy or USB device without root user

    Hi ALL,

    Im facing the problem such that logged in linux flavuour as Non-root users.
    Using the program utility im opening the flopy device or USB key device such that /dev/sd0 using the raw device open call.Im not able to open the device.if i put the sudo and then i tried its working.
    please suggest the solution to fix the Issue.

    Thanks,
    Othi




  2. #2
    Join Date
    Feb 2012
    Location
    UTC -8 'tween the mtns, N of the Columbia R
    Posts
    202
    Thanks
    4
    Thanked 16 Times in 15 Posts
    Rep Power
    2
    Try reaching them via /media or /mnt while they're plugged into mobo using your file manager

  3. #3
    Join Date
    Jul 2012
    Posts
    60
    Thanks
    0
    Thanked 10 Times in 9 Posts
    Rep Power
    1
    To do it without actually getting into root mode, you need some type of advanced group permission system. The infamously hated PolicyKit does this.
    However, in the end, the job is always done via root--directly or indirectly.

    I won't walk you through a permission layer setup, but generally it's done something like this as root:
    mount /dev/sd0 /mnt

    This mounts the device as /mnt, where you can read the files on the device.

 

 

Similar Threads

  1. Samba 3 and Winbind (local user + domain user)
    By ma00 in forum General Server
    Replies: 0
    Last Post: 05-09-2012, 10:02 AM
  2. Replies: 0
    Last Post: 04-03-2012, 09:20 AM
  3. Replies: 0
    Last Post: 01-25-2012, 08:53 AM
  4. Replies: 0
    Last Post: 12-17-2011, 03:30 AM
  5. sshd: root@notty
    By Rob in forum General Server
    Replies: 1
    Last Post: 10-31-2011, 07:46 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
           








Check out Linux Central for Linux software and other goodies!





» Stats

Members: 3,571
Threads: 3,920
Posts: 9,441
Top Poster: Fred (1,486)
Welcome to our newest member, jcfwt

» Links



Powered by vBadvanced CMPS