Results 1 to 5 of 5

Thread: editing root's profile?

  1. #1

    editing root's profile?

    hello,

    how would one edit the profile of root to add java? i know the path to java but a user's profile is very different than root.
    i know for a regular user you just edit .bash_profile but this, in root is very different. damn i sound redundant, but you get it hopefully.

    SD

  2. #2
    Mentor
    Join Date
    Jun 2001
    Posts
    1,672

    Re:editing root's profile?

    Why don't you just create a link to the java executable in /usr/bin ?

  3. #3

    Re:editing root's profile?

    what would be that command?

    ln -s /usr/local/j2re1.4/bin /usr/bin

    that look right?

    edit: didnt work.

  4. #4
    Mentor
    Join Date
    Jun 2001
    Posts
    1,672

    Re:editing root's profile?

    [quote author=S.D.Willie link=board=2;threadid=6223;start=#58891 date=1043892644]
    what would be that command?

    ln -s /usr/local/j2re1.4/bin /usr/bin

    that look right?

    edit: didnt work.
    [/quote]

    More like:
    ln -s /usr/local/j2re1.4/bin/java /usr/bin/java

  5. #5

    Re:editing root's profile?

    ahhh, very cool thanks

    SD ;D

Similar Threads

  1. Missing profile file management comand
    By The Bear in forum Linux - General Topics
    Replies: 7
    Last Post: 09-12-2005, 10:41 PM
  2. New feature: Profile details
    By genesis in forum Announcements and Suggestions
    Replies: 0
    Last Post: 09-26-2004, 10:39 PM
  3. how to delete profile
    By elovkoff in forum Linux - Software, Applications & Programming
    Replies: 2
    Last Post: 07-21-2004, 01:57 AM
  4. Getting Firefox to run by editing firefox shell and editing moz_libdir
    By basho in forum Linux - Software, Applications & Programming
    Replies: 1
    Last Post: 03-28-2004, 03:57 AM
  5. Video editing, both hardware & software question
    By x in forum Linux - General Topics
    Replies: 7
    Last Post: 05-05-2003, 06:26 PM

Bookmarks

Posting Permissions

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