Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I believe the sudo no password function still requires you to type sudo, it just doesn't ask you for a password. I believe what you want to do is create an entry in fstab with the users option.
Distribution: Linux Mint, Ubuntu Netbook Edition, et al
Posts: 108
Original Poster
Rep:
Quote:
Originally Posted by pljvaldez
I believe the sudo no password function still requires you to type sudo, it just doesn't ask you for a password. I believe what you want to do is create an entry in fstab with the users option.
Distribution: Linux Mint, Ubuntu Netbook Edition, et al
Posts: 108
Original Poster
Rep:
Quote:
Originally Posted by Hangdog42
Or as a complete alternative, you could look at pmount to allow normal users to mount. It doesn't require messing with sudo or fstab.
I've actually thought about this, but haven't looked into seeing if I can get it to work with truecrypt. I'll have to delve into the truecrypt script and see how it mounts the volume (/dev/mapper/truecryptX), then mounts the unencrypted volume sometime. Just haven't had the time yet to get that deep into this. I also need to exam how compatable pmount is with mount. If it is a drop-in replacement, I can just do a simple search/replace (likely for "sudo mount") and repleace it with "pmount" but I'll check into this time permitting.
Does anyone know who we need to talk to to get a few more hours in every day? 26, or even 28 sounds good to me
the reason truecrypt isn't requiring the use of sudo is likelly because the truecrypt "binary" is actually a script which runs sudo mount/sudo umount and a bunch of other libraries/binaries.
I also need to exam how compatable pmount is with mount. If it is a drop-in replacement, I can just do a simple search/replace (likely for "sudo mount") and repleace it with "pmount" but I'll check into this time permitting.
Pmount certainly doesn't replace mount on your system. I think of it more as an extension of mount. At least on my Slackware systems, there has been zero compatibility problems between pmount and mount.
Distribution: Linux Mint, Ubuntu Netbook Edition, et al
Posts: 108
Original Poster
Rep:
Quote:
Originally Posted by Hangdog42
Pmount certainly doesn't replace mount on your system. I think of it more as an extension of mount. At least on my Slackware systems, there has been zero compatibility problems between pmount and mount.
Good to know. Perhaps I shouldn't have used the phrase "drop in replacement" as I did, as I didn't mean that it means mount is uninstalled, but that it is command compatable in that if I were to search/replace a script for mount (replacing with pmount) and it would work, then it would work just the same.
I haven't installed pmount, but would get this answer if I would do that and read the man pages. Just hadn't had the time to experiment on this particular issue (so many irons in the fire)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.