摘要: 1.挂载光盘2.虚拟机加载ISO文件3.虚拟机下面点光盘符号,选connect4.执行 mkdir /media/cdrom5.mount /dev/cdrom /media/drom6.查询samba安装情况 rpm -qa | grep samba7.安装三个文件cd /media/cdrom/... 阅读全文
posted @ 2014-12-09 23:07 苍天博客 阅读(2634) 评论(0) 推荐(0)
摘要: 我们今天要实现的环境是,假如公司有财务,技术,领导3个部门,我们分别为3个部门建立3个用户组为caiwu,network,lingdao;三个部门里各有2个用户,我们建用户分别为caiwu01,caiwu02,network01,network02,lingdao01,lingdao02然后我们分别... 阅读全文
posted @ 2016-01-03 01:26 苍天博客 阅读(575) 评论(0) 推荐(0)
摘要: [root@localhost ~]# cd /tmp[root@localhost tmp]# mkdir test[root@localhost tmp]# mkdir test1/test2/test3/test4mkdir: 无法创建目录 “test1/test2/test3/test4”:... 阅读全文
posted @ 2016-01-03 01:24 苍天博客 阅读(335) 评论(0) 推荐(0)
摘要: 任务二:我的使用者pro1, pro2, pro3是同一个项目计划的开发人员,我想要让这三个用户在同一个目录底下工作,但这三个用户还是拥有自己的家目录与基本的私有群组。假设我要让这个项目计划在/srv/projecta 目录下开发,可以如何进行? 阅读全文
posted @ 2016-01-03 01:22 苍天博客 阅读(400) 评论(0) 推荐(0)
摘要: 账号名称 账号全名 支援次要群组 是否可登入主机 密码myuser1 1st user mygroup1 可以 passwordmyuser2 2nd user mygroup1 不可以 passwordmyuser3 3rd user 无... 阅读全文
posted @ 2016-01-03 01:22 苍天博客 阅读(243) 评论(0) 推荐(0)
摘要: [root@localhost ~]# fdisk -l //查看磁盘,发现有一个不能识别的磁盘Disk /dev/sda: 21.4 GB, 21474836480 bytes255 heads, 63 sectors/track, 2610 cylindersUnits = cylinder... 阅读全文
posted @ 2016-01-03 01:21 苍天博客 阅读(302) 评论(0) 推荐(0)
摘要: 用tar备份系统实例练习1. 先处理要放置备份资料的目录与权限:[root@localhost ~]# mkdir /backups[root@localhost ~]# chmod 700 /backups[root@localhost ~]# ll -d /backupsdrwx------ 2... 阅读全文
posted @ 2016-01-03 01:19 苍天博客 阅读(169) 评论(0) 推荐(0)
摘要: [root@localhost ~]# useradd stu[root@localhost ~]# su stu[stu@localhost root]$ cat /etc/shadowcat: /etc/shadow: 权限不够[stu@localhost root]$ exitexit[roo... 阅读全文
posted @ 2016-01-03 01:17 苍天博客 阅读(199) 评论(0) 推荐(0)
摘要: 情境模拟题一:假设系统中有两个帐号,分别是alex 与arod ,这两个人除了自己群组之外还共同支援一个名为project 的群组。假设这两个用户需要共同拥有/srv/ahome/ 目录的开发权,且该目录不许其他人进入查阅。请问该目录的权限设定应为何?请先以传统权限说明,再以SGID 的功能解析。目... 阅读全文
posted @ 2016-01-03 01:16 苍天博客 阅读(1025) 评论(0) 推荐(0)
摘要: [root@localhost ~]# date2014年 10月 11日 星期六 22:09:30 CST[root@localhost ~]# date +%Y/%m/%d2014/10/11[root@localhost ~]# date +%H:%M22:10[root@localhost ... 阅读全文
posted @ 2016-01-03 01:15 苍天博客 阅读(228) 评论(0) 推荐(0)
摘要: [root@localhost ~]# chgrp users intstll.logchgrp: 无法访问 “intstll.log”: 没有那个文件或目录[root@localhost ~]# chgrp users install.log[root@localhost ~]# ls -l总计 ... 阅读全文
posted @ 2016-01-03 01:12 苍天博客 阅读(286) 评论(0) 推荐(0)