Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

reinstall

Posted on 2016-07-21
1
Medium Priority
?
115 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 2000 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

715 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