Bo's Oracle Station

查看: 1642|回复: 4

课程第7/8次

[复制链接]

1005

主题

1469

帖子

1万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
12012
发表于 2019-4-21 08:33:37 | 显示全部楼层 |阅读模式
2019-04-21星期日上下午书RH124-RHEL7-zh_cn-1-20140606  P122:

visudo:限定只能被委托执行一个锁定用户的命令:
%wheel ALL=(ALL)       ALL
......
Cmnd_Alias USERL = /usr/sbin/usermod -L oracle
student  ALL=(ALL)    USERL



效果:[student@station60 ~]$ sudo usermod -U  oracle
Sorry, user student is not allowed to execute '/sbin/usermod -U oracle' as root on station60.example.com.
[student@station60 ~]$-------------------------------------------------------
将一个UPG规则的用户,添加进一个新的副组,注意观察再次登录才会生效,同时umask没变:
  1. [root@station60 ~]# su - user1
  2. [user1@station60 ~]$ ls
  3. Hello.txt
  4. [user1@station60 ~]$ ls -l
  5. total 4
  6. -rw-r--r--. 1 user1 user1 11 Apr 20 21:12 Hello.txt
  7. [user1@station60 ~]$ touch user1-1.txt
  8. [user1@station60 ~]$ ls -l
  9. total 4
  10. -rw-r--r--. 1 user1 user1 11 Apr 20 21:12 Hello.txt
  11. -rw-rw-r--. 1 user1 user1  0 Apr 20 21:13 user1-1.txt
  12. [user1@station60 ~]$ id
  13. uid=1002(user1) gid=1002(user1) groups=1002(user1) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
  14. [user1@station60 ~]$ id
  15. uid=1002(user1) gid=1002(user1) groups=1002(user1) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
  16. [user1@station60 ~]$ exit
  17. logout
  18. [root@station60 ~]# su - user1
  19. Last login: Sat Apr 20 21:12:47 EDT 2019 on pts/2
  20. [user1@station60 ~]$ id
  21. uid=1002(user1) gid=1002(user1) groups=1002(user1),1003(public) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
  22. [user1@station60 ~]$ umask
  23. 0002
复制代码
  1. [student@station60 ~]$ exit
  2. logout
  3. [root@station60 ~]# gpasswd  -a user1  public
  4. Adding user user1 to group public
  5. [root@station60 ~]#
复制代码
-------------------------------------如果做:userdel user1(不加-r)
清理垃圾:find /  -nouser -o -nogroup------------------------------------------------------------------------------------------
远程身份验证服务器实验:准备环境:
RH134-RHEL7-zh_cn-1-20140716  P150
  1. bash-4.2# mount  /dev/cdrom /mnt
  2. mount: /dev/sr0 is write-protected, mounting read-only
  3. bash-4.2# df -h
  4. Filesystem      Size  Used Avail Use% Mounted on
  5. devtmpfs        835M     0  835M   0% /dev
  6. tmpfs           852M     0  852M   0% /dev/shm
  7. tmpfs           852M  9.3M  843M   2% /run
  8. tmpfs           852M     0  852M   0% /sys/fs/cgroup
  9. /dev/sda2        19G  7.4G  9.9G  43% /
  10. /dev/sda1       497M  213M  285M  43% /boot
  11. tmpfs           171M   28K  171M   1% /run/user/0
  12. /dev/sr0        4.3G  4.3G     0 100% /mnt
  13. bash-4.2# cd /etc/
  14. bash-4.2# cd yum.repos.d/
  15. bash-4.2# ls
  16. public-yum-ol7.repo
  17. bash-4.2# mkdir test
  18. bash-4.2# ls
  19. public-yum-ol7.repo  test
  20. bash-4.2# mv public-yum-ol7.repo   test/
  21. bash-4.2# ls
  22. test
  23. bash-4.2# vim base.repo
  24. bash-4.2# yum list "sssd*"
  25. Loaded plugins: langpacks, ulninfo
  26. Existing lock /var/run/yum.pid: another copy is running as pid 17836.
  27. Another app is currently holding the yum lock; waiting for it to exit...
  28.   The other application is: PackageKit
  29.     Memory : 210 M RSS (631 MB VSZ)
  30.     Started: Sun Apr 21 09:14:07 2019 - 05:24 ago
  31.     State  : Sleeping, pid: 17836
  32. Another app is currently holding the yum lock; waiting for it to exit...
  33.   The other application is: PackageKit
  34.     Memory : 210 M RSS (631 MB VSZ)
  35.     Started: Sun Apr 21 09:14:07 2019 - 05:26 ago
  36.     State  : Sleeping, pid: 17836
  37. Another app is currently holding the yum lock; waiting for it to exit...
  38.   The other application is: PackageKit
  39.     Memory : 210 M RSS (631 MB VSZ)
  40.     Started: Sun Apr 21 09:14:07 2019 - 05:28 ago
  41.     State  : Sleeping, pid: 17836
  42. Another app is currently holding the yum lock; waiting for it to exit...
  43.   The other application is: PackageKit
  44.     Memory : 210 M RSS (631 MB VSZ)
  45.     Started: Sun Apr 21 09:14:07 2019 - 05:30 ago
  46.     State  : Sleeping, pid: 17836
  47. Another app is currently holding the yum lock; waiting for it to exit...
  48.   The other application is: PackageKit
  49.     Memory : 210 M RSS (631 MB VSZ)
  50.     Started: Sun Apr 21 09:14:07 2019 - 05:32 ago
  51.     State  : Sleeping, pid: 17836
  52. Another app is currently holding the yum lock; waiting for it to exit...
  53.   The other application is: PackageKit
  54.     Memory : 210 M RSS (631 MB VSZ)
  55.     Started: Sun Apr 21 09:14:07 2019 - 05:34 ago
  56.     State  : Sleeping, pid: 17836
  57. Another app is currently holding the yum lock; waiting for it to exit...
  58.   The other application is: PackageKit
  59.     Memory : 210 M RSS (631 MB VSZ)
  60.     Started: Sun Apr 21 09:14:07 2019 - 05:36 ago
  61.     State  : Sleeping, pid: 17836
  62. Another app is currently holding the yum lock; waiting for it to exit...
  63.   The other application is: PackageKit
  64.     Memory : 210 M RSS (631 MB VSZ)
  65.     Started: Sun Apr 21 09:14:07 2019 - 05:38 ago
  66.     State  : Sleeping, pid: 17836
  67. ^C

  68. Exiting on user cancel.
  69. bash-4.2# yum clean all
  70. Loaded plugins: langpacks, ulninfo
  71. Existing lock /var/run/yum.pid: another copy is running as pid 17836.
  72. Another app is currently holding the yum lock; waiting for it to exit...
  73.   The other application is: PackageKit
  74.     Memory : 210 M RSS (631 MB VSZ)
  75.     Started: Sun Apr 21 09:14:07 2019 - 05:43 ago
  76.     State  : Sleeping, pid: 17836
  77. Another app is currently holding the yum lock; waiting for it to exit...
  78.   The other application is: PackageKit
  79.     Memory : 210 M RSS (631 MB VSZ)
  80.     Started: Sun Apr 21 09:14:07 2019 - 05:45 ago
  81.     State  : Sleeping, pid: 17836
  82. Another app is currently holding the yum lock; waiting for it to exit...
  83.   The other application is: PackageKit
  84.     Memory : 210 M RSS (631 MB VSZ)
  85.     Started: Sun Apr 21 09:14:07 2019 - 05:47 ago
  86.     State  : Sleeping, pid: 17836
  87. Another app is currently holding the yum lock; waiting for it to exit...
  88.   The other application is: PackageKit
  89.     Memory : 210 M RSS (631 MB VSZ)
  90.     Started: Sun Apr 21 09:14:07 2019 - 05:49 ago
  91.     State  : Sleeping, pid: 17836
  92. Another app is currently holding the yum lock; waiting for it to exit...
  93.   The other application is: PackageKit
  94.     Memory : 210 M RSS (631 MB VSZ)
  95.     Started: Sun Apr 21 09:14:07 2019 - 05:51 ago
  96.     State  : Sleeping, pid: 17836
  97. Another app is currently holding the yum lock; waiting for it to exit...
  98.   The other application is: PackageKit
  99.     Memory : 210 M RSS (631 MB VSZ)
  100.     Started: Sun Apr 21 09:14:07 2019 - 05:53 ago
  101.     State  : Sleeping, pid: 17836
  102. ^C

  103. Exiting on user cancel.
  104. bash-4.2# cd /var/run/
  105. bash-4.2# ls
  106. abrt              dmeventd-client  log              rhnsd.pid       syslogd.pid
  107. alsactl.pid   dmeventd-server  lsm              rpcbind              systemd
  108. atd.pid       ebtables.lock    lvm              rpcbind.lock    tmpfiles.d
  109. auditd.pid    faillock               lvmetad.pid    rpcbind.sock    tuned
  110. avahi-daemon  firewalld        mcelog-client  samba              udev
  111. chrony              gdm               mcelog.pid     sepermit              udisks2
  112. chronyd.pid   gssproxy.pid     mdadm              setrans              user
  113. console       gssproxy.sock    media              setroubleshoot  utmp
  114. crond.pid     initramfs        mount              sm-notify.pid   vmware
  115. cron.reboot   ksmtune.pid      netreport      spice-vdagentd  xtables.lock
  116. cryptsetup    libvirt               plymouth       sshd.pid              yum.pid
  117. cups              libvirtd.pid     ppp              sudo
  118. dbus              lock               radvd              sysconfig
  119. bash-4.2# rm -i yum.pid
  120. rm: remove regular file ‘yum.pid’? y
  121. bash-4.2# yum list "sssd*"
  122. Loaded plugins: langpacks, ulninfo
  123. Base                                                     | 3.6 kB     00:00     
  124. (1/2): Base/group_gz                                       | 144 kB   00:00     
  125. (2/2): Base/primary_db                                     | 5.0 MB   00:00     
  126. Installed Packages
  127. sssd-client.x86_64                     1.16.2-13.el7               @anaconda/7.6
  128. Available Packages
  129. sssd.x86_64                            1.16.2-13.el7               Base         
  130. sssd-ad.x86_64                         1.16.2-13.el7               Base         
  131. sssd-client.i686                       1.16.2-13.el7               Base         
  132. sssd-common.x86_64                     1.16.2-13.el7               Base         
  133. sssd-common-pac.x86_64                 1.16.2-13.el7               Base         
  134. sssd-dbus.x86_64                       1.16.2-13.el7               Base         
  135. sssd-ipa.x86_64                        1.16.2-13.el7               Base         
  136. sssd-kcm.x86_64                        1.16.2-13.el7               Base         
  137. sssd-krb5.x86_64                       1.16.2-13.el7               Base         
  138. sssd-krb5-common.x86_64                1.16.2-13.el7               Base         
  139. sssd-ldap.x86_64                       1.16.2-13.el7               Base         
  140. sssd-libwbclient.x86_64                1.16.2-13.el7               Base         
  141. sssd-polkit-rules.x86_64               1.16.2-13.el7               Base         
  142. sssd-proxy.x86_64                      1.16.2-13.el7               Base         
  143. sssd-tools.x86_64                      1.16.2-13.el7               Base         
  144. sssd-winbind-idmap.x86_64              1.16.2-13.el7               Base         
  145. bash-4.2# yum -y install sssd.x86_64
  146. Loaded plugins: langpacks, ulninfo
  147. Resolving Dependencies
  148. --> Running transaction check
  149. ---> Package sssd.x86_64 0:1.16.2-13.el7 will be installed
  150. --> Processing Dependency: sssd-proxy = 1.16.2-13.el7 for package: sssd-1.16.2-13.el7.x86_64
  151. --> Processing Dependency: sssd-ldap = 1.16.2-13.el7 for package: sssd-1.16.2-13.el7.x86_64
  152. --> Processing Dependency: sssd-krb5 = 1.16.2-13.el7 for package: sssd-1.16.2-13.el7.x86_64
  153. --> Processing Dependency: sssd-ipa = 1.16.2-13.el7 for package: sssd-1.16.2-13.el7.x86_64
  154. --> Processing Dependency: sssd-common = 1.16.2-13.el7 for package: sssd-1.16.2-13.el7.x86_64
  155. --> Processing Dependency: sssd-ad = 1.16.2-13.el7 for package: sssd-1.16.2-13.el7.x86_64
  156. --> Processing Dependency: python-sssdconfig = 1.16.2-13.el7 for package: sssd-1.16.2-13.el7.x86_64
  157. --> Running transaction check
  158. ---> Package python-sssdconfig.noarch 0:1.16.2-13.el7 will be installed
  159. ---> Package sssd-ad.x86_64 0:1.16.2-13.el7 will be installed
  160. --> Processing Dependency: sssd-krb5-common = 1.16.2-13.el7 for package: sssd-ad-1.16.2-13.el7.x86_64
  161. --> Processing Dependency: sssd-common-pac = 1.16.2-13.el7 for package: sssd-ad-1.16.2-13.el7.x86_64
  162. --> Processing Dependency: libdhash.so.1(DHASH_0.4.3)(64bit) for package: sssd-ad-1.16.2-13.el7.x86_64
  163. --> Processing Dependency: libsss_certmap.so.0()(64bit) for package: sssd-ad-1.16.2-13.el7.x86_64
  164. --> Processing Dependency: libdhash.so.1()(64bit) for package: sssd-ad-1.16.2-13.el7.x86_64
  165. ---> Package sssd-common.x86_64 0:1.16.2-13.el7 will be installed
  166. --> Processing Dependency: libsss_sudo(x86-64) = 1.16.2-13.el7 for package: sssd-common-1.16.2-13.el7.x86_64
  167. --> Processing Dependency: libsss_autofs(x86-64) = 1.16.2-13.el7 for package: sssd-common-1.16.2-13.el7.x86_64
  168. --> Processing Dependency: libhttp_parser_strict.so.2()(64bit) for package: sssd-common-1.16.2-13.el7.x86_64
  169. --> Processing Dependency: libcares.so.2()(64bit) for package: sssd-common-1.16.2-13.el7.x86_64
  170. ---> Package sssd-ipa.x86_64 0:1.16.2-13.el7 will be installed
  171. --> Processing Dependency: libipa_hbac(x86-64) = 1.16.2-13.el7 for package: sssd-ipa-1.16.2-13.el7.x86_64
  172. --> Processing Dependency: libipa_hbac.so.0(IPA_HBAC_0.1.0)(64bit) for package: sssd-ipa-1.16.2-13.el7.x86_64
  173. --> Processing Dependency: libipa_hbac.so.0(IPA_HBAC_0.0.1)(64bit) for package: sssd-ipa-1.16.2-13.el7.x86_64
  174. --> Processing Dependency: libipa_hbac.so.0()(64bit) for package: sssd-ipa-1.16.2-13.el7.x86_64
  175. ---> Package sssd-krb5.x86_64 0:1.16.2-13.el7 will be installed
  176. ---> Package sssd-ldap.x86_64 0:1.16.2-13.el7 will be installed
  177. ---> Package sssd-proxy.x86_64 0:1.16.2-13.el7 will be installed
  178. --> Running transaction check
  179. ---> Package c-ares.x86_64 0:1.10.0-3.el7 will be installed
  180. ---> Package http-parser.x86_64 0:2.7.1-5.el7_4 will be installed
  181. ---> Package libdhash.x86_64 0:0.5.0-32.el7 will be installed
  182. ---> Package libipa_hbac.x86_64 0:1.16.2-13.el7 will be installed
  183. ---> Package libsss_autofs.x86_64 0:1.16.2-13.el7 will be installed
  184. ---> Package libsss_certmap.x86_64 0:1.16.2-13.el7 will be installed
  185. ---> Package libsss_sudo.x86_64 0:1.16.2-13.el7 will be installed
  186. ---> Package sssd-common-pac.x86_64 0:1.16.2-13.el7 will be installed
  187. ---> Package sssd-krb5-common.x86_64 0:1.16.2-13.el7 will be installed
  188. --> Finished Dependency Resolution

  189. Dependencies Resolved

  190. ================================================================================
  191. Package                  Arch          Version               Repository   Size
  192. ================================================================================
  193. Installing:
  194. sssd                     x86_64        1.16.2-13.el7         Base        134 k
  195. Installing for dependencies:
  196. c-ares                   x86_64        1.10.0-3.el7          Base         77 k
  197. http-parser              x86_64        2.7.1-5.el7_4         Base         27 k
  198. libdhash                 x86_64        0.5.0-32.el7          Base         28 k
  199. libipa_hbac              x86_64        1.16.2-13.el7         Base        142 k
  200. libsss_autofs            x86_64        1.16.2-13.el7         Base        144 k
  201. libsss_certmap           x86_64        1.16.2-13.el7         Base        170 k
  202. libsss_sudo              x86_64        1.16.2-13.el7         Base        142 k
  203. python-sssdconfig        noarch        1.16.2-13.el7         Base        160 k
  204. sssd-ad                  x86_64        1.16.2-13.el7         Base        263 k
  205. sssd-common              x86_64        1.16.2-13.el7         Base        1.4 M
  206. sssd-common-pac          x86_64        1.16.2-13.el7         Base        204 k
  207. sssd-ipa                 x86_64        1.16.2-13.el7         Base        352 k
  208. sssd-krb5                x86_64        1.16.2-13.el7         Base        175 k
  209. sssd-krb5-common         x86_64        1.16.2-13.el7         Base        209 k
  210. sssd-ldap                x86_64        1.16.2-13.el7         Base        227 k
  211. sssd-proxy               x86_64        1.16.2-13.el7         Base        169 k

  212. Transaction Summary
  213. ================================================================================
  214. Install  1 Package (+16 Dependent packages)

  215. Total download size: 3.9 M
  216. Installed size: 7.0 M
  217. Downloading packages:
  218. --------------------------------------------------------------------------------
  219. Total                                               19 MB/s | 3.9 MB  00:00     
  220. Running transaction check
  221. Running transaction test
  222. Transaction test succeeded
  223. Running transaction
  224.   Installing : libdhash-0.5.0-32.el7.x86_64                                1/17
  225.   Installing : libsss_certmap-1.16.2-13.el7.x86_64                         2/17
  226.   Installing : libsss_autofs-1.16.2-13.el7.x86_64                          3/17
  227.   Installing : python-sssdconfig-1.16.2-13.el7.noarch                      4/17
  228.   Installing : c-ares-1.10.0-3.el7.x86_64                                  5/17
  229.   Installing : http-parser-2.7.1-5.el7_4.x86_64                            6/17
  230.   Installing : libipa_hbac-1.16.2-13.el7.x86_64                            7/17
  231.   Installing : libsss_sudo-1.16.2-13.el7.x86_64                            8/17
  232.   Installing : sssd-common-1.16.2-13.el7.x86_64                            9/17
  233.   Installing : sssd-krb5-common-1.16.2-13.el7.x86_64                      10/17
  234.   Installing : sssd-common-pac-1.16.2-13.el7.x86_64                       11/17
  235.   Installing : sssd-ad-1.16.2-13.el7.x86_64                               12/17
  236.   Installing : sssd-ipa-1.16.2-13.el7.x86_64                              13/17
  237.   Installing : sssd-krb5-1.16.2-13.el7.x86_64                             14/17
  238.   Installing : sssd-ldap-1.16.2-13.el7.x86_64                             15/17
  239.   Installing : sssd-proxy-1.16.2-13.el7.x86_64                            16/17
  240.   Installing : sssd-1.16.2-13.el7.x86_64                                  17/17
  241.   Verifying  : sssd-krb5-1.16.2-13.el7.x86_64                              1/17
  242.   Verifying  : libsss_sudo-1.16.2-13.el7.x86_64                            2/17
  243.   Verifying  : sssd-common-pac-1.16.2-13.el7.x86_64                        3/17
  244.   Verifying  : sssd-proxy-1.16.2-13.el7.x86_64                             4/17
  245.   Verifying  : libipa_hbac-1.16.2-13.el7.x86_64                            5/17
  246.   Verifying  : http-parser-2.7.1-5.el7_4.x86_64                            6/17
  247.   Verifying  : sssd-1.16.2-13.el7.x86_64                                   7/17
  248.   Verifying  : libsss_certmap-1.16.2-13.el7.x86_64                         8/17
  249.   Verifying  : sssd-common-1.16.2-13.el7.x86_64                            9/17
  250.   Verifying  : sssd-ad-1.16.2-13.el7.x86_64                               10/17
  251.   Verifying  : libdhash-0.5.0-32.el7.x86_64                               11/17
  252.   Verifying  : c-ares-1.10.0-3.el7.x86_64                                 12/17
  253.   Verifying  : python-sssdconfig-1.16.2-13.el7.noarch                     13/17
  254.   Verifying  : libsss_autofs-1.16.2-13.el7.x86_64                         14/17
  255.   Verifying  : sssd-ldap-1.16.2-13.el7.x86_64                             15/17
  256.   Verifying  : sssd-ipa-1.16.2-13.el7.x86_64                              16/17
  257.   Verifying  : sssd-krb5-common-1.16.2-13.el7.x86_64                      17/17

  258. Installed:
  259.   sssd.x86_64 0:1.16.2-13.el7                                                   

  260. Dependency Installed:
  261.   c-ares.x86_64 0:1.10.0-3.el7                                                  
  262.   http-parser.x86_64 0:2.7.1-5.el7_4                                            
  263.   libdhash.x86_64 0:0.5.0-32.el7                                                
  264.   libipa_hbac.x86_64 0:1.16.2-13.el7                                            
  265.   libsss_autofs.x86_64 0:1.16.2-13.el7                                          
  266.   libsss_certmap.x86_64 0:1.16.2-13.el7                                         
  267.   libsss_sudo.x86_64 0:1.16.2-13.el7                                            
  268.   python-sssdconfig.noarch 0:1.16.2-13.el7                                      
  269.   sssd-ad.x86_64 0:1.16.2-13.el7                                                
  270.   sssd-common.x86_64 0:1.16.2-13.el7                                            
  271.   sssd-common-pac.x86_64 0:1.16.2-13.el7                                       
  272.   sssd-ipa.x86_64 0:1.16.2-13.el7                                               
  273.   sssd-krb5.x86_64 0:1.16.2-13.el7                                             
  274.   sssd-krb5-common.x86_64 0:1.16.2-13.el7                                       
  275.   sssd-ldap.x86_64 0:1.16.2-13.el7                                             
  276.   sssd-proxy.x86_64 0:1.16.2-13.el7                                             

  277. Complete!
  278. bash-4.2# systemctl -l | grep sssd
  279. bash-4.2# systemctl -l
  280. UNIT                                                                           
  281. proc-sys-fs-binfmt_misc.automount                                               
  282. sys-devices-pci0000:00-0000:00:10.0-host0-target0:0:0-0:0:0:0-block-sda-sda1.dev
  283. sys-devices-pci0000:00-0000:00:10.0-host0-target0:0:0-0:0:0:0-block-sda-sda2.dev
  284. sys-devices-pci0000:00-0000:00:10.0-host0-target0:0:0-0:0:0:0-block-sda-sda3.dev
  285. sys-devices-pci0000:00-0000:00:10.0-host0-target0:0:0-0:0:0:0-block-sda.device  
  286. sys-devices-pci0000:00-0000:00:11.0-0000:02:00.0-usb2-2\x2d2-2\x2d2.1-2\x2d2.1:1
  287. sys-devices-pci0000:00-0000:00:11.0-0000:02:00.0-usb2-2\x2d2-2\x2d2.1-2\x2d2.1:1
  288. sys-devices-pci0000:00-0000:00:11.0-0000:02:01.0-net-ens33.device               
  289. sys-devices-pci0000:00-0000:00:11.0-0000:02:02.0-sound-card0.device            
  290. sys-devices-pci0000:00-0000:00:11.0-0000:02:05.0-ata4-host4-target4:0:0-4:0:0:0-
  291. sys-devices-platform-serial8250-tty-ttyS1.device                                
  292. sys-devices-platform-serial8250-tty-ttyS2.device                                
  293. sys-devices-platform-serial8250-tty-ttyS3.device                                
  294. sys-devices-pnp0-00:05-tty-ttyS0.device                                         
  295. sys-devices-virtual-net-virbr0.device                                          
  296. sys-devices-virtual-net-virbr0\x2dnic.device                                    
  297. sys-module-configfs.device                                                      
  298. sys-module-fuse.device                                                         
  299. sys-subsystem-bluetooth-devices-hci0.device                                    
  300. sys-subsystem-net-devices-ens33.device                                          
  301. sys-subsystem-net-devices-virbr0.device                                         
  302. sys-subsystem-net-devices-virbr0\x2dnic.device                                 
  303. sys-subsystem-rfkill-devices-rfkill0.device                                    
  304. -.mount                                                                        
  305. boot.mount                                                                     
  306. dev-hugepages.mount                                                            
  307. dev-mqueue.mount                                                               
  308. mnt.mount                                                                       
  309. run-media-root-OL\x2d7.6\x20Server.x86_64.mount                                 
  310. run-user-0-gvfs.mount                                                           
  311. run-user-0.mount                                                               
  312. sys-fs-fuse-connections.mount                                                   
  313. sys-kernel-config.mount                                                         
  314. sys-kernel-debug.mount                                                         
  315. var-lib-nfs-rpc_pipefs.mount                                                   
  316. bash-4.2# service sssd status
  317. Redirecting to /bin/systemctl status sssd.service
  318. ● sssd.service - System Security Services Daemon
  319.    Loaded: loaded (/usr/lib/systemd/system/sssd.service; disabled; vendor preset: disabled)
  320.    Active: inactive (dead)
  321. bash-4.2# service sssd start
  322. Redirecting to /bin/systemctl start sssd.service
  323. bash-4.2# systemctl -l | grep sssd
  324. sssd.service                                                                                                     loaded active running   System Security Services Daemon
  325. bash-4.2# systemctl enable sssd.service
  326. Created symlink from /etc/systemd/system/multi-user.target.wants/sssd.service to /usr/lib/systemd/system/sssd.service.
  327. bash-4.2#
复制代码
RH134  P150:
  1. bash-4.2# yum list "authconfig*"
  2. Loaded plugins: langpacks, ulninfo
  3. Installed Packages
  4. authconfig.x86_64                     6.2.8-30.el7                 @anaconda/7.6
  5. Available Packages
  6. authconfig-gtk.x86_64                 6.2.8-30.el7                 Base         
  7. bash-4.2# yum -y install authconfig-gtk.x86_64
  8. Loaded plugins: langpacks, ulninfo
  9. Resolving Dependencies
  10. --> Running transaction check
  11. ---> Package authconfig-gtk.x86_64 0:6.2.8-30.el7 will be installed
  12. --> Finished Dependency Resolution

  13. Dependencies Resolved

  14. ================================================================================
  15. Package                Arch           Version               Repository    Size
  16. ================================================================================
  17. Installing:
  18. authconfig-gtk         x86_64         6.2.8-30.el7          Base         109 k

  19. Transaction Summary
  20. ================================================================================
  21. Install  1 Package

  22. Total download size: 109 k
  23. Installed size: 247 k
  24. Downloading packages:
  25. Running transaction check
  26. Running transaction test
  27. Transaction test succeeded
  28. Running transaction
  29.   Installing : authconfig-gtk-6.2.8-30.el7.x86_64                           1/1
  30.   Verifying  : authconfig-gtk-6.2.8-30.el7.x86_64                           1/1

  31. Installed:
  32.   authconfig-gtk.x86_64 0:6.2.8-30.el7                                          

  33. Complete!
  34. bash-4.2#
复制代码
RH134    P159

ldap.jpg


进一步配 Kerberos: A.png










回复

使用道具 举报

1

主题

11

帖子

47

积分

新手上路

Rank: 1

积分
47
发表于 2019-4-21 08:46:23 | 显示全部楼层
回复 支持 反对

使用道具 举报

0

主题

4

帖子

40

积分

新手上路

Rank: 1

积分
40
发表于 2019-4-21 08:46:53 | 显示全部楼层
本帖最后由 rhce小学徒海涛 于 2019-4-21 09:20 编辑

上课占坑报道,坐等录屏514237580@qq.com
回复 支持 反对

使用道具 举报

0

主题

2

帖子

24

积分

新手上路

Rank: 1

积分
24
发表于 2019-4-21 08:49:54 | 显示全部楼层
林涛
786426@qq.com
回复 支持 反对

使用道具 举报

0

主题

3

帖子

22

积分

新手上路

Rank: 1

积分
22
发表于 2019-5-8 09:39:05 | 显示全部楼层
上次忘记在论坛留自己邮箱了···刘翔735663781@qq.com
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|Bo's Oracle Station   

GMT+8, 2024-4-25 06:18 , Processed in 0.044244 second(s), 27 queries .

快速回复 返回顶部 返回列表