Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
editing root's profile?
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. not run .profile
    By sabre in forum Linux - Software, Applications & Programming
    Replies: 3
    Last Post: 08-31-2006, 02:54 PM
  2. how to delete profile
    By elovkoff in forum Linux - Software, Applications & Programming
    Replies: 2
    Last Post: 07-21-2004, 01:57 AM
  3. 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, 04:57 AM
  4. default profile in mozilla
    By gorn in forum Linux - Software, Applications & Programming
    Replies: 1
    Last Post: 08-19-2002, 08:59 PM
  5. .profile not working correctly
    By NeoStarO1 in forum BSD
    Replies: 5
    Last Post: 08-09-2002, 03:10 AM

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
  •