Labels

Friday, August 15, 2014

Ubuntu log-in screen


Here is what /etc/lightdm/lightdm.conf looks like to remove the list of users, require users to type in their usernames to log-in, and not allow guest or remote log-ins to Ubuntu.

UPDATE: On Ubuntu 13.10 the lightdm.conf file might need to be created.
UPDATE: On Ubuntu 14.04 the lightdm.conf file might need to be created.

[SeatDefaults]
allow-guest=false
greeter-show-manual-login=true
greeter-hide-users=true
show-remote-login=false

Friday, April 25, 2014

PowerBroker Identity Services (formerly Likewise Open) on Ubuntu server

*Likewise Open is no longer available.  It has been taken over by BeyondTrust and is called PowerBroker® Identity Services, Open Edition
Here are the steps I took to get PowerBroker Identity Services, Open Edition onto Ubuntu Server.
Versions:
  • Ubuntu Server 14.04 64-bit
  • PBIS Open 8.0.0.2016 - Stable Release
  1. Log-in to server with sudo privileges
  2. Be sure ssh server is installed
  3. Download PowerBroker® Identity Services, Open Edition 
  4. Make script executable
      $chmod +x pbis-open-8.0.0.2016.linux.x86_64.deb.sh
  5. Execute install script and follow istructions 
      $sudo ./pbis-open-8.0.0.2016.linux.x86_64.deb.sh
  6. Join the domain
      $sudo domainjoin-cli join <domain name> <domain admin user>
  7. Change default shell for domain users to bash
      $sudo /opt/pbis/bin/config LoginShellTemplate /bin/bash
  8. If you would like, set the domain as default (not require <domain>\ to precede username for domain logins)
      $sudo /opt/pbis/bin/config AssumeDefaultDomain true
  9. Add domain users to necessary groups in /etc/group (sudo for the admin users)
  10. Clear cache
      $sudo /opt/pbis/bin/ad-cache --delete-all
  11. Apply fix: Edit /etc/pam.d/common-session and change "session sufficient" line to
      session [success=ok default=ignore] pam_lsass.so
  12. Reboot and login with domain user

Tuesday, February 25, 2014

Audio virus (Trojan.Zekos.Patchedww2)

A user experienced a problem where their laptop would play audio ads when started.

OS: Windows Vista

After trying all the usual tools the audio ads continued to play.  Running Malwarebytes Anti-Rootkit BETA v1.07.0.1009 found a virus (Trojan.Zekos.Patchedwv2) in C:\Windows\System32\rpcss.dll.


Other symptoms:
  • DCOM Launcher and PlugPlay services have high CPU utilization
  • Vista restarts with message "Windows must now restart because the DCOM Server Process Launcher service terminated unexpectedly".  This message does not allow you to prevent the machine from rebooting, the only option is "Close"
Other steps tried (unsucessfully):
  • Malwarebytes (regular version)
  • Every pertinent tool on Hiren Rescue CD
  • Panda Antivirus scan
  • Kapersky TDSSKiller
  • RKill

Tuesday, January 14, 2014

Glassfish deployment issue: "Could not load any resource bundle by...."

While attempting to redeploy a web project to Glassfish the following error occurred:
"Could not load any resource bundle by com.sun.org.apache.xerces.internal.impl.msg.XMLSchemaMessages"
When trying to restart the Glassfish domain it ran into errors and would not start.  After some troubleshooting the problem turned out to be with the Glassfish server not Glassfish or the project.  It turns out that a teammate ran into some problems while running updates on the Ubuntu server that was hosting Glassfish and that caused java to be temporarily uninstalled (which would obviously cause problems for the java application server).  After re-running the updates, rebooting, then re-running updates again (not sure if all of these steps were necessary) the  Glassfish domain was able to start and deployment of the project worked with no errors.