Originally posted by: Quinton McLeod
First of all, those are a lot of background servicesOriginally posted by: nweaver
Pretty tweaked Ubuntu install....
nickw@nkw-desk:~$ ps aux | grep root
root 1 0.0 0.0 1632 396 ? Ss Jan24 0:02 /sbin/init splash
root 2 0.0 0.0 0 0 ? S Jan24 0:00 [migration/0]
root 3 0.0 0.0 0 0 ? SN Jan24 0:00 [ksoftirqd/0]
root 4 0.0 0.0 0 0 ? S Jan24 0:00 [watchdog/0]
root 5 0.0 0.0 0 0 ? S< Jan24 0:02 [events/0]
root 6 0.0 0.0 0 0 ? S< Jan24 0:00 [khelper]
root 7 0.0 0.0 0 0 ? S< Jan24 0:00 [kthread]
root 9 0.0 0.0 0 0 ? S< Jan24 0:02 [kblockd/0]
root 10 0.0 0.0 0 0 ? S< Jan24 0:00 [kacpid]
root 11 0.0 0.0 0 0 ? S< Jan24 0:00 [kacpi_notify]
root 105 0.0 0.0 0 0 ? S< Jan24 0:00 [kseriod]
root 140 0.0 0.0 0 0 ? S Jan24 0:23 [kswapd0]
root 141 0.0 0.0 0 0 ? S< Jan24 0:00 [aio/0]
root 1748 0.0 0.0 0 0 ? S< Jan24 0:00 [ata/0]
root 1752 0.0 0.0 0 0 ? S< Jan24 0:00 [scsi_eh_0]
root 1753 0.0 0.0 0 0 ? S< Jan24 0:00 [scsi_eh_1]
root 1764 0.0 0.0 0 0 ? S< Jan24 0:00 [scsi_eh_2]
root 1803 0.0 0.0 0 0 ? S< Jan24 0:00 [khubd]
root 2060 0.0 0.0 0 0 ? S< Jan24 0:13 [kjournald]
root 2141 0.0 0.0 1604 368 ? Ss Jan24 0:00 //sbin/logd
root 2287 0.0 0.0 2612 488 ? S<s Jan24 0:00 /sbin/udevd --daemon
root 3004 0.0 0.0 0 0 ? S< Jan24 0:00 [shpchpd]
root 3134 0.0 0.0 0 0 ? S< Jan24 0:00 [kpsmoused]
root 3246 0.0 0.0 0 0 ? S< Jan24 0:00 [kgameportd]
root 3621 0.0 0.0 0 0 ? S< Jan24 0:08 [kjournald]
root 3868 0.0 0.0 1596 336 tty1 Ss+ Jan24 0:00 /sbin/getty 38400 tty1
root 3869 0.0 0.0 1596 336 tty2 Ss+ Jan24 0:00 /sbin/getty 38400 tty2
root 3870 0.0 0.0 1600 336 tty3 Ss+ Jan24 0:00 /sbin/getty 38400 tty3
root 3871 0.0 0.0 1596 336 tty4 Ss+ Jan24 0:00 /sbin/getty 38400 tty4
root 3872 0.0 0.0 1600 336 tty5 Ss+ Jan24 0:00 /sbin/getty 38400 tty5
root 3873 0.0 0.0 1596 336 tty6 Ss+ Jan24 0:00 /sbin/getty 38400 tty6
root 4082 0.0 0.0 2200 596 ? Ss Jan24 0:00 /usr/sbin/acpid -c /etc/acpi/events -s /var/run/acpid.socket
root 4205 0.0 0.0 1724 320 ? Ss Jan24 0:00 /bin/dd bs 1 if /proc/kmsg of /var/run/klogd/kmsg
root 4279 0.0 0.0 11800 1580 ? Ss Jan24 0:00 /usr/sbin/gdm
root 4338 0.0 0.0 4904 568 ? Ss Jan24 0:00 /usr/sbin/hpiod
root 4438 0.0 0.0 2912 936 ? S Jan24 0:00 hald-runner
root 4487 0.0 0.0 2076 588 ? Ss Jan24 0:00 /usr/sbin/dhcdbd --system
root 4504 0.0 0.0 21644 1880 ? Ssl Jan24 0:02 /usr/sbin/NetworkManager --pid-file /var/run/NetworkManager/NetworkManager.pid
root 4518 0.0 0.0 2964 1060 ? Ss Jan24 0:00 /usr/sbin/NetworkManagerDispatcher --pid-file /var/run/NetworkManager/NetworkManagerDispatcher.pid
root 4533 0.0 0.0 13884 816 ? S Jan24 0:00 perl /usr/share/system-tools-backends-2.0/scripts/SystemToolsBackends.pl
root 4648 0.0 0.0 2072 516 ? Ss Jan24 0:00 /usr/sbin/hcid -x
root 4652 0.0 0.0 1668 348 ? Ss Jan24 0:00 /usr/sbin/sdpd
root 4669 0.0 0.0 0 0 ? S< Jan24 0:00 [krfcommd]
root 4715 0.0 0.0 2192 620 ? Ss Jan24 0:00 /usr/sbin/cron
root 17330 0.0 0.1 28208 2248 ? Ss Jan25 0:02 /usr/sbin/spamd --create-prefs --max-children 5 --helper-home-dir -d --pidfile=/var/run/spamd.pid
root 17334 0.0 0.0 28208 1176 ? S Jan25 0:00 spamd child
root 17335 0.0 0.0 28208 1160 ? S Jan25 0:00 spamd child
root 1968 0.0 0.0 6636 488 ? Ss Jan25 0:00 /sbin/mount.smbfs //216.119.203.150/mp3 /media/frank -o rw username mp3
root 1974 0.0 0.0 0 0 ? S Jan25 1:00 [smbiod]
root 31343 0.0 0.0 1448 104 ? S Jan26 0:00 /usr/bin/vmnet-bridge -d /var/run/vmnet-bridge-0.pid /dev/vmnet0 eth0
root 31347 0.0 0.0 1452 104 ? S Jan26 0:00 /usr/bin/vmnet-bridge -d /var/run/vmnet-bridge-2.pid /dev/vmnet2 ath0
root 31352 0.0 0.3 18400 6924 ? Ss Jan26 2:26 /usr/sbin/vmware-serverd -s -d
root 15930 0.0 0.1 10732 2168 ? S Feb02 0:01 /usr/bin/artsd -F 10 -S 4096 -s 60 -m artsmessage -l 3 -f
root 16950 0.0 0.0 4944 816 ? Ss Feb02 0:02 /usr/sbin/sshd
root 25092 0.0 0.0 13084 1056 ? SNs Feb04 0:00 /usr/sbin/apache2 -k start -DSSL
root 23586 0.0 0.0 3456 1136 ? S Feb05 0:00 /sbin/wpa_supplicant -dd -g /var/run/wpa_supplicant-global
root 21526 0.0 0.0 0 0 ? S Feb06 0:01 [pdflush]
root 4529 0.0 0.0 0 0 ? S Feb06 0:00 [pdflush]
nickw 26142 0.0 0.5 19076 11408 ? TNL Feb07 0:00 atunnel -root
nickw 26170 0.0 0.5 19076 11400 ? TNL Feb07 0:00 atunnel -root
root 26203 0.0 0.1 12156 2484 ? S Feb07 0:00 /usr/sbin/gdm
root 26206 1.6 9.6 230616 201112 tty7 RLs+ Feb07 27:18 /usr/X11R6/bin/X :0 -br -audit 0 -auth /var/lib/gdm/:0.Xauth -nolisten tcp vt7
root 27146 0.0 0.0 6856 1364 ? Ss Feb07 0:03 /usr/sbin/nmbd -D
root 27148 0.0 0.1 9736 2256 ? Ss Feb07 0:00 /usr/sbin/smbd -D
root 27152 0.0 0.0 9736 924 ? S Feb07 0:00 /usr/sbin/smbd -D
root 26932 0.0 0.0 1652 612 ? SNs 07:35 0:00 /sbin/syslogd
root 30196 0.0 0.1 10000 2304 ? S 08:55 0:00 /usr/sbin/smbd -D
Eh...what would you call windows services?
Sure I ned Spam Assassin, it keeps my email clean in Evolution. I need my X server to have my desktop box usable for day to day tasks.Second, you're running X server. You're also running a lot of unnecessary crap such as the
Spam Assassin (which really doesn't do any good on a Linux box).
Third, you're not running a server. I specifically said Linux servers don't run any service as root. The guy I replied to said "ALL" OSes running a root service. That is simply not true.
who said we were talking servers?
nickw@ns2:~$ ps aux | grep root
root 1 0.0 0.1 1504 460 ? S 2006 0:02 init [2]
root 2 0.0 0.0 0 0 ? SN 2006 0:00 [ksoftirqd/0]
root 3 0.0 0.0 0 0 ? S< 2006 0:02 [events/0]
root 4 0.0 0.0 0 0 ? S< 2006 0:00 [khelper]
root 25 0.0 0.0 0 0 ? S< 2006 0:00 [kblockd/0]
root 46 0.0 0.0 0 0 ? S 2006 0:00 [pdflush]
root 47 0.0 0.0 0 0 ? S 2006 0:02 [pdflush]
root 49 0.0 0.0 0 0 ? S< 2006 0:00 [aio/0]
root 48 0.0 0.0 0 0 ? S 2006 0:00 [kswapd0]
root 191 0.0 0.0 0 0 ? S 2006 0:00 [kseriod]
root 295 0.0 0.0 0 0 ? S 2006 0:20 [kjournald]
root 542 0.0 0.0 0 0 ? S 2006 0:00 [kjournald]
root 543 0.0 0.0 0 0 ? S 2006 0:10 [kjournald]
root 784 0.0 0.0 0 0 ? S 2006 0:00 [khubd]
root 1883 0.0 0.3 2260 840 ? Ss 2006 0:16 /sbin/syslogd
root 1886 0.0 0.5 2432 1504 ? Ss 2006 0:00 /sbin/klogd
root 1904 0.0 0.9 29352 2444 ? Ss 2006 0:00 /usr/sbin/lwresd
root 1966 0.0 0.2 2240 728 ? Ss 2006 0:00 /usr/sbin/inetd
root 1981 0.0 0.3 2376 928 ? Ss 2006 0:00 /sbin/rpc.statd
root 1987 0.0 0.2 1756 716 ? Ss 2006 0:00 /usr/sbin/cron
root 2003 0.0 0.1 1500 484 tty1 Ss+ 2006 0:00 /sbin/getty 38400 tty1
root 2009 0.0 0.1 1500 484 tty2 Ss+ 2006 0:00 /sbin/getty 38400 tty2
root 2010 0.0 0.1 1500 484 tty3 Ss+ 2006 0:00 /sbin/getty 38400 tty3
root 2011 0.0 0.1 1500 484 tty4 Ss+ 2006 0:00 /sbin/getty 38400 tty4
root 2012 0.0 0.1 1500 484 tty5 Ss+ 2006 0:00 /sbin/getty 38400 tty5
root 2013 0.0 0.1 1500 484 tty6 Ss+ 2006 0:00 /sbin/getty 38400 tty6
root 8727 0.0 0.9 29352 2452 ? Ss 2006 0:00 /usr/sbin/lwresd
root 27743 0.0 0.5 3468 1504 ? Ss 2006 0:00 /usr/sbin/sshd
root 8089 0.0 0.9 29352 2444 ? Ss Jan30 0:00 /usr/sbin/lwresd
root 10072 0.0 0.7 6056 1832 ? Ss 13:44 0:00 sshd: nickw [priv]
nickw 10083 0.0 0.1 1548 472 pts/0 S+ 13:45 0:00 grep root
nickw@ns2:~$
that is my deb stable default + bind9 for NS...but nothing runs as root on that box, because it's a server.