skill -STOP -u Username. STOP/HALT a user
skill -CONT -u Username RESUME already halted user
skill -KILL -u Username KILL and LOGOUT user
skill -KILL -v /dev/pts/* KILL and LOGOUT all users
June 23, 2010
Linux command to kill a user
June 11, 2010
Copy files from dir1 to dir2 without replacing the existing files on dir2
Copy files from dir1 to dir2 without replacing the existing files on dir2
[root@twenty ]# ls
dir1 dir2
[root@twenty ]# ls dir1
a b c d e f
[root@twenty ]# ls dir2
a b c
August 31, 2007
SE Linux
SELINUX (Security-Enhanced Linux)
SELinux History
SELinux was originally a development project from the National Security Agency (NSA), Secure Computing corporation (SCC) and others. It is an implementation of SCC and others. It is an implementation of Flask Operating System security architecture. As a step in its evolution, SELinux was integrated into Linux kernel using the Linux Security Modules (LSM) framework. SELinux motivated the creation of LSM, at the suggestion of Linus Torvalds, who wanted a modular approach to security instead of just accepting SELinux into kernel. SELinux in now a standard component of RHEL and non-commercial distros like Fedora, Debian GNU/Linux, Gentoo Linux etc.
Introduction
In the world of Linux, SELinux is the new buzzword. Most OS use access controls to limit the access a user/process has on other parts of the system such as files, devices, sockets, ports and other processes (called objects in SELinux). The two main types are
