[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Granting user access rights to "cardctl eject"

Posted on 2006-06-07
1
Medium Priority
?
268 Views
Last Modified: 2010-04-20
Some card types cannot be safely hot ejected.  It is  recommended that always use ``cardctl eject'' before ejecting.  I would like to grant users access rights to execute "cardctl eject" instead of having to sudo the command or granting  privilege rights to users.   /sbin/cardctl has been setuid root(-rwsr-xr-x  1 root root 19133 Feb 22  2005 /sbin/cardctl), and users have been added to 'disk' group.  It still got error message "ioctl(): Operation not permitted".  So I guess I'm missing something.  But I really have no clue!

Here are system infomation

OS: FC 3 2.6.12-1.1381
hal-0.4.7-1
pcmcia-cs-3.2.7-2.2
hotplug-2004_04_01-8.1
udev-039-10.FC3.8

Any help on this would be greatly appreciated.

Thanks

Jerry
0
Comment
Question by:Jerryleo
1 Comment
 
LVL 1

Accepted Solution

by:
ico2 earned 200 total points
ID: 16862580
chmod +s /sbin/cardctl might work, or try modifying /etc/sudoers so that the users have rights to sudo only for the purpose of cardctl, usually the syntax for /etc/sudoers is explained in the file, otherwise "man sudoers"
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses
Course of the Month19 days, 1 hour left to enroll

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question