Sxetika me setuid
George Daflidis-Kotsis
gdk at demon.net
Sat Apr 3 15:39:00 EEST 1999
On Fri, 2 Apr 1999, Pavlos Parissis wrote:
> Ontos to eixa paravlepsh na doso chmod u+s dioti eixa rwxr-xr-x kai den eixe pai ekei to mialo mou.
> Pia diafora tou rwxr-xr-x me to rwsr-xr-x ? diavasa oti thetei user 'h group gia execution.
> Diladi sxeto x gia user kai group den ftanei gia na mporoun (user+group) na trexoun to file?
To suid bit otan einai on shmainei pws otan ektelesei kapoios to programma
pou to exei on, auto 8a ektelestei san na to trexei o owner tou arxeiou.
Dhladh an esu exeis to executable "chfn", to opoio xrhsimopoieitai gia na
allazei o ka8e user to finger name tou kai shnepws prepei na mporei na
grafei sto /etc/passwd file, auto prepei na einai suid root, dhladh na exei
owner ton root kai to suid bit on, etsi wste otan to ekteleis na eisai
ousiastika o user root kai na mporeis na grafeis se files pou mono o root
exei dikaiwma na grafei.
To suid fainetai an einai on n' oxi an anti gia p.x.:
-rwxr-xr-x ena file einai
-rwsr-xr-x
^
--
-- George Daflidis-Kotsis -- <gdk at demon.net> -- Demon Internet Ltd. --
-- "It's time to stop being selfish and look after ourselves...." --
--
====================================================================
Gia boithia (h na diagrafhte) e-mail sto majordomo at hellug.gr
Ta archives tis listas einai sto http://lists.hellug.gr/archives
prin steilete kapoia erothsh psakte mipos exei hdh apanththei.
Gia opoiodipote problima stilte e-mail ston owner-linux-greek-users at hellug.gr
====================================================================
More information about the Linux-greek-users
mailing list