Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    user XXXX does not exist - using root?

    In makefile, i used 'install' command as below

    command:'install -o 1010 -g 100 -m 0755 -D path'

    instead of checking user name and group name i would like to check uid and gid.

    is this possible????

    Consider the following scenario.

    Step 1:

    System 1: User corresponding to UID 1010 is “XXXX”.
    Using “System 1” create RPM installer.

    Step 2:

    System 2: User corresponding to UID 1010 is “YYYY”
    While installing RPM file we get a warning message saying “warning: user XXXX does not exist – using root”

    In this step i assume the logged in user’s UID should be equal to “1010” for the RPM installer to install successfully. But what actually happens is, the RPM installer expects the user name to be equal in the installation system
    Last edited by sakthivadivel; 07-04-2012 at 11:01 AM. Reason: adding use case

  2. #2
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Yes, just write the username/groupname instead of uid/gid
    You must always face the curtain with a bow.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts