BlackHorse
08-01-2009, 20:06
[admin@WL500 local]$ ps
PID Uid VmSize Stat Command
1 admin SW /sbin/init
2 admin SW [keventd]
3 admin RWN [ksoftirqd_CPU0]
4 admin SW [kswapd]
5 admin SW [bdflush]
6 admin SW [kupdated]
7 admin SW [mtdblockd]
58 admin 112 S telnetd
67 admin 132 S syslogd -m 0 -O /tmp/syslog.log -S -l 7
70 admin 48 S klogd
71 nobody 292 S [dnsmasq]
72 admin SW [khubd]
86 admin RW [usb-storage-0]
87 admin SW [scsi_eh_0]
91 1 52 S [portmap]
93 admin 56 S /usr/sbin/statd
95 admin SW [nfsd]
96 admin SW [lockd]
97 admin SW [rpciod]
99 admin 44 S /usr/sbin/mountd
124 admin 136 S /usr/sbin/igmpproxy -c /etc/igmpproxy.conf
127 admin 124 S udhcpc -i vlan1 -p /var/run/udhcpc0.pid -s /tmp/udhcp
128 admin 224 S pppd file /tmp/ppp/options.wan0
131 admin 160 S watchdog
133 admin 80 S ntp
157 admin 212 S httpd vlan1
158 admin SW [kjournald]
169 admin 72 S /opt/sbin/vsftpd /opt/etc/vsftpd.conf
173 admin 4676 S /opt/bin/transmission-daemon -g /tmp/harddisk/torrent
176 admin 4676 S /opt/bin/transmission-daemon -g /tmp/harddisk/torrent
177 admin 4676 R /opt/bin/transmission-daemon -g /tmp/harddisk/torrent
178 nobody SW [vsftpd]
180 admin 92 S /usr/sbin/smbd -D -l /opt/var/log/smbd.log -s /opt/et
182 admin 380 S /usr/sbin/nmbd -D -n wl500 -o -l /tmp -s /opt/etc/sam
183 1c 68 S [vsftpd]
184 admin 344 S -sh
190 admin 4704 D /opt/bin/transmission-daemon -g /tmp/harddisk/torrent
191 nobody 112 S [vsftpd]
193 1c 112 S [vsftpd]
195 admin 684 S /usr/sbin/smbd -D -l /opt/var/log/smbd.log -s /opt/et
207 admin 396 R ps
Мой пост-моунт
#!/bin/sh
/bin/mount -o sync,noatime,rw /dev/discs/part1 /tmp/harddisk
/bin/mount /tmp/harddisk/opt /opt
swapon /dev/discs/disc0/part2
killall stupid-ftp
/opt/sbin/vsftpd /opt/etc/vsftpd.conf &
/opt/etc/init.d/S80thttpd start
#busybox_httpd -p 8008 -c /opt/etc/httpd.conf -h /opt/share/www
/opt/bin/transmission-daemon -g /tmp/harddisk/torrent/.config -w /tmp/harddisk/torrent/ -t -u ok -v ххххх
/opt/etc/init.d/S97Samba
в S97Samba запускается самба
#!/bin/sh
killall smbd
killall nmbd
/usr/sbin/smbd -D -l /opt/var/log/smbd.log -s /opt/etc/samba/smb.conf
/usr/sbin/nmbd -D -n wl500 -o -l /tmp -s /opt/etc/samba/smb.conf
Прошивка 1.9.2.7-10 самба в вебе отключена, фтп в вебе отключен. все запускается через post-mount. Почему vsftpd несколько раз и под разными пользователями? Причем эти пользователи сейчас не подключены к фтп?.... почему самба плодиться несколько раз ведь запускается она один раз в пост-моунт? Почему трансмиссион-демон запускается в таких количествах?!... И что вообще значат квадратные скобки у имен процессов?
В каком месте ДНК у меня ошибка?
PID Uid VmSize Stat Command
1 admin SW /sbin/init
2 admin SW [keventd]
3 admin RWN [ksoftirqd_CPU0]
4 admin SW [kswapd]
5 admin SW [bdflush]
6 admin SW [kupdated]
7 admin SW [mtdblockd]
58 admin 112 S telnetd
67 admin 132 S syslogd -m 0 -O /tmp/syslog.log -S -l 7
70 admin 48 S klogd
71 nobody 292 S [dnsmasq]
72 admin SW [khubd]
86 admin RW [usb-storage-0]
87 admin SW [scsi_eh_0]
91 1 52 S [portmap]
93 admin 56 S /usr/sbin/statd
95 admin SW [nfsd]
96 admin SW [lockd]
97 admin SW [rpciod]
99 admin 44 S /usr/sbin/mountd
124 admin 136 S /usr/sbin/igmpproxy -c /etc/igmpproxy.conf
127 admin 124 S udhcpc -i vlan1 -p /var/run/udhcpc0.pid -s /tmp/udhcp
128 admin 224 S pppd file /tmp/ppp/options.wan0
131 admin 160 S watchdog
133 admin 80 S ntp
157 admin 212 S httpd vlan1
158 admin SW [kjournald]
169 admin 72 S /opt/sbin/vsftpd /opt/etc/vsftpd.conf
173 admin 4676 S /opt/bin/transmission-daemon -g /tmp/harddisk/torrent
176 admin 4676 S /opt/bin/transmission-daemon -g /tmp/harddisk/torrent
177 admin 4676 R /opt/bin/transmission-daemon -g /tmp/harddisk/torrent
178 nobody SW [vsftpd]
180 admin 92 S /usr/sbin/smbd -D -l /opt/var/log/smbd.log -s /opt/et
182 admin 380 S /usr/sbin/nmbd -D -n wl500 -o -l /tmp -s /opt/etc/sam
183 1c 68 S [vsftpd]
184 admin 344 S -sh
190 admin 4704 D /opt/bin/transmission-daemon -g /tmp/harddisk/torrent
191 nobody 112 S [vsftpd]
193 1c 112 S [vsftpd]
195 admin 684 S /usr/sbin/smbd -D -l /opt/var/log/smbd.log -s /opt/et
207 admin 396 R ps
Мой пост-моунт
#!/bin/sh
/bin/mount -o sync,noatime,rw /dev/discs/part1 /tmp/harddisk
/bin/mount /tmp/harddisk/opt /opt
swapon /dev/discs/disc0/part2
killall stupid-ftp
/opt/sbin/vsftpd /opt/etc/vsftpd.conf &
/opt/etc/init.d/S80thttpd start
#busybox_httpd -p 8008 -c /opt/etc/httpd.conf -h /opt/share/www
/opt/bin/transmission-daemon -g /tmp/harddisk/torrent/.config -w /tmp/harddisk/torrent/ -t -u ok -v ххххх
/opt/etc/init.d/S97Samba
в S97Samba запускается самба
#!/bin/sh
killall smbd
killall nmbd
/usr/sbin/smbd -D -l /opt/var/log/smbd.log -s /opt/etc/samba/smb.conf
/usr/sbin/nmbd -D -n wl500 -o -l /tmp -s /opt/etc/samba/smb.conf
Прошивка 1.9.2.7-10 самба в вебе отключена, фтп в вебе отключен. все запускается через post-mount. Почему vsftpd несколько раз и под разными пользователями? Причем эти пользователи сейчас не подключены к фтп?.... почему самба плодиться несколько раз ведь запускается она один раз в пост-моунт? Почему трансмиссион-демон запускается в таких количествах?!... И что вообще значат квадратные скобки у имен процессов?
В каком месте ДНК у меня ошибка?