Power Down Your Computer On 27 Aug 2008
HP, Intel and Citrix have joined forces in a commitment to save energy, but we need your help. On August 27, power down your computer, monitor, and printer at the end of the day. We’ll calculate the number of people who Power IT Down, and post the results on this page. Plus, we’ll donate a portion of the cost savings to the American Red Cross of the National Capital Area. Do it for the environment. Do it for the next generation. But first, do it just for one day.
Don’t forget to join us and Power IT Down on August 27, 2008. Register now to receive an email reminder.
Possibly Related Posts:
- MSC Malaysia Fully Sponsored 3D Animation Course
- 2009 Metrics
- Happy Deepavali 2009
- Selamat Hari Raya 2009
- Debian GNU/Linux 5.0 released
Red Hat webcast UNIX to Linux- Rearchitecting for the Future
UNIX to Linux: Rearchitecting for the future.
Time: 2 p.m. EDT
Speaker: Joel Berman, Director Marketing Strategy, Red Hat
Erich Morisse, Marketing Manger, Red Hat
Want to get more consistency and speed from your systems? Learn about migrating to Linux, the cost-effective solution to making your systems more horizontally scalable.
Possibly Related Posts:
- lppasswd: Unable to open passwd file: Permission denied
- Missing /var/log/lastlog
- Telnet service_limit error
- How to Add Date And Time To Your Bash History on SuSE Linux
- RPM Segmentation Fault
SSH problem
I can’t login to the server using SSH and the TELNET service is NOT enable by default. Thanks god, I have DELL DRAC enable, I managed to login using console.
I’m getting an error messages in /var/log/messages and SSH connection refused error on one of my SuSE Linux box as below:
Aug 2 16:20:05 planetmy sshd[22531]: fatal: /var/lib/empty must be owned by root and not group or world-writable.
Aug 20 16:20:06 planetmy sshd[22546]: fatal: /var/lib/empty must be owned by root and not group or world-writable.
Aug 20 16:20:19 planetmy sshd[22797]: fatal: /var/lib/empty must be owned by root and not group or world-writable.
Aug 20 16:20:47 planetmy sshd[22838]: fatal: /var/lib/empty must be owned by root and not group or world-writable.
Aug 20 16:21:37 planetmy sshd[23598]: fatal: /var/lib/empty must be owned by root and not group or world-writable.
I found one of the stupid guy issue chmod 755 command in /var/log/messages:
Aug 20 16:15:37 planetmy sudo: username1 : TTY=pts/63 ; PWD=/ ; USER=root ; COMMAND=/usr/bin/ find ./ -type d -exec chmod 775 {}
Basically he try to changed all folder with permission 775(rwxrwxr-x) on Linux server.
Looking at man 8 sshd:
/var/lib/empty
chroot(2) directory used by sshd during privilege separation in the pre-authentication phase. The directory should not contain any files and must be owned by root and not group or world- writable.
Possibly Related Posts:
- How to add Dell PERC Drivers into VMware Converter Cold Clone ISO
- Top 10 Free Anti Virus
- Microsoft SQL 2008 Agent not starts
- VMware Workstation 7 Serial Key
- WP Contact Form III – You do not have sufficient permissions to access this page Error
Basic vmware-cmd VM Management tips
Sometimes using a command line is much more faster than using GUI. Personally I found VMware Virtual Center always have bugs. The following article will guide you how to use vmware-cmd VM management tool for some basic VMware administrative tasks.
The figure below illustrates states, transitions, and state changing commands for virtual machines.

List path and names of registered VM guest vmx files on the present host
For an example:
# vmware-cmd -l
/vmfs/volumes/473ddda7-2a53d446-x25b-001aa0288d45/SLES9/SLES9.vmx
/vmfs/volumes/473ddd52-a6f731ac-3125-001aa0288d45/SLES10/SLES10.vmx
/vmfs/volumes/473dde07-d8a0f854-rqqa-001aa0288d45/WIN2K3-01/WIN2K3-01.vmx
/vmfs/volumes/473dde07-d8a0f854-eqqa-001aa0288d45/WIN2K3-02/WIN2K3-02.vmx
/vmfs/volumes/47f0819a-9f092588-548c-0015174a435a/WIN2K8-01/WIN2K8-01.vmx
/vmfs/volumes/473daqws-2a53d446-625x-001aa0288d45/WINXP-01/WINXP-01.vmx
VMware ESX provide basic power state options include:
Power on — Powers up the virtual machine and boots the guest operating system if the guest operating system is installed. How to power on VM guest using command line:
#/usr/bin/vmware-cmd /vmfs/volumes/473dde07-d8a0f854-rqqa-001aa0288d45/WIN2K3-01/WIN2K3-01.vmx start
Power off — Powers down the virtual machine. The virtual machine does not attempt to gracefully shut down the guest operating system. How to power off VM guest using command line:
#/usr/bin/vmware-cmd /vmfs/volumes/473dde07-d8a0f854-rqqa-001aa0288d45/WIN2K3-01/WIN2K3-01.vmx stop
Suspend — Pauses the virtual machine activity. All transactions are frozen until you issue a Resume command. How to suspend VM guest using command line:
#/usr/bin/vmware-cmd /vmfs/volumes/473ddda7-2a53d446-x25b-001aa0288d45/SLES9/SLES9.vmx suspend
Resume — Allows virtual machine activity to continue, and releases the Suspended state. How to resume VM guest using command line:
#/usr/bin/vmware-cmd /vmfs/volumes/473ddda7-2a53d446-x25b-001aa0288d45/SLES9/SLES9.vmx resume
Reset —Powers down the virtual machine and restarts it. How to reset VM guest using command line:
#/usr/bin/vmware-cmd /vmfs/volumes/473dde07-d8a0f854-rqqa-001aa0288d45/WIN2K3-01/WIN2K3-01.vmx reset
How to check VM guest power state
#/usr/bin/vmware-cmd /vmfs/volumes/473dde07-d8a0f854-rqqa-001aa0288d45/WIN2K3-01/WIN2K3-01.vmx getstate
Read more
Possibly Related Posts:
- How to add Dell PERC Drivers into VMware Converter Cold Clone ISO
- Top 10 Free Anti Virus
- How to Install Webmin on OpenFiler
- Microsoft SQL 2008 Agent not starts
- VMware Workstation 7 Serial Key
Using Active Directory for SuSE Linux 10 Authentication
My previous post about How to Authenticate to Active Directory on SuSE Linux 9 & How to join Fedora Core 6 Samba Server to Windows 2003 Active Directory talked about using Microsoft Active Directory(AD) for Linux authentication. Yes! Linux & Microsoft can be friends.
Now we talk about SuSE Linux 10 and Microsoft AD authentication.
Basically everything are same as SLES 9 except PAM configurations.
Note: The setup running on SLES10 SP2 (It should be work on SP1)
Below are PAM configuration for SLES10:
/etc/pam.d/common-password
password sufficient pam_winbind.so
password required pam_pwcheck.so nullok
password required pam_unix2.so nullok use_authtok
/etc/pam.d/common-account
account required pam_unix2.so
/etc/pam.d/common-session
session optional pam_mkhomedir.so
session required pam_limits.so
session required pam_unix2.so
/etc/pam.d/common-auth
auth required pam_env.so
auth required pam_unix2.so
/etc/pam.d/passwd
auth include common-auth
account include common-account
password include common-password
session include common-session
/etc/pam.d/sshd
auth include common-auth
auth required pam_nologin.so
account include common-account
password include common-password
session include common-session
/etc/pam.d/login
auth required pam_securetty.so
auth include common-auth
auth required pam_nologin.so
account include common-account
password include common-password
session include common-session
session required pam_lastlog.so nowtmp
session required pam_resmgr.so
session optional pam_mail.so standard
/etc/pam.d/su
auth sufficient pam_rootok.so
auth include common-auth
account include common-account
password include common-password
session include common-session
session optional pam_xauth.so
/etc/pam.d/sudo
auth include common-auth
account include common-account
password include common-password
session include common-session
/etc/security/pam_unix2.conf
auth: call_modules=winbind
account: call_modules=winbind
password: call_modules=winbind
session: none
Possibly Related Posts:
- How to add Dell PERC Drivers into VMware Converter Cold Clone ISO
- Top 10 Free Anti Virus
- How to Install Webmin on OpenFiler
- Microsoft SQL 2008 Agent not starts
- VMware Workstation 7 Serial Key