MySQL 用户管理命令速记
创建用户并且赋予权限和一些选项[@more@]mysql> create user 'test1'@'vh1.com' identified by 'pass';mysql> grant all on db.* to 'test1'@'vh1.com' with max_user_connections 30;
Vsftp中用户Chroot的配置
chroot_local_user指令是vsftp服务器控制Linux系统本地用户是否能够切换到用户home以外的目录,它和chroot_list_enable这个指令一起工作,看下面的说明。[@more@]如果设置为 chroot_local_user=YES (这行很重要) chroot_list_enable=YES(这行可以没有, 也可以有) chroot_list_file=/etc/vsftpd.chroot_list 那么, 凡是加在文件vsftpd.chroot_list中的用户都是不受限止的用户 即, 可以浏览其主目录的上级目录. 所以, 如果不希望某用户能够浏览其主目录上级目录中的内容,可以如上设置, 然后在 文件vsftpd.chroo
HAL daemon doesn't work
HAL daemon doesn't work after I compile the new linux kernel version 2.6.25.4 on my FC8 box.Without haldaemon I must mount any portal media or disk (like USB disk, CD, MMC) manually. I hate to do it. I like my FC8 box shows the portal media and let me access it automatically.I google the haldaemon, here is the key messages and hints.HAL requires the Linux kernel 2.6, D-BUS, glib (this dep will be dropped soon) and a recent version of linux-hotplug and udev. Okay. the key facts are db-bus, linux-
A supernatrual and amazing travel on FC8
I have allocated 30G disk spcace at the new installation of FC8. however, I want to setup oracle database on it and create a several large size of datafiles. I need a large / file system because the disk has 4 main partition, ( 1 NTFS partition, 1 windows extention partition, 1 ext3 partition, 1 swap partition) and with about 40G free space disk that not belong any partition.Neither I think I re-create the / partition nor format the / filesystem or waste 2 hour to install a lots packages of FC8.