,

Linux Convert ext3 to ext4 File system

Some time ago ext4 was released and available for Linux kernel. ext4 provides some additional benefits and perforce over ext3 file system. You can easily convert ext3 to ext4 file system. The next release of Fedora, 11, will default to the ext4 file system unless serious regressions are seen. In this quick tutorial you will learn about converting ext3 to ext4 file system. ext4 Filesystem Features...
Continue reading Linux Convert ext3 to ext4 File system
,

Search for all account without password and lock them

For security, reason it is necessary to disable all account(s) with no password and lock them down. Solaris, Linux and FreeBSD provide account locking (unlocking) facility. Lock Linux user account with the following command: passwd -l {user-name} Solaris UNIX display password status passwd -u {user-name} -l : This option disables an account by changing the password to a value, which matches no...
Continue reading Search for all account without password and lock them
,

A script to add user in Linux

# Path to filespfile=/etc/passwdgfile=/etc/groupsfile=/etc/shells# Paths to binariesuseradd=/usr/sbin/useraddchfn=/usr/bin/chfnpasswd=/usr/bin/passwdchmod=/bin/chmod# Defaultsdefhome=/homedefshell=/bin/bashdefchmod=711 # home dir permissions - may be preferable to use 701, however.defgroup=usersAGID="audio cdrom floppy plugdev video" # additional groups for desktop users# Determine what the minimum...
Continue reading A script to add user in Linux