Solved

reinstall

Posted on 2016-07-21
1
97 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 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
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.
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

752 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