Commands and files for User Management

Files

/etc/group

/etc/passwd         User account information.

/etc/shadow



/etc/bashrc

/etc/profile         bash system wide and per user init files.

$HOME/.bashrc

$HOME/.bash_profile



/etc/csh.cshrc

/etc/csh.login   tcsh system wide and per user init files.

$HOME/.cshrc

$HOME/.tcshrc

$HOME/.login



/etc/skel         template files for new users.

/etc/default     default for certain commands.



/etc/redhat-release

/etc/slackware-version     Redhat/Slackware version info (Linux kernel version with “uname –a”)





Commands

adduser            script to create an new user interactively (slackware) or link to useradd (Redhat).



useradd, userdel, usermod         create, delete or modify new user or update default new user information..




newusers          update and create new users (batch mode).



groupadd, groupdel, groupmod                 add, delete or modify group




chage. ch fn, chsh             modify account policy (password length, expire data etc.) or finger information (full name, phone number etc.) change default login shell.



linux init=/bin/sh rw           gain root access during boot prompt without password, can be used to fix some problems.



mount –w -n –o remount /           reset mount or remount again.

No comments:

Post a Comment

Thank You for your Comments, We will read and response you soon...