Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1804407
  • 博文数量: 293
  • 博客积分: 10127
  • 博客等级: 上将
  • 技术积分: 3029
  • 用 户 组: 普通用户
  • 注册时间: 2010-08-12 19:05
文章分类

全部博文(293)

文章存档

2011年(11)

2010年(282)

我的朋友

分类:

2010-09-16 01:55:23

Directory Mappings  AIX FreeBSD HP-UX LINUX(RedHat) SOLARIS Tru64
Root filesystem /              {/dev/hd4} /       {/dev/ad0s1a} /          {/dev/vg00/lvol1} /                  {/dev/sda1} /  {/dev/vx/dsk/rootvol} /     {/dev/rz0a}
Home Directory /home          {/dev/hd1}   /home      {/dev/vg00/lvol4}   /export/home
       /dev/vx/dsk/home}
 
  /tmp           {/dev/hd3}   /tmp       {/dev/vg00/lvol6}   /tmp 
    /dev/vx/dsk/swapvol}
 
  /usr           {/dev/hd2} /usr    {/dev/ad0s1f} /usr       {/dev/vg00/lvol7}   /usr  /usr    {/dev/rz0g}
  /var        {/dev/hd9var} /var    {/dev/ad0s1e} /var       {/dev/vg00/lvol8}   /var  
Sample configuration files -   /usr/newconfig      
User Accounts AIX FreeBSD HP-UX LINUX(RedHat) Solaris Tru64
Password files /etc/passwd
/etc/security/passwd
/etc/passwd
/etc/master.passwd
/etc/passwd
/tcb/files/auth/r/root
/etc/passwd
/etc/shadow
/etc/passwd 
/etc/shadow
/etc/passwd 
Groups file /etc/group
/etc/security/group
/etc/group /etc/group
/etc/logingroup
/etc/group /etc/group /etc/group
Maximum # of user ID 4294967295 65535 2147483647 65535 2147483647 65535
Allow/Deny remote login /etc/security/user
{rlogin=true}
/etc/ttys 
{secure}
/etc/securetty
{console}
/etc/securetty
{ttyp1}
/etc/default/login
{CONSOLE=/dev/console}
/etc/securettys
{ttyp1}
User nobody's id # 4294967294 65534 -2 99 60001 & 65534(nobody4) 65534
Group nobody's id # 4294967294 65534 -2(nogroup) 99 60002 & 65534(nogroup) 65534
Recover root password boot from CD/Tape
Installation/Maintenance
Start Limited Shell
getrootfs hdisk0
vi /etc/security/passwd
ok boot -s
passwd root
>boot
Interact with IPL ? Y
ISL>hpux -iS
passwd root
{lilo}
control-x
linux S
passwd root

{grub}
c
kernel vmlinuz-2.4.9-13 single   ro root=/dev/hda8
initrd /initrd-2.4.9-13.img
boot
passwd root
boot cdrom -s
mkdir /tmp/a
mount /dev/c0t0d0s0 /tmp/a
vi /tmp/a/etc/shadow
press the HALT Button or (Control-P)
>>>boot -fl s
lsmbstartup
/sbin/bcheckrc
passwd root
Create new user mkuser adduser useradd useradd useradd useradd
Delete user rmuser rmuser userdel userdel userdel userdel
List users lsuser -f ALL   logins   logins  
Modify user account chuser -a   usermod usermod usermod usermod
General Commands AIX FreeBSD HP-UX LINUX(RedHat) Solaris Tru64
Unique host ID hostid   uname -i hostid hostid hostid
Administrator smit   sam linuxconf admintool sysman
Performance monitor top
monitor
top top
glance
top top top
System activity reporter sar sa sar sar sar /usr/opt/svr4/bin/sar
Virtual Memory statistics vmstat vmstat vmstat vmstat vmstat vmstat
I/O statistics iostat iostat iostat iostat iostat iostat
Error logs alog -o -t boot
errpt
dmesg dmesg dmesg  dmesg uerf -R -o full
Physical RAM 1TB   4TB 64 GB {>2.3.24} 16TB 4TB
Shared Memory 2.75GB   8TB sysctl kernel.shmmax    
Process Data Space 2GB   4GB 900 MB    
Swap device /dev/hd6 /dev/ad0s1b /dev/vg00/lvol2 /dev/sda2 /dev/vx/dsk/swapvol /dev/rz0b
Swap file type /etc/swapspaces swap swap partition type 82  swap raw
Display swap size lsps -a swapinfo swapinfo -a free swap -l swapon -s
Activate Swap swapon -a swapon -a swapon -a swapon -a swap -a swapon -a
阅读(2586) | 评论(1) | 转发(1) |
给主人留下些什么吧!~~

chinaunix网友2010-09-16 15:23:38

很好的, 收藏了 推荐一个博客,提供很多免费软件编程电子书下载: http://free-ebooks.appspot.com