Code University

      "Where tuition is free!"

News | Images | Contact     
  • Home
  • Coding KC
  • Scripts
  • Software
  • Templates
  • Tutorials
  • About
 

Coding Knowledge Center

Linux


Page Contents
[X] CLOSE

Administration

  • Administration (disable console mouse cursor)
  • Administration (group accounts - commands)
  • Administration (group accounts - files)
  • Administration (set timezone)
  • Administration (user accounts - commands)
  • Administration (user accounts - files)

X-Windows

  • X-Windows (Restart)
Toggle Page Contents
Administration (disable console mouse cursor)Copy  To New Window  Top ^
> chkconfig --levels 123456 gpm off
This command will turn off the "gpm" service in all runlevels, in affect turning off the mouse cursor. I did this on my laptop because the mouse pad had a mind of its own and was going all over the screen.



Administration (group accounts - commands)Copy  To New Window  Top ^
1) groupadd [group_name] 2) groupmod [group_name] 3) groupdel [group_name] 4) gpasswd [group_name] 5) grpconv 6) grpunconv 7) grpck
1) Add group. 2) Modify group. 3) Delete group. 4) Change group's password. 5) Converts regular group passwords to shadow passwords. 6) Converts shadow group passwords back to regular group passwords. 7) Checks integrity of /etc/group and /etc/gshadow files.



Administration (group accounts - files)Copy  To New Window  Top ^
/etc/group - Group file /etc/gshadow - Shadow group file
Files related to group accounts.



Administration (set timezone)Copy  To New Window  Top ^
> ls -l /etc/localtime lrwxrwxrwx 1 root root 36 Oct 31 2007 /etc/localtime -> /usr/share/zoneinfo/America/New_York > rm /etc/localtime > ln -s /usr/share/zoneinfo/US/eastern localtime
Look to see where the current localtime is pointing to. Remove it and then create a new link to the correct timezone file.



Administration (user accounts - commands)Copy  To New Window  Top ^
1) useradd -d /home/[user_name] -m /etc/skel [user_name] 2) usermod [user_name] 3) userdel [user_name] 4) passwd [user_name] 5) chage [user_name] 6) pwconv 7) pwunconv 8) pwck
Account management related commands. 1) Add a user, creating his home directory and using the specified skel template. 2) Modify existing user account. 3) Delete user account. 4) Change user's password. 5) Set user account expiration policy. 6) Converts regular passwords to shadow passwords. 7) Converts shadow passwords back to regular passwords. 8) Checks integrity of /etc/passwd and /etc/shadow files.



Administration (user accounts - files)Copy  To New Window  Top ^
/etc/passwd - Password file /etc/shadow - Shadow password file /etc/skel - Skeleton home directory templates /etc/profile, /etc/profile.d - global, login settings /etc/bashrc, /etc/bash.bashrc - global, non-login settings ~/.bash_login, ~/.profile, ~/.bash_profile - user, login settings ~/.bash_logout - user, logout settings ~/.bashrc - user, non-login settings ~/.inputrc - user, keyboard settings
Various user account related files



X-Windows (Restart)Copy  To New Window  Top ^
Ctrl-Alt-Backspace
Kill and restart X-Windows
Technologies
  • Introduction
  • Awk
  • Bash
  • Cron
  • CSH
  • CSS
  • CVS
  • FTP
  • FTPS
  • HTML
  • JavaScript
  • KSH
  • Linux
  • Linux (Debian)
  • Linux (LPIC 101-102)
  • Linux/Unix
  • Mac OS X
  • MySQL
  • Oracle
  • Perl
  • PGP
  • PHP
  • Sed
  • SQLite
  • SSH/SCP/SFTP
  • Telnet
  • UNIX
  • Windows
Resources
  • CodeIgniter - MVC Framework
  • HowtoForge - Linux Tutorials
  • Linux Today - Linux News
  • Lxer - Linux News Feed
  • Monsterb - Linux, Podcasting
  • MySQL - Databasing
  • Perl - Programming
  • PHP - Programming
  • Systhread - Admin & Programming
  • W3Schools - Web Tutorials
About

Code University contains a wealth of technical information aimed at the computer sciences.


 
Home | Coding KC | Scripts | Software | Templates | Tutorials | About
Top ^
 
© 2007-2012 Code University| Disclaimer
Website template by Arcsin