欢迎来到天天文库
浏览记录
ID:51207909
大小:227.00 KB
页数:12页
时间:2020-03-09
《主流服务器UNI操作系统用户帐号的设置.doc》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
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{cons
2、ole}/etc/ttys {secure}/etc/default/login{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/c0t0d0
3、s0/tmp/avi/tmp/a/etc/shadow创建新用户useraddadduserUseradd删除用户userdelrmuserUserdel列出用户logins Logins修改用户账号usermod Usermod账号设置AIXLinux(RedHat)密码文件/etc/passwd/etc/security/passwd/etc/passwd/etc/shadow组文件/etc/group/etc/security/group/etc/group允许最大用户ID4294967295
4、65535允许远程登录的用户文件设置/etc/security/user{rlogin=true}/etc/securetty{ttyp1}Nobody的UID429496729499Nobody的GID429496729499找回ROOT密码bootfromCD/TapeInstallation/MaintenanceStartLimitedShellgetrootfshdisk0vi/etc/security/passwd{lilo}control-xlinuxSpasswdroot{grub}
5、ckernel vmlinuz-2.4.9-13 singlero root=/dev/hda8initrd/initrd-2.4.9-13.imgbootpasswdroot创建新用户mkuserUseradd删除用户rmuserUserdel列出用户lsuser-fALL 修改用户账号chuser-ausermod主流服务器UNIX操作系统目录结构对比DirectoryMappings AIXFreeBSDHP-UXRootfilesystem/ {/dev/hd4}/ {/dev/
6、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}/var {/dev/ad0s1e}/var {/dev/vg00/lvol8}Samplecon
7、figurationfiles- /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 Sampl
8、econfigurationfiles 主流服务器UNIX操作系统常用命令GeneralCommandsAIXFreeBSDHP-UXLinux(RedHat)SolarisTru64UniquehostIDhostid uname-ihostidhostidhostidAdministratorsmit samlinuxconfadmintool PerformancemonitortopmonitortoptopglanceToptoptopSystemact
此文档下载收益归作者所有