免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3883 | 回复: 1
打印 上一主题 下一主题

HP_UX Bible ----- 第三部分unix系统管理 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2002-01-19 10:45 |只看该作者 |倒序浏览
第三部分unix系统管理
@11@
The major steps required to set up a new user are
A. an entry in /etc/password, an entry in /etc/group, a home directory
B. an entry in /etc/passwd, an entry in /etc/hosts, a home directory with
login scripts
C. an entry in /etc/password, an entry in /etc/hosts, a home directory with
login scripts
D. an entry in /etc/passwd, an entry in /etc/group, a home directory with
login scripts
@ d @
user account is defined via two files:/etc/passwd /etc/group and user\'s
home directory
@ 3 @
W-HPUX3@
What are the major points you should consider when selecting device swap
areas?
A. device swap areas should be on different physical volumes and should
be the same size
B. device swap areas should be in different logical volumes on the same
disk and should be the same size
C. device swap areas should be in different logical volumes and in the top
2GB of the disk
D. device swap areas should be on different physical volumes, but all in
vg00
@ a @
please read the guideline of selecting device swap
@
15
@
W-HPUX3@
What are the major points you should consider when selecting file system
swap areas?
A. assign only one file system swap area per physical volume, file system
swap should be placed on lightly used file systems with lots of free space
B. file system swap should be set up on the root file systen first, file
system swap should be placed on lightly used file systems with lots of free
space
C. a file system must be unmounted before file system swap is set up, file
system swap should be placed on lightly used file systems withlots of free
space
D. all file system swap areas should be in the same volume group, vg00,
file system swap should be placed on the root file system
@ a @
please read the guideline of selecting of file system swap space.
@
15
@
W-HPUX3@
When you boot your system from the install tape you can:
A. install your system
B. run a recovery shell
C. cancel and reboot
D. all of these
@ d @
@17@
W-HPUX3@
A UID of zero indicates:
A. a super user.
B. a deactivated user.
C. an invalid user.
D. a restricted user.
@ a @
The correct answer is: A. a super user.
The definition of a \"super-user\" is one who\'s User ID is set to \"0\". It\'s
not the name, \"root\", that gives extra capabilities to an account it is
the UID.
@ 3 @
W-HPUX3@
The last entry in the /etc/passwd line for a user defines
A. a shell
B. the home directory
C. the password ageing
D. an executable application program or shell
@ d @
sh is field 7.
@ 3 @
W-HPUX3@
SAM can be used to set up the following
A. all of these
B. user accounts and groups
C. disks and file systems
D. kernel configuration and network services
@ a @
what sam can do?
@ 2 @
W-HPUX3@
Which of the following is the best method of automating the process of
running an fsck of a file system once per week?
A. write a shell script with a sleep
B. set it up under cron
C. use the batch command to run it in background
D. submit an at command for each week
@ b @
Automate.
@
14
@
W-HPUX3@
The difference between a remote printer and a network printer is
A. a remote printer is attached to another system on the network, but a
network printer is attached directly to the network
B. a network printer is attached to another system on the network, but a
remote printer is attached directly to the network
C. there is no difference, they are two terms for the same thing
D. a remote printer is attached to a different type of computer system,
but a network printer is attached to another HP 9000
@ a @
Remember?
@
16
@
W-HPUX3@
To find what commands you have scheduled under cron use
A. at
B. cron. allow
C. crontab -l
D. Is -l
@ c @ @
14
@
W-HPUX3@
System-supplied printer interface files and system configured interface
files live respectively in :
A. /var/spool/lp and /etc/lp/interface
B. /usr/spool/lp/model and /etc/printer
C. /usr/lib/lp/model and /var/spool/lp
D. /usr/lib/lp/model and /etc/lp/interface
@ d @ @
16
@
W-HPUX3@
The command used for scheduling repeated background jobs is :
A. cron
B. at
C. batch
D. jobs
@ a @ @
14
@
W-HPUX3@
The /etc directory is used
A. for operating system configuration data
B. for application configuration data
C. for operating system and appl ication configuration data and executables
D. for operating system and application configuration data
@ d @
在HP UX 系统中文件的布局
@ 5 @
W-HPUX3@
At HP_UX 11, the name of the file used to hold the kernel is
A. /hp-ux
B. /stand/vmunix
C. /stand/system
D. /stand/build/vmunix
@ b @ @ 5 @
W-HPUX3@
What is the simplest way to create and manage a list of the system and
application log files which grow for ever and need to be trimmed on a
regular basis
A. use SAM\'s list for system log files, add your application log files to
it and use the log file trimming feature available in SAM
B. create your own list of system log files from /var/adm, add your
application log files to it, then write a shell script to trim them
C. reboot the system on a regular basis as then all log files get rolled
over and the old ones deleted
D. all system log files automatically roll themselves over and delete the
oldest copy when they hit a defined size limit
@ a @ @ 2
@
W-HPUX3@
What will be the output from the command line\" find . -name datafile
\"?The :
A. absolute path names of all files called datafile in all directories
from your current directory down.
B. relative path names of all files called datafile in all directories from
your current directory down
C. relative path names of all files called datafile in your current
directory
D. number of files called datafile in your current directory
@ b @
find 的输出结果是绝对还是相对路径
@ 5 @
W-HPUX3@
You execute the \"id\" command that shows you the current UID and GID. What
file does this information come from?
A. /etc/group
B. /etc/id
C. /etc/passwd
D. /etc/profile
@ c @
C. The /etc/passwd file contains the UID and GID of each user.
@ 3 @
W-HPUX3@
To set up a device swap on a logical volume and ensure it is active at each
system start-up, which of the following items is FALSE?
A. Create a contiguous logical volume
B. Have bad block relocation turned off
C. Add an entry to /etc/fstab
D. Mount the logical volume to the file system at /swap
@ d @ @ 15
@
W-HPUX3@
Which of the following is not one of the fields in the password file?
A. UID
B. TERM
C. HOME
D. SHELL
@ b @
/etc/passwd 文件每行的字段
@ 3 @
W-HPUX3@
A user account password may be changed by
A. the root user and the account owner
B. anyone who belongs to the group ys
C. only the root user
D. only the account owner once it is initially set by root
@ a @ @ 3 @
W-HPUX3@
Which of the following statements is FALSE?
A. If cron.allow and cron.deny have entries cron.deny is ignored.
B. If there is no cron.allow and a cron.deny exists with no entries everyone
can use cron.
C. If cron.allow is empty only the superuser(root) can use cron.
D. There must be a cron.deny or cron.allow file present on the system in
order to use cron.
@ D @
D. There is no requirement to have a cron.allow or cron.deny file on the
system. If both of these files do not exist then the superuser (root) is
the only user allowed to use cron.
@
14
@ W-HPUX3@
Can a user define a default printer for their session (separate from the
system default printer)?
A. No,you specify the printer with the lp command
B. Yes, using the lpadmin command
C. Yes, using the LPDEST environmental variable
D. No, users are not allowed spooler configuration capability
@ c @
参阅用户环境变量的定义
@ 4 @
W-HPUX3@
The recommended method of halting HP_UX from multi_user mode is:
A. init 6
B. halt 0
C. shutdown -h
D. reboot -h
@ c @ @
17
@
W-HPUX3@
You are currently in the /stand/build directory building a new static
kernel for an HP-UX 11.00 system. You have completed all the tasks to build
the kernel. Which tasks, in which order, must be performed to make the new
kernel the running kernel and also preserve the old kernel?
1. shutdown -ry 0
2. mv /stand/system /stand/system.prev; mv system /stand/system
3. kmupdate
4. mv /stand/vmunix /stand/vmunix.prev; mv vmunix_test /stand/vmunix
A. step 3, step 1
B. step 2, step 3, step 1
C. step 3, step 4, step 1
D. step 4, step 1
@ b @
@18@
W-HPUX3@
In HP_UX 10.X and above, the following users can run SAM:
A. super users (root) only
B. all users
C. all users in the groups root or sys
D. super users (root) and users set up in a restricted build of SAM
@ d @ @ 2 @
W-HPUX3@
Your manager makes a request for you to create a script that will start
a daemon at system boot. In what directory would you put this script
and the corresponding configuration file for the script?
A. /sbin/init.d , /etc/rc.config.d
B. /sbin/rc , /etc/netconfig
C. /sbin/startups, /etc/inittab
D. /usr/sbin, /etc/rc.config.d
@ a @
@ 5 @
W-HPUX3@
The difference between the \"lpmove\" and the \"lpalt\" commands for printer
queue management is that:
A. alt will only move one (1) job and lpmove can move an entire queue.
B. lpmove can be used by anybody and lpalt can only be used by the super
user (root).
C. lpalt is no longer used in HP-UX 11.00 but lpmove is used in 10.X and
above.
D. lpmove can be used to move a priority of a print job to a higher level
while lpalt can only be used to move a job to another printer
queue.
@ a @
@16@
W-HPUX3@
The file used to ensure that the LP spooling scheduler does not run twice
is called:
A. ladm/busy/spool
B. /usr/spool/lockfile
C. /var/spool/lp/SCHEDLOCK
D. /etc/SPOOLER
@ c
@ this file should be checked while lpsched daemon startup to assure only
one daemon running in the system. This file would be removed while lpsched
stop
@16@
W-HPUX3

论坛徽章:
0
2 [报告]
发表于 2002-01-19 10:46 |只看该作者
<迫不得已,也去掉了一些东西>
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP