欢迎来到天天文库
浏览记录
ID:6306728
大小:227.00 KB
页数:12页
时间:2018-01-09
《主流服务器设置比较》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、主流服务器UNIX操作系统用户帐号的设置账号设置HP-UXFreeBSDSolaris(SPARC)密码文件/etc/passwd/tcb/files/auth/r/root/etc/passwd/etc/master.passwd/etc/passwd /etc/shadow组文件/etc/group/etc/logingroup/etc/group/etc/group允许最大用户ID2147483647655352147483647允许远程登录的用户文件设置/etc/securetty{console}/etc/ttys {secure}/etc/default/login{
2、CONSOLE=/dev/console}Nobody的UID-26553460001&65534(nobody4)Nobody的GID-2(nogroup)6553460002&65534(nogroup)找回ROOT密码>bootInteractwithIPL?YISL>hpux-iSpasswdrootokboot-spasswdrootbootcdrom-smkdir/tmp/amount/dev/c0t0d0s0/tmp/avi/tmp/a/etc/shadow创建新用户useraddadduserUseradd删除用户userdelrmuserUserdel列出用户l
3、ogins Logins修改用户账号usermod Usermod账号设置AIXLinux(RedHat)密码文件/etc/passwd/etc/security/passwd/etc/passwd/etc/shadow组文件/etc/group/etc/security/group/etc/group允许最大用户ID429496729565535允许远程登录的用户文件设置/etc/security/user{rlogin=true}/etc/securetty{ttyp1}Nobody的UID429496729499Nobody的GID429496729499找回ROOT密码b
4、ootfromCD/TapeInstallation/MaintenanceStartLimitedShellgetrootfshdisk0vi/etc/security/passwd{lilo}control-xlinuxSpasswdroot{grub}ckernel vmlinuz-2.4.9-13 singlero root=/dev/hda8initrd/initrd-2.4.9-13.imgbootpasswdroot创建新用户mkuserUseradd删除用户rmuserUserdel列出用户lsuser-fALL 修改用户账号chuser-ausermod主流服务
5、器UNIX操作系统目录结构对比DirectoryMappings AIXFreeBSDHP-UXRootfilesystem/ {/dev/hd4}/ {/dev/ad0s1a}/ {/dev/vg00/lvol1}HomeDirectory/home {/dev/hd1} /home {/dev/vg00/lvol4} /tmp {/dev/hd3} /tmp {/dev/vg00/lvol6} /usr {/dev/hd2}/usr {/dev/ad0s1f}/usr {/dev/vg00/lvol7} /var {/dev/hd9var}/va
6、r {/dev/ad0s1e}/var {/dev/vg00/lvol8}Sampleconfigurationfiles- /usr/newconfigDirectoryMappings Linux(RedHat)SolarisTru64Rootfilesystem/ {/dev/sda1}/ {/dev/vx/dsk/rootvol}/ {/dev/rz0a}HomeDirectory /export/home {dev/vx/dsk/home} /tmp {dev/vx/dsk/swapvol} /usr /usr {/dev/rz0g} /var
7、 Sampleconfigurationfiles 主流服务器UNIX操作系统常用命令GeneralCommandsAIXFreeBSDHP-UXLinux(RedHat)SolarisTru64UniquehostIDhostid uname-ihostidhostidhostidAdministratorsmit samlinuxconfadmintool PerformancemonitortopmonitortoptopglanceToptoptopSystemact
此文档下载收益归作者所有