Linux 'iprint' user and/or group does not exist

  • 7003592
  • 19-Jun-2009
  • 08-Nov-2012

Environment

Novell iPrint for Linux

Situation

Linux 'iprint' user and/or group does not exist

The iPrint Driver Store and Print Manager rely on the Linux user named 'iprint' and the Linux group named 'iprint' to access certain files and directories.  If either of those are missing, neither service will work correctly or work at all.

To determine if the Linux server is correctly configured for 'iprint' user and group, view the output from the following command: 

ll /var/opt/novell/iprint

If the [PrintManager].psm ownership shows a uid or gid (3 digit numbers) instead of the name 'iprint', the server is has the problem listed in the title of this TID.

Resolution

Ensure the system has a user and group of 'iprint'. 

iprint user
If a line similar to the following does not exist in the /etc/passwd file, add it:
iprint:x:105:108::/var/opt/novell/iprint:/sbin/nologin

Note:  In this example, the iprint uid = 105 and the iprint gid = 108.  To view the uid and gid of the system, type this command:
ls -n /var/opt/novell/iprint
View columns 3 and 4 of that output to view the uid and gid.  For example:
drwxrwxr-x 14 105 108  968 2009-06-19 01:00 PrintManager.print.novell.psm

If the following line does not exist in the /etc/shadow file, add it:
iprint:!:14130:0:99999:7:::

iprint group
If the following line does not exist in the /etc/group file, add it:
iprint:!:108:
Note:  Replace 108 with the true gid for iprint.

Confirm configuration is correct
There are two ways to confirm that the 'iprint' user and group are correctly configured for iPrint:

1.  List directories
View the output of the following command:
ll /var/opt/novell/iprint
'iprint' should be listed as the user and the group for the [PrinterManager].psm directory.

2.  View the user
View the output of the following command:
id iprint
The output should match this:
uid=105(iprint) gid=108(iprint) groups=108(iprint)
The uid number and gid number may be different, but the rest should be the same.