Ran Code: Changed Priviledges, Services, System Files, HD etc.
I just wanted to print my login screen in Single User Mode, used codes I didn't write down (from off the internet, no less) and I cannot remember
ls | lpr
and/or
#/bin/sh
gnome - terminal
echo -n "new terminal"
please someone help me, i did something very stupid!!!
CRDs-MacBook-Pro-15:~ cat$ ls -a
. .bash_profile Music
.. Desktop Pictures
.CFUserTextEncoding Documents Public
.DS_Store Downloads Send Registration
.Trash Library Sites
.bash_history Movies ytb.uid
I ran a code I got off the internet and I am paying for it dearly. All application Services are no longer active. I am missing entire folders and pref. panes. I erased my partition, reinstalled 10.6 and it changed nothing. I cannot remember exactly what it was, however, it could be. Console says so many scary things:
013-03-28 08:48:12 -0700
**
** Starting System Migration - 2013-03-28 08:48:12 -0700 -
**
2013-03-28 08:48:12 -0700 Disabling TimeMachine during Migration
2013-03-28 08:48:12 -0700 ===== searchForValidSystems =====
2013-03-28 08:48:13 -0700 . Found disk (diskIdentifier=disk1, mountpoint=(null), isInternal=1, filesystem=(null))
2013-03-28 08:48:13 -0700 . Found disk (diskIdentifier=disk1s1, mountpoint=(null), isInternal=1, filesystem=(null))
2013-03-28 08:48:13 -0700 . Found disk (diskIdentifier=disk1s2, mountpoint=(null), isInternal=1, filesystem=(null))
2013-03-28 08:48:16 -0700 . Found disk (diskIdentifier=disk1s3, mountpoint=(null), isInternal=1, filesystem=HFS+ hfs Mac OS Extended Apple_HFS)
2013-03-28 08:48:16 -0700 . Found disk (diskIdentifier=disk0, mountpoint=(null), isInternal=1, filesystem=(null))
2013-03-28 08:48:16 -0700 . Found disk (diskIdentifier=disk0s1, mountpoint=(null), isInternal=1, filesystem=(null))
2013-03-28 08:48:16 -0700 . Found disk (diskIdentifier=disk0s2, mountpoint=/, isInternal=1, filesystem=Journaled HFS+ hfs Mac OS Extended (Journaled) Apple_HFS)
2013-03-28 08:48:16 -0700 V /: DSDB found.
2013-03-28 08:48:16 -0700 + Adding system /
2013-03-28 08:48:16 -0700 External Volume Appeared : [(null)] (W_NOT_SCANNED) (IS_Internal) (NOT_Mountable) (NOT_Mounted) (disk1)
2013-03-28 08:48:16 -0700 External Volume Appeared : [(null)] (W_NOT_SCANNED) (IS_Internal) (NOT_Mountable) (NOT_Mounted) (disk1s1)
2013-03-28 08:48:16 -0700 External Volume Appeared : [(null)] (W_NOT_SCANNED) (IS_Internal) (NOT_Mountable) (NOT_Mounted) (disk1s2)
2013-03-28 08:48:16 -0700 External Volume Appeared : [(null)] (W_NOT_SCANNED) (IS_Internal) (IS_Mountable) (NOT_Mounted) (disk1s3)
2013-03-28 08:48:16 -0700 External Volume Appeared : [(null)] (W_NOT_SCANNED) (IS_Internal) (NOT_Mountable) (NOT_Mounted) (disk0)
2013-03-28 08:48:16 -0700 External Volume Appeared : [(null)] (W_NOT_SCANNED) (IS_Internal) (NOT_Mountable) (NOT_Mounted) (disk0s1)
2013-03-28 08:48:16 -0700 External Volume Appeared : [/] (W_NOT_SCANNED) (IS_Internal) (IS_Mountable) (Mounted) (disk0s2)
2013-03-28 08:48:16 -0700 V /: DSDB found.
2013-03-28 08:48:16 -0700 + Adding system /
Thu Mar 28 08:46:12 PDT 2013
creating system keychain entries
...Generating key pair...
...creating certificate...
Serial Number : 6D 6E D5 92
Issuer Name :
Common Name : com.apple.systemdefault
Org : System Identity
Subject Name :
Common Name : com.apple.systemdefault
Org : System Identity
Cert Sig Algorithm : OID : < 06 09 2A 86 48 86 F7 0D 01 01 05 >
alg params : 05 00
Not Before : 15:46:13 Mar 28, 2013
Not After : 15:46:13 Mar 23, 2033
Pub Key Algorithm : OID : < 06 09 2A 86 48 86 F7 0D 01 01 01 >
alg params : 05 00
Pub key Bytes : Length 140 bytes : 30 81 89 02 81 81 00 D1 ...
CSSM Key :
Algorithm : RSA
Key Size : 1024 bits
Key Use : CSSM_KEYUSE_ENCRYPT CSSM_KEYUSE_VERIFY CSSM_KEYUSE_WRAP
Signature : 128 bytes : C4 4A 8D 39 EA 18 B1 8A ...
Extension struct : OID : < 06 03 55 1D 25 >
Critical : FALSE
purpose 0 : OID : < 06 09 2A 86 48 86 F7 63 64 04 04 >
..cert stored in Keychain.
..identity registered for domain com.apple.systemdefault.
...Generating key pair...
...creating certificate...
Serial Number : 03 8A 71 9D
Issuer Name :
Common Name : com.apple.kerberos.kdc
Org : System Identity
Subject Name :
Common Name : com.apple.kerberos.kdc
Org : System Identity
Cert Sig Algorithm : OID : < 06 09 2A 86 48 86 F7 0D 01 01 05 >
alg params : 05 00
Not Before : 15:46:14 Mar 28, 2013
Not After : 15:46:14 Mar 23, 2033
Pub Key Algorithm : OID : < 06 09 2A 86 48 86 F7 0D 01 01 01 >
alg params : 05 00
Pub key Bytes : Length 140 bytes : 30 81 89 02 81 81 00 CA ...
CSSM Key :
Algorithm : RSA
Key Size : 1024 bits
Key Use : CSSM_KEYUSE_ENCRYPT CSSM_KEYUSE_VERIFY CSSM_KEYUSE_WRAP
Signature : 128 bytes : 19 40 CF EA 37 48 FD 4C ...
Extension struct : OID : < 06 03 55 1D 25 >
Critical : FALSE
purpose 0 : OID : < 06 09 2A 86 48 86 F7 63 64 04 04 >
..cert stored in Keychain.
..identity registered for domain com.apple.kerberos.kdc.
edu.mit.Kerberos.krb5kdc: Already loaded
added /usr/sbin/krb5kdc to acl for com.apple.kerberos.kdc
/usr/sbin/kadmin.local-q add_principal -randkey afpserver/LKDC:SHA1.A171235E69B033DF6525F5B076DB5BC9BD29022C@LKDC:SHA1.A171235E 69B033DF6525F5B076DB5BC9BD29022C
WARNING: no policy specified for afpserver/LKDC:SHA1.A171235E69B033DF6525F5B076DB5BC9BD29022C@LKDC:SHA1.A171235E 69B033DF6525F5B076DB5BC9BD29022C; defaulting to no policy
Authenticating as principal root/admin@LKDC:SHA1.A171235E69B033DF6525F5B076DB5BC9BD29022C with password.
Principal "afpserver/LKDC:SHA1.A171235E69B033DF6525F5B076DB5BC9BD29022C@LKDC:SHA1.A171235 E69B033DF6525F5B076DB5BC9BD29022C" created.
/usr/sbin/kadmin.local-q ktadd afpserver/LKDC:SHA1.A171235E69B033DF6525F5B076DB5BC9BD29022C@LKDC:SHA1.A171235E 69B033DF6525F5B076DB5BC9BD29022C
Authenticating as principal root/admin@LKDC:SHA1.A171235E69B033DF6525F5B076DB5BC9BD29022C with password.
Entry for principal afpserver/LKDC:SHA1.A171235E69B033DF6525F5B076DB5BC9BD29022C@LKDC:SHA1.A171235E 69B033DF6525F5B076DB5BC9BD29022C with kvno 3, encryption type Triple DES cbc mode with HMAC/sha1 added to keytab WRFILE:/etc/krb5.keytab.
Entry for principal afpserver/LKDC:SHA1.A171235E69B033DF6525F5B076DB5BC9BD29022C@LKDC:SHA1.A171235E 69B033DF6525F5B076DB5BC9BD29022C with kvno 3, encryption type AES-128 CTS mode with 96-bit SHA-1 HMAC added to keytab WRFILE:/etc/krb5.keytab.
Entry for principal afpserver/LKDC:SHA1.A171235E69B033DF6525F5B076DB5BC9BD29022C@LKDC:SHA1.A171235E 69B033DF6525F5B076DB5BC9BD29022C with kvno 3, encryption type AES-256 CTS mode with 96-bit SHA-1 HMAC added to keytab WRFILE:/etc/krb5.keytab.
/usr/bin/defaults write /Library/Preferences/com.apple.AppleFileServer kerberosPrincipal afpserver/LKDC:SHA1.A171235E69B033DF6525F5B076DB5BC9BD29022C@LKDC:SHA1.A171235E 69B033DF6525F5B076DB5BC9BD29022C
/usr/sbin/kadmin.local-q add_principal -randkey cifs/LKDC:SHA1.A171235E69B033DF6525F5B076DB5BC9BD29022C@LKDC:SHA1.A171235E69B03 3DF6525F5B076DB5BC9BD29022C
WARNING: no policy specified for cifs/LKDC:SHA1.A171235E69B033DF6525F5B076DB5BC9BD29022C@LKDC:SHA1.A171235E69B03 3DF6525F5B076DB5BC9BD29022C; defaulting to no policy
Authenticating as principal root/admin@LKDC:SHA1.A171235E69B033DF6525F5B076DB5BC9BD29022C with password.
Principal "cifs/LKDC:SHA1.A171235E69B033DF6525F5B076DB5BC9BD29022C@LKDC:SHA1.A171235E69B0 33DF6525F5B076DB5BC9BD29022C" created.
/usr/sbin/kadmin.local-q ktadd cifs/LKDC:SHA1.A171235E69B033DF6525F5B076DB5BC9BD29022C@LKDC:SHA1.A171235E69B03 3DF6525F5B076DB5BC9BD29022C
Authenticating as principal root/admin@LKDC:SHA1.A171235E69B033DF6525F5B076DB5BC9BD29022C with password.
Entry for principal cifs/LKDC:SHA1.A171235E69B033DF6525F5B076DB5BC9BD29022C@LKDC:SHA1.A171235E69B03 3DF6525F5B076DB5BC9BD29022C with kvno 3, encryption type Triple DES cbc mode with HMAC/sha1 added to keytab WRFILE:/etc/krb5.keytab.
Entry for principal cifs/LKDC:SHA1.A171235E69B033DF6525F5B076DB5BC9BD29022C@LKDC:SHA1.A171235E69B03 3DF6525F5B076DB5BC9BD29022C with kvno 3, encryption type AES-128 CTS mode with 96-bit SHA-1 HMAC added to keytab WRFILE:/etc/krb5.keytab.
Entry for principal cifs/LKDC:SHA1.A171235E69B033DF6525F5B076DB5BC9BD29022C@LKDC:SHA1.A171235E69B03 3DF6525F5B076DB5BC9BD29022C with kvno 3, encryption type AES-256 CTS mode with 96-bit SHA-1 HMAC added to keytab WRFILE:/etc/krb5.keytab.
/usr/bin/defaults write /Library/Preferences/SystemConfiguration/com.apple.smb.server LocalKerberosRealm LKDC:SHA1.A171235E69B033DF6525F5B076DB5BC9BD29022C
/usr/sbin/kadmin.local-q add_principal -randkey vnc/LKDC:SHA1.A171235E69B033DF6525F5B076DB5BC9BD29022C@LKDC:SHA1.A171235E69B033 DF6525F5B076DB5BC9BD29022C
WARNING: no policy specified for vnc/LKDC:SHA1.A171235E69B033DF6525F5B076DB5BC9BD29022C@LKDC:SHA1.A171235E69B033 DF6525F5B076DB5BC9BD29022C; defaulting to no policy
Authenticating as principal root/admin@LKDC:SHA1.A171235E69B033DF6525F5B076DB5BC9BD29022C with password.
Principal "vnc/LKDC:SHA1.A171235E69B033DF6525F5B076DB5BC9BD29022C@LKDC:SHA1.A171235E69B03 3DF6525F5B076DB5BC9BD29022C" created.
/usr/sbin/kadmin.local-q ktadd vnc/LKDC:SHA1.A171235E69B033DF6525F5B076DB5BC9BD29022C@LKDC:SHA1.A171235E69B033 DF6525F5B076DB5BC9BD29022C
Authenticating as principal root/admin@LKDC:SHA1.A171235E69B033DF6525F5B076DB5BC9BD29022C with password.
Entry for principal vnc/LKDC:SHA1.A171235E69B033DF6525F5B076DB5BC9BD29022C@LKDC:SHA1.A171235E69B033 DF6525F5B076DB5BC9BD29022C with kvno 3, encryption type Triple DES cbc mode with HMAC/sha1 added to keytab WRFILE:/etc/krb5.keytab.
Entry for principal vnc/LKDC:SHA1.A171235E69B033DF6525F5B076DB5BC9BD29022C@LKDC:SHA1.A171235E69B033 DF6525F5B076DB5BC9BD29022C with kvno 3, encryption type AES-128 CTS mode with 96-bit SHA-1 HMAC added to keytab WRFILE:/etc/krb5.keytab.
Entry for principal vnc/LKDC:SHA1.A171235E69B033DF6525F5B076DB5BC9BD29022C@LKDC:SHA1.A171235E69B033 DF6525F5B076DB5BC9BD29022C with kvno 3, encryption type AES-256 CTS mode with 96-bit SHA-1 HMAC added to keytab WRFILE:/etc/krb5.keytab.
LKDC:SHA1.A171235E69B033DF6525F5B076DB5BC9BD29022C
THERE IS MORE AND MORE AND MORE. PLEASE HELP ME. WHAT COMMAND OR SHELL CAN I RUN TO PUT THINGS BACK?
Mac OS X (10.6.3), Ext HD has 10.4 and 10.6