摘要: To add a user to the system:Issue the useradd command to create a locked user account:useradd <username>Unlock the account by issuing the passwd command to assign a password and set password aging guidelines:passwd <username> 阅读全文
posted @ 2012-03-25 19:05 greencolor 阅读(163) 评论(0) 推荐(0) 编辑
摘要: 查看文件权限的语句: 在终端输入: ls -l xxx.xxx (xxx.xxx是文件名) 那么就会出现相类似的信息,主要都是这些: -rw-rw-r-- 一共有10位数 其中: 最前面那个 - 代表的是类型1. 档案的类型和权限。第一个字符“-”代表 “/root/install.log”这个档案是一个档案文件。常见的档案类型标志请见下边:d 文件夹 - 档案 l 链接档,类似windows的快捷方式 b 随即存取设备,如cd_rom,u盘等等 c 一次性存取设备,如键盘,鼠标等等 s socket,资料接口文件,常用于网络数据承接 p pipe(FIFO),即先进先出,数据传输... 阅读全文
posted @ 2012-03-25 17:41 greencolor 阅读(141) 评论(0) 推荐(0) 编辑
摘要: [root@linux ~]#chown root:root install.log[root@linux ~]#ls -l-rw-r--r-- 1 root root 24343 Jun 23 08:33 install.log 阅读全文
posted @ 2012-03-25 01:09 greencolor 阅读(130) 评论(0) 推荐(0) 编辑