LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-29-2004, 06:45 AM   #1
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
patched mount source. works but i must be root to mount !!!???


hey guys.

Technical stuff...
Fedora Core 1
kernel 2.4.24 patched with crypto-loop
mount / umount / losetup / util-linux origonal versions = 2.11y but upgraded to source version 2.12 and patched with crypto-loop
also installed pam_mount (rpm)

basically, ive installed a new kernel, and patched it with encrypted loopbaclk support, and patched the disk ustilities to be aware of kernel encryption.

however now, nomattter of the content of /ect/fstab i cannot use the mount commnd unless i am suer user or root. there is no access denial errors, all access rights and ownership is setup correctly, mount just informs me that only root or su can use the program.

is there a config file somewhere that allows non-root users to use the mount command ?

apart from this, the pathes are working perfectly, (my home directory is encrypted with 256 bit aes encryption, all runnin smoothly.

thankyou.
 
Old 01-29-2004, 06:54 AM   #2
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
i alsays thought nonroots could use the mount comand just as long as they could use it (you can try moving it into /bin just to see if that changes anyhitng as /bin should be open to all usurs
 
Old 01-29-2004, 06:59 AM   #3
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Original Poster
Rep: Reputation: 47
i can execute the mount ccommand, mount is accessable to me.
like i said, all file access rights and ownerships are set correctly.

however upon execution on the mount program, an output is given "you must be roor to mount" and then the program terminates.

i need to know why the program is detecting that im not rooot ant terminating, even though fstab, and other permissions say non users have the rights to mount.

is there a config file i can change ?
or did the patch add this unwanted function ?
if so, where abouts in the source tree to i need to re-program ?

thankyou.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to give not-root user ability to mount devices to any mount point??? jdupre Linux - General 8 02-04-2012 10:03 AM
problems with smbfs mount-point in /etc/fstab - "mount -a" works, but not at boottime MarkSide Linux - Software 4 11-20-2005 03:30 PM
Auto mount. non root mount canyon289 Linux - Hardware 1 02-21-2005 10:05 PM
mount works, but no files shown bartgymnast Linux - Software 1 03-06-2003 07:00 AM
vfat mount - all files are 'root' owned, but even root can't -WX d33pdream Linux - General 5 02-28-2003 02:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration