How can i call a function which is usually used by root?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I want write a c program.And a common user(not in root group) will run this program.
In this program,I call fread(/dev/sdc...) and fwrite(/dev/sdc),but this call will return "permission no allow".If I use the root user,will be ok.
How to change to the authority to root's?

I know the  root's password.


--
fedora-selinux-list mailing list
fedora-selinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-selinux-list

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux