Sep 14

This happened when my AD account was deleted and then re-established using the same username.

 

  1. Login to the affected profile
  2. Run Terminal
    1. run “id -u” to get the new user id
    2. run “id -g” to get the new group id
    3. run “sudo chown -R <the userid found in sub-step 1 above>:<the groupid found in sub-step 1 above> /Users/<username>
    4. run “sudo chown -R <the userid found in sub-step 1 above>:<the groupid found in sub-step 1 above> ~/Library
  3. Reboot
Share
Sep 05

Macbook Air was draining battery while it was supposed to be sleeping.  When I ran a “pmset -g” in terminal it told me “sleep prevented by AddressBookSourceSync”.  I don’t use the Apple Contacts, but I do use google.  So I went into Internet Account settings and removed the google account.

Share
Feb 15

Have a PC that is crawling with malware.  Tron is your friend!  https://www.reddit.com/r/TronScript/

Share
Feb 15

This problem always seems to pop up when there is a power outage or I am installing an new HP printer.  I believe it is trying to load the driver/software usb disk, which is not formatted for Mac.  Neither un-pugging/plugging the USB nor turning the printer on/off worked.  The solution is to unplug the usb, then turn the printer on and wait for it to fully turn on.  So both the computer and the printer are fully on.  Then plug the USB in.  Presto!

Share
Oct 09

Open Finder, Disk Utility and Open Terminal.  In terminal type “dd if=” and then drag the iso from Finder to the terminal window, that will fill in the path.  Then space and type “of=” and drag the mounted usb partition from finder to the Terminal windows to again fill the path.  Then in your Disk Utility, Unmount the USB Partition (Unmount, NOT Eject).  Then back in your terminal window, hit enter.  Done.

So your command should look like this “dd if=/Users/user/Downloads/SW_DVD5_Win_Pro_7w_SP1.ISO of=/Volumes/USB”

 

Share
Mar 06

Trying to mount a windows share into Ubuntu 16.04 LTS.  I could run the following command just fine:

sudo mount -t cifs -o domain=workgroupname,username=myname,password=mypassword //192.168.1.15/music /media/music

But of course would lose the map on reboot.  So install “sudo apt-get install cifs-utils” and then Everytime I tried to add to fstab and “sudo mount -a” I would get the mount error(13) permission denied.

What fixed it was changing the sec on my command to “ntlmsspi”.  Hope this helps someone else.  So my command in fstab (/etc/fstab) is

//192.168.1.15/music /media/music cifs username=myname,domain=workgroupname,password=mypassword,
iocharset=utf8,sec=ntlmsspi 0 0

Now that you have this working you need to create a .smbcredentials file in the /root directory to contain and hide my credentials,

Enter your Windows username and password in the file:

username=msusername
password=mspassword
domain=workgroupordomain

“sudo chmod 700” that file.  and change the fstab line command to :

//192.168.1.15/music /media/music cifs credentials=/root/.smbcredentials,iocharset=utf8,sec=ntlmsspi 0 0


Share
Jan 18

I won’t get into the security implications of doing this, but just the 2 methods I have found to get it done.  My use case was a simple single digital sign that no one had physical access to, and popped this up on every scheduled or unscheduled reboot.

  1. If you don’t mind entering a password on boot, then go to User Accounts and set “automatic login” to off.
  2. If you want it to auto login and still not ask for the login keyring (again forgoing the security lecture), go into your “Startup Programs” and uncheck the Keyrings from starting.

 

Share
Jun 09
  1. Boot with Knoppix live disk or usb
  2. Open a terminal window in Knoppix
  3. Type “sudo sfdisk -l” to see what your Windows disk is mounted as (example – sda1)
  4.  Then navigate to the Windows folder of that drive (sda1 in this example): “cd /media/sda1/Windows/System32/config”
  5. Then Type “sudo chntpw SAM”  – and from there you can Clear password, Edit Password, Promote User and unlock accounts
    1. Note: if chntpw is not on your Knoppix version, just issue this command “sudo apt-get install chntpw” and repeat step 5
  6. Type “q” for quit and save the SAM file

 

Advanced

  • To list all the users you can change the password on do “sudo chntpwd -l SAM” before step 5 above
  • Then you can change a specific user by typing sudo chntpwd -u “Username” SAM – where Username is the actual username
Share
Jun 09
  1. Boot with Knoppix live disk or usb
  2. Open a terminal window in Knoppix
  3. Type “sudo sfdisk -l” to see what your disk (that you want to wipe) is mounted as (example – sda1)
  4. Type “sudo shred -vfz -n 100 /dev/sda1” – IMPORTANT – Substitute the disk name learned from above command.  Note that the 100 is the number of passes (and can be changed)
Share
May 06

1.    Click on Start > All Programs > Accessories > Run > Type %Programdata% and Click OK

2.    Rename the ‘Microsoft Help’ folder as ‘Microsoft Help. OLD’

Install Office as normal

Share