Solved

reinstall

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
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.:
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…

932 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

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now