Posted on : 10-05-2011 | By : admin | In : Tips
0
If you administrating a small or large workstations running with Linux Desktops and want to disable the USB ports for security so that no one can copy the data via pen drive, try the following steps to disable the USB port(s). Edit the grub.conf and add the following lines(you need to login as root).
- # vi /boot/grub/grub.conf
Then add the following lines on the right kernel version kernel /vmlinuz<your-kernel-version> rhgb quiet nousb Save and exit the file and reboot the system to disable the USB ports and the boot time.
Posted on : 09-05-2011 | By : admin | In : Tips
0
Archived; click post to view.
Excerpt: What is ACL? Due to the limitations of permission/ownership setup with the files/folder in Linux (for example we cannot setup different permission for different users to access the same file). To overcome this problem ACL (Access Control Lists) are introduced. We can use the setfacl & getfacl command to setup the acl for folder and files. Setting up ACL’s using setfacl In the below example, i have created two separate users called user1 and user2 and i am going to setup full access and partial access to the /root directory for this two users (which is the home directory for root). The first….
Posted on : 06-05-2011 | By : admin | In : Tips
0
Archived; click post to view.
Excerpt: Linux can be either shutdown/reboot in hard and soft ways. The hard way is always dangerous as it may corrupt the file system always a soft or clean shutdown/reboot is advisable. Soft-way of Shutdown / Rebooting To shutdown the computer immediately (don’t power down). Note that in UNIX systems this kind of shutdown means to go to ” single−user mode”. Single−user mode is a mode where only the administrator (root) has access to the computer, this mode is designed for maintenance and is often used for repairs. For example this would take you to single user mode # shutdown now To Shutdown (−h =….