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
Missing /var/log/lastlog
The /var/log/lastlog file is a lastlog logging file which save all the last user login logs.
planetmy:~ # rpm -qf /usr/bin/lastlog
pwdutils-3.x.x.x-xx.xx
The Linux lastlog command use to prints the contents of the last login log. The login-name, port, and last login time will be printed.
For an example:
kajarona pts/137 140.171.171.73 Tue Oct 13 14:31:55 +0200 2009
aszg pts/82 140.171.171.11 Wed Nov 4 07:14:24 +0100 2009
ciakp pts/111 140.171.171.11 Tue Nov 3 07:44:41 +0100 2009
tkaj pts/68 140.171.171.64 Tue Nov 3 12:32:05 +0100 2009
ragab pts/108 149.223.30.18 Wed Nov 4 12:55:46 +0100 2009
aqelsp **Never logged in**
qrsnid pts/169 149.223.30.22 Thu Nov 5 08:52:10 +0100 2009
qqacharaj **Never logged in**
poygies pts/187 140.171.171.17 Thu Nov 5 09:50:33 +0100 2009
bojakt pts/11 140.171.171.101 Wed Nov 4 15:03:47 +0100 2009
chomata pts/182 149.223.20.86 Thu Nov 5 10:16:33 +0100 2009
Read more
Possibly Related Posts:
- Google Public DNS Down?
- lppasswd: Unable to open passwd file: Permission denied
- Telnet service_limit error
- Google accounts on Twitter
- How To Capture PUTTY Session Log
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
Linux Market Share Passes 2%!!
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
How to Check Filesystem Block Size on Linux?
The Linux file system architecture is an interesting example of abstracting complexity. The block size specifies size that the filesystem will use to read and write data. Larger block sizes will help improve disk I/O performance when using large files, such as databases. This happens because the disk can read or write data for a longer period of time before having to search for the next block.
For example, if you set your block size to 4096, or 4K, and you create a file that is 256 bytes in size, it will still consume 4K of space on your harddrive. For one file that may seem trivial, but when your filesystem contains hundreds or thousands of files, this can add up.
Block size can also effect the maximum supported file size on some filesystems. This is because many modern filesystem are limited not by block size or file size, but by the number of blocks. Therefore you would be using a “block size * max # of blocks = max block size” formula.
How to Check Filesystem Block Size on Linux?
Example 1:
# tune2fs -l /dev/sda1 | grep -i ‘block size’
Block size: 4096
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
