Agus Budy Wuysang wrote:
mazida wrote:

Pak Ade, saya sudah coba (tdk pakai smb4k atau linneighborhood) dan berhasil. Tapi kalau saya mount di level user tidak berhasil. Nah, kalau
hanya untuk mount file sharing dari Windows File Server memerlukan akses
root kan merepotkan. Para pakar, ada cara lain nggak dimana kalau user

#chmod +s /usr/bin/smbmnt


Trus user dengan mudahnya mengambil alih sistem:

$ smbmnt /etc -s //etc/palsu -u sistem -p sekarang-punyaku
$ smbmnt /sbin -s //my/sbin -u sistem -p sekarang-punyaku

Restriksi (internal) dari program smbmnt yg membuat command diatas tdk berjalan.

Dari man smbmnt:

---
smbmnt is a helper application used by the smbmount program to do the actual mounting of SMB shares.smbmnt can be installed setuid root if
       you want normal users to be able to mount their SMB shares.

A setuid smbmnt will only allow mounts on directories owned by the us-
       er, and that the user has write permission on.
---

Seharusnya setgid tdk diperlukan, jd cukup u+s saja. Tks koreksinya.



--

--beast


--
Unsubscribe: kirim email kosong ke [EMAIL PROTECTED]
Arsip, FAQ, dan info milis di http://linux.or.id/milis
Tidak bisa posting? Baca:
http://linux.or.id/problemmilis
http://linux.or.id/tatatertibmilis

Kirim email ke