[fedora-my] suid and guid

Izhar Firdaus kagesenshi.87 at gmail.com
Tue Mar 16 05:15:26 UTC 2010


On Tue, Mar 16, 2010 at 1:02 PM, Umarzuki Mochlis <umarzuki at gmail.com> wrote:
> i have 2 user (user1 and user2)
> on user1 i copied firefox into its home dir
> $ cp /usr/bin firefox .

/usr/bin/firefox is a shellscript

"Due to the increased likelihood of security flaws, many operating
systems ignore the setuid attribute when applied to executable shell
scripts." http://en.wikipedia.org/wiki/Setuid

try something else .. if doesnt work, probably its SELinux (if u have
it enabled)

>
> then i set suid to firefox as user1
> $ chmod u+s firefox
>
> but i get permision denied when i ran firefox as user2
>
> is this feature disabled on f12?
>
> or maybe my method/understanding of it is off?
>
> --
> Regards,
>
> Umarzuki Mochlis
> http://debmal.my
> _______________________________________________
> malaysian-users mailing list
> malaysian-users at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/malaysian-users
>



-- 
Mohd Izhar Firdaus Bin Ismail / KageSenshi
Inigo Consulting (FOSS/Plone Development, Training & Services)
http://www.inigo-tech.com
Fedora Malaysia Contributor & Ambassador
http://blog.kagesenshi.org
92C2 B295 B40B B3DC 6866  5011 5BD2 584A 8A5D 7331


More information about the malaysian-users mailing list