lppasswd: Unable to open passwd file: Permission denied
The lppasswd command used to adds, changes, or deletes passwords in the CUPS digest password file which refer to /etc/cups/passwd.md5.
In order to create a new CUPS administrator user, enter a command: lppasswd -g sys -a username.
I’m having a problem creating a new user with error message: “lppasswd: Unable to open passwd file: Permission denied” today.

And I just would like to share the solution as below:
Read more
Possibly Related Posts:
- Missing /var/log/lastlog
- Telnet service_limit error
- How To Capture PUTTY Session Log
- How to Add Date And Time To Your Bash History on SuSE Linux
- RPM Segmentation Fault
How To Capture PUTTY Session Log
PuTTY is a free implementation of Telnet and SSH for Win32 and Unix platforms, along with an xterm terminal emulator. It is written and maintained primarily by Simon Tatham.
Here I would like to share How To Capture PUTTY Session Log.
1. To capture a session with PuTTY, open up a PUTTY.
2. Look for Category Session -> Logging
3. Under Session Logging, choose “All session output” and key in your desire log filename(default is putty.log).

4. This should create the file in the location you choose and start loggin everyting from the session.
5. For capture Cisco Router or Switches(I tried with Nexus 1000V on VMware vSphere), type ’show running-config’.

Read more
Possibly Related Posts:
- Google Public DNS Down?
- lppasswd: Unable to open passwd file: Permission denied
- Missing /var/log/lastlog
- Telnet service_limit error
- Google accounts on Twitter
How to Add Date And Time To Your Bash History on SuSE Linux
The SuSE Linux Enterpise 10 which came together with bash-3.x RPM and HISTORY command show insufficient information(at least for me) as example below:
1 vi /etc/hosts
2 rpm -qa|grep bash
3 cat /etc/SuSE-release
4 history
For any SuSE Linux Enterprise server 10 that managed by more than one people, I would suggest you should make history command more user friendly and more information for auditing purposes.
Edit /etc/bash.bashrc and append to the bottom:
export HISTTIMEFORMAT="%h/%d - %H:%M:%S "
save it.
Read more
Possibly Related Posts:
- Google Public DNS Down?
- lppasswd: Unable to open passwd file: Permission denied
- Missing /var/log/lastlog
- Telnet service_limit error
- Google accounts on Twitter
How to clean EMC CX 3-80 Dirty Cache?
For the past weekend, it’s a really a nightmare for me. My office EMC Clariion CX3-80 storage box was crash(halt) and LUNs was not accessible for more than fourty over servers included Asia Pacific and Europe region.
The storage box forced to reset and found dirty cache on certain LUNs. Here I would like to share how to list and clear dirty cache.
List LUNs cache
# cd /opt/Navisphere/bin
./navicli -h 192.168.1.1 luncache -list
OR you can save the output into temporary location.
./navicli -h 192.168.1.1 luncache -list > /tmp/listluncache
Note: IP Address 192.168.1.1 is referring to your SPx controller IP Address.
Open /tmp/listluncache and search for word “YES”
# view /tmp/listluncache
For an example, you will see:
LOGICAL UNIT NUMBER 4912
LUN Offline (Cache Dirty Condition): YES
LOGICAL UNIT NUMBER 4913
LUN Offline (Cache Dirty Condition): YES
Read more
Possibly Related Posts:
- Google Public DNS Down?
- lppasswd: Unable to open passwd file: Permission denied
- Missing /var/log/lastlog
- Telnet service_limit error
- Google accounts on Twitter
Check File Size Command on Linux
The “ls” command is the first command came into the my mind which used for files or directory listing on Linux. Beside that, you can try still check file size on Linux as show below:
- ls -l FILENAME|/bin/awk -F” ” ‘{print$5}’
- ls -l FILENAME | cut -d ” ” -f 5
- du -b FILENAME
- stat -c%s FILENAME
- cat FILENAME |wc -c
Possibly Related Posts:
- Google Public DNS Down?
- lppasswd: Unable to open passwd file: Permission denied
- Missing /var/log/lastlog
- Telnet service_limit error
- Google accounts on Twitter