Find the answer to your Linux question:
Results 1 to 3 of 3
Hi all. I recently figured out how to get my sudoers file working so that i can use truecrypt. I can mount my encrypted volumes just fine no problem. However ...
  1. #1
    Just Joined!
    Join Date
    Dec 2007
    Posts
    52

    No write access with sudo

    Hi all. I recently figured out how to get my sudoers file working so that i can use truecrypt. I can mount my encrypted volumes just fine no problem. However i cant write anything, its only read access. This is my sudoers file conf thus far.


    Code:
    User_Alias MAINTAINERS = user
    Cmnd_Alias DEB = /usr/bin/truecrypt, /usr/bin/truecrypt --core-service
    root ALL=(ALL) ALL
    MAINTAINERS ALL = DEB
    When i try to copy something to the volume i get this error

    Error "Access denied" while copying "/home/user...op/list.txt".
    What do i need to add to my sudoers file so that i have write access? Thanx in advance!

  2. #2
    Just Joined!
    Join Date
    Sep 2009
    Posts
    1
    i was of the opinion that sudoers file gives a normal user the privilege to run commands that only the super user can .

    for example to run truecrypt as user dellthinker
    you type sudo truecrypt

    i do not think sudoers will assign you permissions for super user to that particular file or directories.

  3. #3
    Linux Guru rokytnji's Avatar
    Join Date
    Jul 2008
    Location
    Pecos, Texas
    Posts
    2,942
    Under Root line in Sudoers file type in

    Code:
    <your user name> ALL = NOPASSWD : ALL
    Just realized you are trying to write to encrypted file system. I don't think my advice will work for that.
    Linux Registered User # 475019
    Lead,Follow, or get the heck out of the way
    AntiX,Puppy,Ubuntu,Windows 7=(cuz of scooters)
    Open CourseWare for Linux Geeks

Posting Permissions

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