免费注册 查看新帖 |

Chinaunix

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

SOLARIS如何删除多余的用户 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-04-06 09:47 |只看该作者 |倒序浏览
我 在SOLARIS下创建了很 多用户

现在我 想删除一些掉。。。

不知道要怎么处理,,

谢谢帮助

论坛徽章:
0
2 [报告]
发表于 2007-04-06 09:56 |只看该作者
userdel username

if it's confirmed that there is no userful data under the user's home directory, then do "userdel -r username".

论坛徽章:
0
3 [报告]
发表于 2007-04-06 09:59 |只看该作者
THANKS

论坛徽章:
0
4 [报告]
发表于 2007-04-06 10:04 |只看该作者
# useradd oracle
UX: useradd: ERROR: Inconsistent password files.  See pwconv(1M).
#
怎么办

兄弟

论坛徽章:
0
5 [报告]
发表于 2007-04-06 10:16 |只看该作者
root:4jz7nY9FEZ0Yk:13606::::::
daemon:NP:6445::::::
bin:NP:6445::::::
sys:NP:6445::::::
adm:NP:6445::::::
lp:NP:6445::::::
uucp:NP:6445::::::
nuucp:NP:6445::::::
smmsp:NP:6445::::::
listen:*LK*:::::::
gdm:*LK*:::::::
webservd:*LK*:::::::
nobody:*LK*:6445::::::
noaccess:*LK*:6445::::::
nobody4:*LK*:6445::::::
chriszhu:G9AiBSBXitx0U:13605::::::

论坛徽章:
0
6 [报告]
发表于 2007-04-06 10:16 |只看该作者
root:0:0:Super-User:/:/sbin/sh
daemon:1:1::/:
bin:2:2::/usr/bin:
sys:3:3::/:
adm:4:4:Admin:/var/adm:
lp:71:8:Line Printer Admin:/usr/spool/lp:
uucp:5:5:uucp Admin:/usr/lib/uucp:
nuucp:9:9:uucp Admin:/var/spool/uucppublic:/usr/lib/uucp/uucico
smmsp:25:25:SendMail Message Submission Program:/:
listen:37:4:Network Admin:/usr/net/nls:
gdm:x:50:50:GDM Reserved UID:/:
webservd:x:80:80:WebServer Reserved UID:/:
nobody:x:60001:60001:NFS Anonymous Access User:/:
noaccess:x:60002:60002:No Access User:/:
nobody4:x:65534:65534:SunOS 4.x NFS Anonymous Access User:/:
chriszhu:x:100:1::/export/home/chriszhu:/bin/bash

论坛徽章:
0
7 [报告]
发表于 2007-04-06 10:17 |只看该作者
手动修改过/ETC/PASSWD;/ETC/SHADOW

怎么 办。。。

论坛徽章:
0
8 [报告]
发表于 2007-04-06 10:25 |只看该作者
pwconv

论坛徽章:
0
9 [报告]
发表于 2007-04-06 10:37 |只看该作者
run "pwck" to check any syntax errors /etc/passwd & /etc/shadow.

论坛徽章:
0
10 [报告]
发表于 2007-04-06 10:43 |只看该作者
原帖由 chinamail 于 2007-4-6 10:16 发表
chriszhu:100:1::/export/home/chriszhu:/bin/bash  


aha, LZ is a MM, Chris Zhu?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP