信息安全师考试

影响BASHShell启动的脚本包括“/etc/profile”、“~/.bash_profile”、“~/.bash_login”、“~/.profile”和“~/.bash_rc”。

题目

影响BASHShell启动的脚本包括“/etc/profile”、“~/.bash_profile”、“~/.bash_login”、“~/.profile”和“~/.bash_rc”。

如果没有搜索结果,请直接 联系老师 获取答案。
如果没有搜索结果,请直接 联系老师 获取答案。
相似问题和答案

第1题:

Anadministratorcreateda.envfileinauser’shomedirectorytoconfigureanumberofcustomenvironmentvariablesforalocalapplication.However,aftertheuserlogsoutandthenlogsbackintothesystem,thecustomvariablesarenotbeingsetWhatisthemostlikelyreasonthatthecustom.envfileisbeingignored?()

A.Ashellotherthankshisbeingusedbytheuser.

B.Theline’exportENV=$HOME/.env’ismissingfrom/etc/profile.

C.Theline’exportENV=$HOME/.env’ismissingfromtheuser’s.profile.

D.Theenv_profileattributeisnotdefinedfortheuserwithin/etc/security/user.


参考答案:C

第2题:

启动UNIX时,程序unix(内核)将被调入计算机内存,并一直保留在内存中直到机器关闭。在unix启动和用户登录过程中,下面的那个文件将不会用到()?

A./tellin/.cshrc

B./etc/inittab

C./etc/passwd

D./.profile


参考答案:A

第3题:

默认情况下,Linux系统中用户登录密码信息存放在____文件中。

A./etc/group

B./etc/userinfo

C./etc/shadow

D./etc/profile


正确答案:C
/etc/shadow文件用于保存Linux系统中用户登录密码信息,当然是使用加密后的形式。shadow文件仅对root用户可读,保证了用户口令的安全性。

第4题:

NFS服务器通过调用/etc/rc.d/init.d中的portmap和nfs脚本启动,启动后它将通过寻找本地服务器的()文件,向网络上的子机提供NFS文件共享服务

  • A、/etc/hosts
  • B、/etc/inittab
  • C、/etc/inet.d
  • D、/etc/exports

正确答案:D

第5题:

影响BASHShell启动的脚本包括()

  • A、/etc/profile
  • B、~/.bash_profile
  • C、~/.bash_login
  • D、~/.profile
  • E、~/.bash_rc”

正确答案:A,B,C,D,E

第6题:

用户键入正确的用户名和口令后,哪个脚本将会执行?()

A./etc/.profile

B.$HOME/.profile

C./.profile

D./etc/profile


参考答案:D

第7题:

用户的缺省Shell为Csh,此用户登录时,其环境脚本的执行顺序为:()。

A.etc/profile->$HOME/.cshrc->$HOME/.login

B.$HOME/.login->$HOME/.cshrc->etc/profile

C.etc/profile->$HOME/.login->$HOME/..cshrc

D.$HOME/.cshrc->etc/profile->$HOME/.login


参考答案:A

第8题:

RedFlagLinux指定域名服务器位置的文件是()。

A.etc/hosts

B.etc/networks

C.etc/rosolv.conf

D./.profile


正确答案:C

第9题:

UNIX操作系统的帐号管理和权限分配主要是通过哪三个文件管理来实现()。

  • A、/etc/passwd,/etc/profile和/etc/group
  • B、/etc/group,/etc/profile和/etc/shadow
  • C、/etc/group,/etc/shadow和/etc/passwd

正确答案:C

第10题:

在HP-UX启动过程中,()文件负责执行各个运行级中的启动脚本。

  • A、/sbin/rc
  • B、/etc/start
  • C、/sbin/ioinit
  • D、/sbin/bcheckrc

正确答案:A

更多相关问题