ldfxavier
(usa Debian)
Enviado em 25/08/2013 - 00:05h
Josue A. Santos escreveu:
ldfxavier escreveu:
Josue A. Santos escreveu:
dip:x:30:
rdma:x:119:
# groupdel dualadmin & userdel -r dualadmin
O que são esses usuários: dip e rdma?
Reinicia e testa.
Estou com um sistema de arquivo samba rodando nessa maquina, e esses são grupos da empresa.
Deu essa msg de erro quando digitei o código que você me informou.
server:~# groupdel dualadmin & userdel -r dualadmin
[1] 6069
groupdel : não foi possível remover grupo primário do usuário.
[1]+ Exit 8 groupdel dualadmin
# ps aux
É um servidor de produção ou teste?
Produção, é que entrei na empresa agora e eles me pediram para alterar todas as senhas dos servidores que são um total de 7. Não sei como esse cara que configurou esse servidor fez isso de manter essa senha root sempre a mesma, mesmo após usar o passwd para altera-la.
server:~# ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 10436 792 ? Ss Aug24 0:01 init [2]
root 2 0.0 0.0 0 0 ? S Aug24 0:00 [kthreadd]
root 3 0.0 0.0 0 0 ? S Aug24 0:00 [ksoftirqd/0]
root 6 0.0 0.0 0 0 ? S Aug24 0:00 [migration/0]
root 7 0.0 0.0 0 0 ? S Aug24 0:00 [migration/1]
root 9 0.0 0.0 0 0 ? S Aug24 0:00 [ksoftirqd/1]
root 10 0.0 0.0 0 0 ? S Aug24 0:02 [kworker/0:1]
root 11 0.0 0.0 0 0 ? S Aug24 0:00 [migration/2]
root 13 0.0 0.0 0 0 ? S Aug24 0:00 [ksoftirqd/2]
root 14 0.0 0.0 0 0 ? S Aug24 0:00 [migration/3]
root 16 0.0 0.0 0 0 ? S Aug24 0:00 [ksoftirqd/3]
root 17 0.0 0.0 0 0 ? S< Aug24 0:00 [cpuset]
root 18 0.0 0.0 0 0 ? S< Aug24 0:00 [khelper]
root 90 0.0 0.0 0 0 ? S Aug24 0:01 [sync_supers]
root 92 0.0 0.0 0 0 ? S Aug24 0:00 [bdi-default]
root 93 0.0 0.0 0 0 ? S< Aug24 0:00 [kblockd]
root 95 0.0 0.0 0 0 ? S< Aug24 0:00 [kacpid]
root 96 0.0 0.0 0 0 ? S< Aug24 0:00 [kacpi_notify]
root 97 0.0 0.0 0 0 ? S< Aug24 0:00 [kacpi_hotplug]
root 206 0.0 0.0 0 0 ? S Aug24 0:00 [khubd]
root 209 0.0 0.0 0 0 ? S Aug24 0:00 [kseriod]
root 350 0.0 0.0 0 0 ? S Aug24 0:00 [khungtaskd]
root 351 0.0 0.0 0 0 ? S Aug24 0:00 [kswapd0]
root 352 0.0 0.0 0 0 ? S Aug24 0:00 [fsnotify_mark]
root 353 0.0 0.0 0 0 ? S< Aug24 0:00 [aio]
root 354 0.0 0.0 0 0 ? S< Aug24 0:00 [crypto]
root 690 0.0 0.0 0 0 ? S Aug24 0:01 [kworker/2:1]
root 691 0.0 0.0 0 0 ? S Aug24 0:01 [kworker/3:1]
root 692 0.0 0.0 0 0 ? S Aug24 0:00 [kworker/1:1]
root 759 0.0 0.0 0 0 ? S< Aug24 0:00 [ata_sff]
root 968 0.0 0.0 0 0 ? S Aug24 0:00 [scsi_eh_0]
root 983 0.0 0.0 0 0 ? S Aug24 0:01 [scsi_eh_1]
root 984 0.0 0.0 0 0 ? S Aug24 0:00 [kworker/u:2]
root 985 0.0 0.0 0 0 ? S Aug24 0:00 [scsi_eh_2]
root 986 0.0 0.0 0 0 ? S Aug24 0:00 [scsi_eh_3]
root 987 0.0 0.0 0 0 ? S Aug24 0:00 [kworker/u:3]
root 1003 0.0 0.0 0 0 ? S< Aug24 0:00 [usbhid_resume]
root 1123 0.0 0.0 0 0 ? S< Aug24 0:00 [kstriped]
root 1126 0.0 0.0 0 0 ? S< Aug24 0:00 [ksnapd]
root 1148 0.0 0.0 0 0 ? S< Aug24 0:00 [reiserfs]
root 1216 0.0 0.0 19856 2448 ? S<s Aug24 0:01 udevd --daemon
root 1779 0.0 0.0 0 0 ? S< Aug24 0:00 [hd-audio0]
root 2097 0.0 0.0 3900 84 ? Ss Aug24 0:00 logsave -s /var
root 2201 0.0 0.0 0 0 ? S< Aug24 0:00 [kdmflush]
root 2208 0.0 0.0 0 0 ? S< Aug24 0:00 [kdmflush]
root 2250 0.0 0.0 0 0 ? S Aug24 0:00 [kworker/3:2]
root 2257 0.0 0.0 0 0 ? S Aug24 0:00 [flush-8:0]
root 2537 0.0 0.0 0 0 ? S Aug24 0:00 [flush-254:0]
root 3115 0.0 0.0 3900 84 ? Ss Aug24 0:00 logsave -s /var
root 3230 0.0 0.0 6424 588 ? Ss Aug24 0:00 dhclient3 -pf /
daemon 3263 0.0 0.0 8144 528 ? Ss Aug24 0:00 /sbin/portmap
statd 3275 0.0 0.0 10264 800 ? Ss Aug24 0:00 /sbin/rpc.statd
root 3279 0.0 0.0 0 0 ? S< Aug24 0:00 [rpciod]
root 3285 0.0 0.0 0 0 ? S< Aug24 0:00 [nfsiod]
root 3294 0.0 0.0 43188 504 ? Ss Aug24 0:00 /usr/sbin/rpc.i
root 3488 0.0 0.0 0 0 ? S< Aug24 0:00 [kconservative]
root 3493 0.0 0.0 0 0 ? S< Aug24 0:00 [kondemand]
root 3543 0.0 0.0 122228 1860 ? Sl Aug24 0:00 /usr/sbin/rsysl
openldap 3557 0.0 0.0 249032 7076 ? Ssl Aug24 0:00 /usr/sbin/slapd
root 3561 0.0 0.0 3948 628 ? Ss Aug24 0:00 /usr/sbin/acpid
103 3574 0.0 0.0 57268 1776 ? Ss Aug24 0:00 /usr/bin/dbus-d
avahi 3586 0.0 0.0 67784 2716 ? Ss Aug24 0:00 avahi-daemon: r
avahi 3587 0.0 0.0 67624 980 ? Ss Aug24 0:00 avahi-daemon: c
root 3638 0.0 0.0 48996 1208 ? Ss Aug24 0:00 /usr/sbin/sshd
root 3684 0.0 0.0 72624 2272 ? Ss Aug24 0:00 /usr/sbin/cupsd
root 3685 0.1 0.0 0 0 ? S Aug24 0:08 [kworker/1:2]
101 3952 0.0 0.0 70196 2016 ? Ss Aug24 0:00 /usr/sbin/exim4
root 3963 0.3 0.0 62356 1164 ? Ss Aug24 0:18 /usr/sbin/kerne
root 3992 0.0 0.0 167288 1912 ? Ssl Aug24 0:00 /usr/sbin/nscd
root 4010 0.0 0.0 8368 532 ? Ss Aug24 0:00 /usr/sbin/inetd
root 4017 0.0 0.0 81568 5948 ? Ss Aug24 0:00 /usr/sbin/smbd
root 4018 0.0 0.0 52212 3100 ? Ss Aug24 0:00 /usr/sbin/nmbd
root 4032 0.0 0.0 60496 1608 ? S Aug24 0:00 /usr/sbin/nmbd
root 4034 0.0 0.0 57108 2588 ? Ss Aug24 0:00 /usr/sbin/winbi
root 4042 0.0 0.0 59208 3092 ? S Aug24 0:00 /usr/sbin/winbi
root 4048 0.0 0.0 59208 3252 ? S Aug24 0:00 /usr/sbin/winbi
ntp 4049 0.0 0.0 24784 1484 ? Ss Aug24 0:00 /usr/sbin/ntpd
106 4060 0.0 0.0 23764 4164 ? Ss Aug24 0:00 /usr/sbin/hald
root 4062 0.0 0.0 17896 1204 ? S Aug24 0:00 hald-runner
root 4064 0.0 0.0 57108 1972 ? S Aug24 0:00 /usr/sbin/winbi
root 4081 0.0 0.0 81568 2240 ? S Aug24 0:00 /usr/sbin/smbd
root 4082 0.0 0.0 20008 1100 ? S Aug24 0:00 hald-addon-inpu
root 4090 0.0 0.0 20020 1108 ? S Aug24 0:00 /usr/lib/hal/ha
106 4091 0.0 0.0 8740 632 ? S Aug24 0:00 hald-addon-acpi
root 4097 0.0 0.0 20008 1108 ? S Aug24 0:02 hald-addon-stor
root 4108 0.0 0.0 26688 912 ? Ss Aug24 0:00 /usr/bin/system
root 4151 0.0 0.0 4224 556 ? S Aug24 0:00 /usr/sbin/atalk
proftpd 4160 0.0 0.0 68680 1560 ? Ss Aug24 0:00 proftpd: (accep
daemon 4178 0.0 0.0 8492 316 ? Ss Aug24 0:00 /usr/sbin/atd
root 4198 0.0 0.0 11992 888 ? Ss Aug24 0:00 /usr/sbin/cron
bind 4371 0.0 0.3 213324 25144 ? Ssl Aug24 0:01 /usr/sbin/named
root 4383 0.0 0.0 9272 1360 ? S Aug24 0:00 /bin/sh /usr/my
root 4388 2.6 2.9 755240 234152 ? Sl Aug24 2:29 /opt/VirtualBox
root 4389 0.0 0.0 9216 1236 ? S Aug24 0:00 /bin/bash /dd2/
root 4422 0.0 0.0 3920 600 tty1 Ss+ Aug24 0:00 /sbin/getty 384
root 4423 0.0 0.0 3920 600 tty2 Ss+ Aug24 0:00 /sbin/getty 384
root 4424 0.0 0.0 3920 600 tty3 Ss+ Aug24 0:00 /sbin/getty 384
root 4425 0.0 0.0 3920 604 tty4 Ss+ Aug24 0:00 /sbin/getty 384
root 4426 0.0 0.0 3920 604 tty5 Ss+ Aug24 0:00 /sbin/getty 384
root 4427 0.0 0.0 3920 600 tty6 Ss+ Aug24 0:00 /sbin/getty 384
root 4428 0.0 0.0 16188 1268 ? Ss Aug24 0:00 /usr/squid-2.7/
proxy 4430 1.0 0.1 32648 15364 ? Sl Aug24 1:02 (squid) -D
proxy 4456 0.0 0.0 16608 1584 ? S Aug24 0:00 /usr/bin/perl /
proxy 4457 0.0 0.0 16608 1536 ? S Aug24 0:00 /usr/bin/perl /
proxy 4458 0.0 0.0 16608 1616 ? S Aug24 0:00 /usr/bin/perl /
proxy 4459 0.0 0.0 16608 1520 ? S Aug24 0:00 /usr/bin/perl /
proxy 4460 0.0 0.0 16608 1508 ? S Aug24 0:00 /usr/bin/perl /
proxy 4461 0.0 0.0 16608 1620 ? S Aug24 0:00 /usr/bin/perl /
proxy 4462 0.0 0.0 16608 1520 ? S Aug24 0:00 /usr/bin/perl /
mysql 4511 0.0 0.0 45068 4512 ? Sl Aug24 0:00 /usr/mysql/libe
proxy 4512 0.0 0.0 3764 300 ? S Aug24 0:00 (unlinkd)
root 4541 0.0 0.0 136284 7600 ? Ss Aug24 0:00 /usr/apache2/bi
root 4547 0.0 0.0 30208 3308 ? S Aug24 0:00 /opt/VirtualBox
root 4568 0.0 0.0 109992 7068 ? Sl Aug24 0:01 /opt/VirtualBox
root 4584 0.0 0.0 9684 3764 ? Ss Aug24 0:00 /usr/sbin/dhcpd
www-data 4589 0.0 0.0 136284 5160 ? S Aug24 0:00 /usr/apache2/bi
www-data 4590 0.0 0.0 136284 5160 ? S Aug24 0:00 /usr/apache2/bi
www-data 4593 0.0 0.0 136284 5160 ? S Aug24 0:00 /usr/apache2/bi
www-data 4606 0.0 0.0 136284 5160 ? S Aug24 0:00 /usr/apache2/bi
www-data 4607 0.0 0.0 136284 5160 ? S Aug24 0:00 /usr/apache2/bi
root 4622 0.0 0.0 0 0 ? S Aug24 0:00 [kworker/2:2]
root 4636 0.0 0.0 0 0 ? S Aug24 0:00 [kworker/0:0]
root 6258 0.1 0.0 90892 3788 ? Ss 00:04 0:00 sshd: root@pts/
root 6262 0.0 0.0 8160 344 ? S 00:04 0:00 sleep 30s
root 6263 0.0 0.0 10920 1704 pts/0 Ss 00:04 0:00 -bash
root 6267 0.0 0.0 8172 1008 pts/0 R+ 00:04 0:00 ps aux