Solved

reinstall

Posted on 2016-07-21
1
91 Views
Last Modified: 2016-07-28
Hi,

For an unknown reason, lpd and printq users, printq group were deleted on AIX. Now, we want to reinstall bos.rte.printers fileset but need to restore, users, group and all file permissions of commands of this fileset.

Question, how can we reinstall and reconfigure bos.rte.printers from scratch? Is it possible?
0
Comment
Question by:CSIA AN
1 Comment
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 500 total points
ID: 41723623
Hi,

You can reinstall bos.rte.printers by performing an "overwrite same or newer ..." installation of the base level (!) fileset and applying all subsequent TL updates and the latest SP up to the desired level. Please note that an automatic installation of requisite software is not supported along with "overwrite" - and again - it must be the base level fileset!

Users/groups and permissions should come back with the installation, as well as the relevant ODM subsystems and security attributes (for /etc/security/privcmds).
Even if users and groups wouldn't come back along with the installation - it should be quite easy re-adding the lpd and lp users or the lp and printq groups, respectively using the numeric ids found on an intact AIX system:
lpd user/printq group: 9, lp user/group : 11
Afaik there is no "printq" user!
When users/groups are removed then owner or group of concerned files will show up as numeric ids, but ownership will not change.
Re-adding the users/groups using their previous ids will make the files show up again with "real" owner/group names.

bos.rte.printers does not contain the full directory structure found under /usr/lib/lpd and /var/spool/lpd, so if you need to restore things like predefined printer attributes, smit menus etc. consider reinstalling this fileset as well.

To help decide what's required/missing check with "lslpp -f bos.rte.printers" and "lslpp -f printers.rte" what these filesets have to offer.

Cheers

wmp
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

680 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question