CentOS6.8---root目录下的文件

root目录

  • 系统管理员目录

dr-xr-x---. 5 root root 4096 3月  25 13:56 .
  • 目录下的文件

1.anaconda-ks.cfg
2.install.log
3.install.log.syslog


1.anaconda-ks.cfg#####

 -rw-------. 1 root root 943 3月  21 04:52 anaconda-ks.cfg

系统安装完成后会在root目录下生成anaconda-ks.cfg文件,改文件可以查 看当前系统安装时的配置.通过这个文件可以修改成自动安装的脚本,用于自动安装同样配置的系统.

自动生成的启动文件anacondas
# Kickstart file automatically generated by anaconda.
版本=开发
#version=DEVEL
系统安装途径光盘
install
cdrom
语言和键盘布局
lang zh_CN.UTF-8
keyboard us
网络配置
network --onboot no --device eth0 --bootproto dhcp --noipv6
root密码
rootpw  --iscrypted $6$5XHy/O.DtgKiMf04$5MayVZSdodEj3iwUDYBzAiGETZwuI.u8SZRF3a04vMcgQVzOnEPXz35PAKackJDRHfVUTtQYFCUGNebDaQdd./
防火墙开启的端口
firewall --service=ssh
认证加密方式
authconfig --enableshadow --passalgo=sha512
seliunx级别信息
selinux --enforcing
时区
timezone --utc Asia/Shanghai
系统启动引导
bootloader --location=mbr --driveorder=sda --append="crashkernel=auto rhgb quiet"
# The following is the partition information you requested
# Note that any partitions you deleted are not expressed
# here so unless you clear all partitions first, this is
# not guaranteed to work
#clearpart --none
磁盘信息
#part /boot --fstype=ext4 --size=200
#part swap --size=2000
#part / --fstype=ext4 --grow --size=200
repo以及本地安装包,centos网络安装包
repo --name="CentOS"  --baseurl=cdrom:sr0 --cost=100
%packages
@chines-support
@core
@server-policy
结束
%end

2.install.log####

 -rw-r--r--. 1 root root 12824 3月  21 04:52 install.log

系统从安装到现在安装的包的日志文件

安装 mcpp-2.7.2-4.1.el6.i686
安装 xorg-x11-server-utils-7.7-14.el6.i686
安装 xorg-x11-xinit-1.0.9-14.el6.i686
安装 imsettings-0.108.0-3.6.el6.i686
安装 im-chooser-1.3.1-3.el6.i686
安装 ibus-gtk-1.3.4-9.el6.i686
安装 ibus-1.3.4-9.el6.i686
安装 ibus-table-1.2.0.20100111-5.el6.noarch
安装 ibus-table-cangjie-1.2.0.20100210-1.el6.noarch
安装 ibus-table-erbi-1.2.0.20090901-8.el6.noarch
安装 ibus-table-wubi-1.2.0.20090715-8.el6.noarch
安装 authconfig-6.1.12-23.el6.i686
安装 openssh-server-5.3p1-117.el6.i686
安装 kexec-tools-2.0.0-300.el6.i686
安装 dhclient-4.1.1-51.P1.el6.centos.i686
安装 passwd-0.77-7.el6.i686
安装 sudo-1.8.6p3-24.el6.i686
安装 audit-2.4.5-3.el6.i686
安装 e2fsprogs-1.41.12-22.el6.i686
安装 efibootmgr-0.5.4-13.el6.i686
安装 acl-2.2.49-6.el6.i686
安装 attr-2.4.44-7.el6.i686
*** FINISHED INSTALLING PACKAGES ***

3.install.log.syslog
-rw-r--r--. 1 root root 3482 3月  21 04:51 install.log.syslog

系统安装时创建用户和用户组的配置日志文件

<86>Mar 21 04:49:39 groupadd[1584]: new group: name=tape, GID=33
<86>Mar 21 04:49:39 groupadd[1589]: group added to /etc/group: name=dialout, GID=18
<86>Mar 21 04:49:39 groupadd[1589]: group added to /etc/gshadow: name=dialout
<86>Mar 21 04:49:39 groupadd[1589]: new group: name=dialout, GID=18
<86>Mar 21 04:49:42 groupadd[1617]: group added to /etc/group: name=saslauth, GID=76
<86>Mar 21 04:49:42 groupadd[1617]: group added to /etc/gshadow: name=saslauth
<86>Mar 21 04:49:42 groupadd[1617]: new group: name=saslauth, GID=76
<86>Mar 21 04:49:42 useradd[1622]: new user: name=saslauth, UID=499, GID=76, home=/var/empty/saslauth, shell=/sbin/nologin
<86>Mar 21 04:49:42 groupadd[1630]: group added to /etc/group: name=postdrop, GID=90
<86>Mar 21 04:49:42 groupadd[1630]: group added to /etc/gshadow: name=postdrop
<86>Mar 21 04:49:42 groupadd[1630]: new group: name=postdrop, GID=90
<86>Mar 21 04:49:42 groupadd[1634]: group added to /etc/group: name=postfix, GID=89
<86>Mar 21 04:49:42 groupadd[1634]: group added to /etc/gshadow: name=postfix
<86>Mar 21 04:49:42 groupadd[1634]: new group: name=postfix, GID=89
<86>Mar 21 04:49:42 useradd[1639]: new user: name=postfix, UID=89, GID=89, home=/var/spool/postfix, shell=/sbin/nologin
<86>Mar 21 04:49:42 useradd[1639]: add 'postfix' to group 'mail'
<86>Mar 21 04:49:42 useradd[1639]: add 'postfix' to shadow group 'mail'
<14>Mar 21 04:51:23 dbus: avc:  received policyload notice (seqno=2)

<86>Mar 21 04:51:59 groupadd[2283]: group added to /etc/group: name=sshd, GID=74
<86>Mar 21 04:51:59 groupadd[2283]: group added to /etc/gshadow: name=sshd
<86>Mar 21 04:51:59 groupadd[2283]: new group: name=sshd, GID=74
<86>Mar 21 04:51:59 useradd[2288]: new user: name=sshd, UID=74, GID=74, home=/var/empty/sshd, shell=/sbin/nologin

你可能感兴趣的:(CentOS6.8---root目录下的文件)