From owner-freebsd-chat Fri Dec 7 21:42:29 2001 Delivered-To: freebsd-chat@freebsd.org Received: from picard.skynet.be (picard.skynet.be [195.238.3.131]) by hub.freebsd.org (Postfix) with ESMTP id 1FE8037B41D for ; Fri, 7 Dec 2001 21:42:14 -0800 (PST) Received: from [10.0.1.16] (ip-27.shub-internet.org [194.78.144.27] (may be forged)) by picard.skynet.be (8.11.6/8.11.6/Skynet-OUT-2.16) with ESMTP id fB85fvi10819; Sat, 8 Dec 2001 06:41:57 +0100 (MET) (envelope-from ) Mime-Version: 1.0 X-Sender: bs663385@pop.skynet.be Message-Id: In-Reply-To: <00de01c17fa1$06539e10$0a00000a@atkielski.com> References: <006c01c17f70$8782de50$0a00000a@atkielski.com> <00de01c17fa1$06539e10$0a00000a@atkielski.com> Date: Sat, 8 Dec 2001 06:40:58 +0100 To: "Anthony Atkielski" , "James Howard" , "Brad Knowles" From: Brad Knowles Subject: Re: A breath of fresh air.. Cc: "Konstantinos Konstantinidis" , Content-Type: text/plain; charset="us-ascii" ; format="flowed" Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org At 5:30 AM +0100 on 2001/12/08, Anthony Atkielski wrote: > How do you get out of the GUI and back to a simple console? Pull up a shell window. > Hmm ... so what are they using for a GUI? I thought one of the huge > advantages to UNIX was the variety of X servers and clients available, but > you seem to be saying that this Mac version of UNIX fails to adhere to > standards for its GUI. X is not necessarily a "standard", certainly not one that you are required to implement. I know of plenty of Unix servers around the world that don't implement any kind of GUI at all. Moreover, downloading and installing X is not that big of a deal. Indeed, I believe that there's a package management tool called "Fink" that makes this painfully easy. > Well, what daemons are running? I presume that this UNIX system provides > all the usual commands? What's running currently? I dunno, lemme pull up a shell window and see: % ps -ax PID TT STAT TIME COMMAND 1 ?? SLs 0:00.01 /sbin/init 2 ?? SL 0:04.31 /sbin/mach_init 41 ?? Ss 0:00.04 kextd 63 ?? Ss 0:05.20 /System/Library/Frameworks/ApplicationServices.framew 65 ?? Ss 21:54.90 /System/Library/CoreServices/WindowServer 67 ?? Ss 0:13.40 update 70 ?? Ss 0:00.00 dynamic_pager -H 40000000 -L 160000000 -S 80000000 -F 123 ?? Ss 0:00.64 /sbin/autodiskmount -va 148 ?? Ss 0:02.13 configd 178 ?? Ss 0:00.42 syslogd 184 ?? Ss 0:00.03 /usr/libexec/CrashReporter 206 ?? Ss 0:02.68 netinfod -s local 213 ?? Ss 0:02.64 lookupd 226 ?? Ss 0:01.49 /System/Library/CoreServices/coreservicesd 233 ?? Ss 0:00.01 inetd 250 ?? Ss 0:00.21 /System/Library/CoreServices/SecurityServer 258 ?? Ss 0:00.27 cron 262 ?? Ss 0:03.82 /System/Library/CoreServices/loginwindow.app/loginwin 265 ?? Ss 0:03.21 /System/Library/CoreServices/pbs 269 ?? S 0:04.57 /System/Library/CoreServices/Finder.app/Contents/MacO 270 ?? S 0:05.90 /System/Library/CoreServices/Dock.app/Contents/MacOS/ 271 ?? S 12:20.16 /System/Library/CoreServices/SystemUIServer.app/Conte 273 ?? S 0:00.33 /Applications/iTunes.app/Contents/Resources/iTunesHel 274 ?? R 30:53.20 /System/Library/CoreServices/Classic Startup.app/Cont 275 ?? S 42:42.92 /Applications/Eudora Application Folder/Eudora 5.1 (O 277 ?? S 0:10.79 /Applications/System Preferences.app/Contents/MacOS/S 278 ?? Ss 0:00.27 /System/Library/PrivateFrameworks/Admin.framework/Res 279 ?? S 0:02.80 /Applications/Utilities/Terminal.app/Contents/MacOS/T 299 ?? Ss 0:00.01 automount -m /Network/Servers -fstab -m /automount -s 394 ?? S Indeed, if it is a UNIX system in every sense of the word, how can you avoid > knowing whether or not it allows remote connections? Isn't there any > indication of this when the machine boots, before it starts the GUI? Well, according to netstat, only port 1033 is currently being listened to: % netstat -an Some ip sockets may have been created or deleted Some icmp sockets may have been created or deleted Some igmp sockets may have been created or deleted Active Internet connections (including servers) Proto Recv-Q Send-Q Local Address Foreign Address (state) tcp 0 0 127.0.0.1.1033 127.0.0.1.878 ESTABLISHED tcp 0 0 127.0.0.1.878 127.0.0.1.1033 ESTABLISHED tcp 0 0 127.0.0.1.1033 127.0.0.1.49161 ESTABLISHED tcp 0 0 127.0.0.1.49161 127.0.0.1.1033 ESTABLISHED tcp 0 0 127.0.0.1.1033 127.0.0.1.863 ESTABLISHED tcp 0 0 127.0.0.1.863 127.0.0.1.1033 ESTABLISHED tcp 0 60 127.0.0.1.1033 127.0.0.1.816 ESTABLISHED tcp 0 0 127.0.0.1.816 127.0.0.1.1033 ESTABLISHED tcp 0 0 127.0.0.1.1033 *.* LISTEN udp 0 0 *.49185 *.* udp 0 0 *.49180 *.* udp 0 0 *.49175 *.* udp 0 0 10.0.1.16.123 *.* udp 0 0 127.0.0.1.123 *.* udp 0 0 *.123 *.* udp 0 0 127.0.0.1.49155 127.0.0.1.899 udp 0 0 127.0.0.1.49154 127.0.0.1.899 udp 0 0 *.899 *.* udp 0 0 *.49153 *.* udp 0 0 127.0.0.1.1033 *.* udp 0 0 *.514 *.* udp 0 0 *.68 *.* Active LOCAL (UNIX) domain sockets Address Type Recv-Q Send-Q Inode Conn Refs Nextref Addr 28b6ab8 stream 0 0 0 28b6b28 0 0 28b6b28 stream 0 0 0 28b6ab8 0 0 28b6c78 stream 0 0 0 28b6e38 0 0 28b6e38 stream 0 0 0 28b6c78 0 0 28b6c08 stream 0 0 0 28b6c40 0 0 28b6c40 stream 0 0 0 28b6c08 0 0 28b6d20 stream 0 0 0 0 0 0 28b6e00 stream 0 0 0 28b6f50 0 0 28b6f50 stream 0 0 0 28b6e00 0 0 28b6ee0 stream 0 0 298c1e0 0 0 0 /var/run/pppconfd 28b6a48 dgram 0 0 0 28b6ea8 0 28b6af0 28b6af0 dgram 0 0 0 28b6ea8 0 28b6d90 28b6d90 dgram 0 0 0 28b6ea8 0 28b6f18 28b6f18 dgram 0 0 0 28b6ea8 0 28b6d58 28b6d58 dgram 0 0 0 28b6ea8 0 28b6dc8 28b6dc8 dgram 0 0 0 28b6ea8 0 28b6e70 28b6e70 dgram 0 0 0 28b6ea8 0 0 28b6ea8 dgram 0 0 2b23e50 0 28b6a48 0 /var/run/syslog 28b6f88 dgram 0 0 0 28b6fc0 28b6fc0 0 28b6fc0 dgram 0 0 0 28b6f88 28b6f88 0 But then, as I said, I haven't enabled any of the additional networking services (such as sshd), so you won't see those ports open. Of course, I'm also behind a firewall doing NAT, so even if you were to try to probe my machine remotely, you wouldn't see even this much. Since I haven't enabled sshd, I don't know if there is any notification early in the boot process -- it goes too quickly for me to see anything. Moreover, thinking back to all the hundreds and hundreds of other Unix servers that I have been responsible for at various times since becoming a Unix system administrator in 1989, I can't think of a single one that ever told me that it was listening for anything like telnet connections on port 23, ftp connections on ports 20 & 21, SMTP connections on port 25, or ssh connections on port 22. -- Brad Knowles, H4sICIFgXzsCA2RtYS1zaWcAPVHLbsMwDDvXX0H0kkvbfxiwVw8FCmzAzqqj1F4dy7CdBfn7 Kc6wmyGRFEnvvxiWQoCvqI7RSWTcfGXQNqCUAnfIU+AT8OZ/GCNjRVlH0bKpguJkxiITZqes MxwpSucyDJzXxQEUe/ihgXqJXUXwD9ajB6NHonLmNrUSK9nacHQnH097szO74xFXqtlbT3il wMsBz5cnfCR5cEmci0Rj9u/jqBbPeES1I4PeFBXPUIT1XDSOuutFXylzrQvGyboWstCoQZyP dxX4dLx0eauFe1x9puhoi0Ao1omEJo+BZ6XLVNaVpWiKekxN0VK2VMpmAy+Bk7ZV4SO+p1L/ uErNRS/qH2iFU+iNOtbcmVt9N16lfF7tLv9FXNj8AiyNcOi1AQAA To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message