[ask] cara disable flasdisk di ubuntu

Tempat nongkrong. Diskusi bebas di luar topik.
User avatar
revser
Posts: 18
Joined: 27 Apr 2011, 08:34
Location: bandung

[ask] cara disable flasdisk di ubuntu

Postby revser » 04 May 2011, 08:26

mohon pencerahanya para master ubuntu, komputer di kantor saya sedang migrasi ke ubuntu semua tetapi bos menginginkan tidak ada yang bisa menggunakan falshdisk untuk mengcopypaste data, pertanyaannya bagaimana cara mendisable flasdisk tanpa harus mendisable port usb sebab port usb bisa dipakai untuk barcode, mouse dan keyboard
User avatar
thrvers
Posts: 4458
Joined: 01 Jan 2010, 13:28
Location: Jombang, Indonesia
Contact:

Re: [ask] cara disable flasdisk di ubuntu

Postby thrvers » 04 May 2011, 09:30

'
dicoba kak revser: Linux Disable USB Devices (Disable loading of USB Storage Driver)

mencegah modprobe untuk me-load usb-storage:
Tampilkan

Code: Select all

# echo 'install usb-storage : ' >> /etc/modprobe.conf

buang usb-storage module:
Tampilkan

Code: Select all

# mv /lib/modules/$(uname -r)/kernel/drivers/usb/storage/usb-storage.ko /root

/boot/grub/grub.cfg atau menu.lst ditambahi option 'nousb'
Tampilkan

Code: Select all

kernel /vmlinuz-2.6.18-128.1.1.el5 ro root=LABEL=/ console=tty0 console=ttyS1,19200n8 nousb

restart:
Tampilkan

Code: Select all

# reboot

= :wink: =
User avatar
blackshirt
Posts: 2336
Joined: 02 Jan 2010, 17:00
Location: Solo dan Kebumen
Contact:

Re: [ask] cara disable flasdisk di ubuntu

Postby blackshirt » 04 May 2011, 09:47

hmm, menarik juga..mungkin bisa dengan mendisable driver usb-storage :d
User avatar
revser
Posts: 18
Joined: 27 Apr 2011, 08:34
Location: bandung

Re: [ask] cara disable flasdisk di ubuntu

Postby revser » 04 May 2011, 12:12

wah trima kasih master thrvers, aku coba dulu resepnya
User avatar
bijep
Posts: 569
Joined: 11 Mar 2010, 11:38
Location: Jakarta, Indonesia
Contact:

Re: [ask] cara disable flasdisk di ubuntu

Postby bijep » 04 May 2011, 15:16

klo ane pake pysdm gan..
jd hardisk sma flasdisk sesuka agan mau di mount atau enggak..
kalo salah mohon di koreksi
m

Return to “Pembicaraan Bebas”

Who is online

Users browsing this forum: No registered users and 44 guests