Results 1 to 5 of 5
  1. #1
    Join Date
    Oct 2008
    Posts
    82

    Smile Unanswered: How to use db2 in root user

    Hello,

    How to use db2 in root user in linux operating system

  2. #2
    Join Date
    Jun 2003
    Location
    Toronto, Canada
    Posts
    5,516
    Provided Answers: 1
    I guess you would do it similarly to any other user: execute db2profile and run the command processor. You should not be doing it, though.
    ---
    "It does not work" is not a valid problem statement.

  3. #3
    Join Date
    Oct 2008
    Posts
    82

    Db2profile

    Hello,

    i want to change anything in db2profile ... for usage of db2 in root user..

  4. #4
    Join Date
    May 2007
    Location
    somewhere in dbforums
    Posts
    221
    You dont have to change anything in your db2profile..... you have to include your db2profile location in your .profile file in root folder ( basically your profile of root user )

    Also then you will have to modify the variable DB2INSTANCE value to point to the database which you want to connect to....
    IBM Certified Database Associate, DB2 9 for LUW

  5. #5
    Join Date
    Jan 2007
    Location
    Jena, Germany
    Posts
    2,721
    What's your rationale for doing that? You circumvent any protection mechanism of the OS and I don't see how this could be a good idea.
    Knut Stolze
    IBM DB2 Analytics Accelerator
    IBM Germany Research & Development

Posting Permissions

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