# pfiles <PID>
# pmap <PID>
p/s: just found out how to put <, > in blogger.
# pfiles <PID>
# pmap <PID>
XSCF>
Display all 150 possibilities? (y or n)
XSCF> showdomainstatus -a
DID Domain Status
00 Running
01 -
XSCF> console -d 00
Connect to DomainID 0?[y|n] :
# sysdef | grep -i s[eh]m/etc/system and reboot.
Nov 22 06:41:42 myhost inetd[27129]: [ID 702911 daemon.error] Failed to retrieve method context for the inetd_start method of instance svc:/network/omni/tcp:default: Could not interpret group property.
# svcprop network/omni/tcp | grep group
inetd_start/group astring root
# grep root /etc/group
other::1:root
bin::2:root,daemon
sys::3:root,bin,adm
adm::4:root,daemon
mail::6:root
tty::7:root,adm
lp::8:root,adm
daemon::12:rootroot::0:
root@aidil:~# mesg
is n
root@aidil:~# mesg y
root@aidil:~# mesg
is y

usb-modeswitch/etc/usb_modeswitch.conf must exists & contain everything below:DefaultVendor= 0x12d1
;DefaultProduct= 0x1003
DefaultProduct= 0x1446
;DetachStorageOnly=1
;HuaweiMode=1
MessageEndpoint=0x01
MessageContent="55534243000000000000000000000011060000000000000000000000000000"/etc/udev/rules.d/15-huawei-e1762.rule also must exists with this content:SUBSYSTEM=="usb", SYSFS{idProduct}=="1446", SYSFS{idVendor}=="12d1", RUN+="/usr/sbin/usb_modeswitch"sudo apt-get install flashplugin-nonfreelibflashplayer.so sits inside /usr/lib/chromium-browser/plugins/
a:hover {text-decoration:underline; color:#036;}
/sbin/init.d # ./secsh start
Privilege separation user sshd does not exist
EXIT CODE: 255/sbin/init.d # useradd -u 103 -c "sshd privsep" -d /var/empty -s /bin/false sshd
isempty()
{
NAME=$1
if [ -n $NAME ]; then echo not empty!
else echo it is empty!
fi
}
echo "name: \c"
read name
isempty $name
STYLE = {
"default" : "\033[m",
# styles
"bold" : "\033[1m",
"underline" : "\033[4m",
"blink" : "\033[5m",
"reverse" : "\033[7m",
"concealed" : "\033[8m",
# font colors
"black" : "\033[30m",
"red" : "\033[31m",
"green" : "\033[32m",
"yellow" : "\033[33m",
"blue" : "\033[34m",
"magenta" : "\033[35m",
"cyan" : "\033[36m",
"white" : "\033[37m",
# background colors
"on_black" : "\033[40m",
"on_red" : "\033[41m",
"on_green" : "\033[42m",
"on_yellow" : "\033[43m",
"on_blue" : "\033[44m",
"on_magenta" : "\033[45m",
"on_cyan" : "\033[46m",
"on_white" : "\033[47m"
}
\a write an alert character
\b backspace
\c print line without appending a new-line
\f form-feed
\n new-line
\r carriage return
\t tab
\v vertical tab
\\ backslash
\n the 8-bit character whose ASCII code is the 1-, 2-, 3-
or 4-digit octal number n, whose first character must
be a zero.
\0num write an 8-bit value that is the zero-, one-, two- or
three-digit octal number num
# vmkfstools -X 60G virtualdiskiwanttoextend.vmdkDWORD name is EnableAppearOffline, type is REG_DWORD and location is My Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Communicator.
Host * ProxyCommand connect -S socks.proxy.la %h %p Host * ProxyCommand connect -S socks.proxy.la %h %pmysql>" prompt, type:set password = password("yournewpassword");Sent from my iPhone
P/s: mood is unhappy because my huge hfs filesystem is corrupt due to
improper usb removal

Now, with VirtualBox, she keep a copy of an uninfected Windows. She
still need it I for her iPod because iTunes doesn't work well with
Wine. But still a few issue she face - USB & Shared Folder in
VirtualBox.
plutil -convert xml1 some_file.plistplutil -convert binary1 some_other_file.plist
To check, use file something.plist
EDITOR=`which vi`; export EDITORecho "stty erase ^H
stty kill ^U
stty intr ^C
TERM=vt100
EDITOR=`which vi`
export TERM EDITOR" >> ~/.profile
Hostname: ssh_server
X display location: localhost:0
Source port: 5901
Destination: vnc_server:5900localhost:1
# su - pgsql
$ initdb -D /usr/local/pgsql/data (if only doesn't exist)
$ postgres -D /usr/local/pgsql/data >logfile 2>&1 &
$ createdb test
$ psql test/usr/local/binrc.conf
[bambino@bambino ~]$ sudo apachectl start
[Mon Jul 21 14:42:39 2008] [warn] (2)No such file or directory: Failed to enable the 'httpready' Accept Filter
[bambino@bambino ~]$ sudo kldload accf_http
[bambino@bambino ~]$ sudo apachectl restart
[bambino@bambino ~]$
mail RECIPIENTmail RECIPIENT -c CCPERSONmail -Hmail -Fci -u example.confco -l example.confci -u example.conf
$ mysqladmin -u root password NEWPASSWORD
$ mysqladmin -u root -p OLDPASSWORD NEWPASSWORD
$ mysql -u root -p PASSWORD
mysql> use mysql;
mysql> update user set password=OLDPASSWORD("NEWPASSWORD") where User='USERNAME';
mysql> flush privileges;
mysql> quit
ps aux | grep amanyus | grep Dock and kill the Dock's process without bothering with awk command =pdrwx------+ 6 diradmin staff 204 May 25 16:36 Desktop
drwx------+ 22 diradmin staff 748 May 19 09:45 Documents
drwx------+ 109 diradmin staff 3706 May 25 18:52 Downloads
drwx------+ 42 diradmin staff 1428 May 19 09:18 Library
drwx------+ 9 diradmin staff 306 May 25 17:13 Movies
drwx------+ 5 diradmin staff 170 May 13 13:00 Music
drwx------+ 11 diradmin staff 374 May 25 15:40 Pictures
drwxr-xr-x+ 5 diradmin staff 170 May 14 08:58 Public
drwxr-xr-x+ 11 diradmin staff 374 May 23 00:06 Sites
drwxr-xr-x@ 314 diradmin staff 10676 May 26 09:47 mp3drwx------+ 6 amanyus staff 204 May 25 16:36 Desktop
drwx------+ 22 amanyus staff 748 May 19 09:45 Documents
drwx------+ 109 amanyus staff 3706 May 25 18:52 Downloads
drwx------+ 42 amanyus staff 1428 May 19 09:18 Library
drwx------+ 9 amanyus staff 306 May 25 17:13 Movies
drwx------+ 5 amanyus staff 170 May 13 13:00 Music
drwx------+ 11 amanyus staff 374 May 25 15:40 Pictures
drwxr-xr-x+ 5 amanyus staff 170 May 14 08:58 Public
drwxr-xr-x+ 11 amanyus staff 374 May 23 00:06 Sites
drwxr-xr-x@ 314 amanyus staff 10676 May 26 09:47 mp3
amanyus:log root# host amanyus.puj52
;; connection timed out; no servers could be reachedamanyus:log root# nslookup amanyus.puj52
Server: 127.0.0.1
Address: 127.0.0.1#53
Name: amanyus.puj52
Address: 192.168.1.14
amanyus:log root# host amanyus.puj52
amanyus.puj52 has address 192.168.1.14
amanyus:etc root# sudo changeip -checkhostname
Primary address = 192.168.1.12
Current HostName = amanyus.puj52
The DNS hostname is not available, please repair DNS and re-run this tool.
May 22 19:33:34 amanyus org.apache.httpd[96895]: httpd: Syntax error on line 143 of /private/etc/apache2/httpd.conf: Cannot load /usr/libexec/apache2/libphp5.so into server: dlopen(/usr/libexec/apache2/libphp5.so, 10): no suitable image found. Did find:\n\t/usr/libexec/apache2/libphp5.so: mach-o, but wrong architecture
May 22 19:33:34 amanyus com.apple.launchd[1] (org.apache.httpd[96895]): Exited with exit code: 1
May 22 19:33:34 amanyus com.apple.launchd[1] (org.apache.httpd): Throttling respawn: Will start in 10 seconds
$ cd /Volumes/Mac\ OS\ X\ Server\ Install\ Disc/System/Installation/Packages/
$ open .
May 22 19:33:34 amanyus org.apache.httpd[96895]: httpd: Syntax error on line 143 of /private/etc/apache2/httpd.conf: Cannot load /usr/libexec/apache2/libphp5.so into server: dlopen(/usr/libexec/apache2/libphp5.so, 10): no suitable image found. Did find:\n\t/usr/libexec/apache2/libphp5.so: mach-o, but wrong architecture
May 22 19:33:34 amanyus com.apple.launchd[1] (org.apache.httpd[96895]): Exited with exit code: 1
May 22 19:33:34 amanyus com.apple.launchd[1] (org.apache.httpd): Throttling respawn: Will start in 10 seconds
/private/etc/apache2/httpd.conf. It runs but without php support. So localhost:80 show a nice Server webpage. I also notice that my computer automatically downloads a php source hehe. Because it is un-identifiable.


For decoration only.








May 16 15:13:59 amanyus ReportCrash[6560]: Formulating crash report for process Finder[226]
May 16 15:13:59 amanyus com.apple.launchd[207] ([0x0-0xb00b].com.apple.finder[226]): Exited abnormally: Segmentation fault
May 16 15:14:02 amanyus mDNSResponder[30]: SetupAddr invalid sa_family 0
May 16 15:14:03: --- last message repeated 1 time ---
May 16 15:14:03 amanyus ReportCrash[6560]: Saved crashreport to /Users/amanyus/Library/Logs/CrashReporter/Finder_2008-05-16-151352_amanyus.crash using uid: 1000 gid: 20, euid: 1000 egid: 20shift + command + delete when your Finder is active.sudo mdutil -a -isudo mdutil -a -s

