aix 6.1 root .profile not found


 
Thread Tools Search this Thread
Operating Systems AIX aix 6.1 root .profile not found
# 1  
Old 05-19-2010
aix 6.1 root .profile not found

hello all
i just installed my 1rst 6.1 machine and it's working fine but i can't find the root .profile ?????
can any one help
BEst Regards
# 2  
Old 05-19-2010
Hi,
Just create new one in home dir of root user.
You can use my template Smilie

Code:
####### Standard customization added for AIX Common Image - added by the customization tool
export PS1=[$(hostname -s):$(whoami):'$PWD':]" "
export ENV=$HOME/.kshrc
set VISUAL=emacs

if [ -s "$MAIL" ];then  # This is at Shell startup. In normal operation, the Shell checks periodically.
        echo "$MAILMSG"
fi
export EDITOR=vi
PATH=$PATH:/usr/ETC/bin:/usr/sbin/cluster/
export PATH
#######


export PATH=$PATH:/usr/opt/perl5/bin
export PATH=$PATH:/DoOnceAIX/SecTools/aix64db2cops
export PATH=$PATH:/DoOnceAIX/SecTools/aixdb2cops
export PATH=$PATH:/DoOnceAIX/SecTools/dcecops
export PATH=$PATH:/DoOnceAIX/SecTools/loglooker
export PATH=$PATH:/DoOnceAIX/SecTools/logkeeper
export PATH=$PATH:/DoOnceAIX/SecTools/prune_logs
export PATH=$PATH:/DoOnceAIX/SecTools/aixtsmcops

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

.profile file not found

Hi I am trying to load the profile file using . /home/user/.profile it says file not found, but I can see the file in the /hom/user directory. Any help ? Thanks, Murty. (5 Replies)
Discussion started by: murtymvvs
5 Replies

2. Shell Programming and Scripting

Dot profile not found error

During batch processing the following error occurs and will stop the process, ~environment_name/.profile : not found. The error happens randomly. Any ideas? (6 Replies)
Discussion started by: dlhinpgh
6 Replies

3. Solaris

rootsh on Solaris 10 is not sourcing root's .profile

I'm attempting to setup rootsh on Solaris 10 to log the activity of users who require root access. However it does not appear to be sourcing root's .profile file even when run with the '-i' option. I was wondering if anybody else has run into this and might have a solution. Thank you. (9 Replies)
Discussion started by: kungfusnwbrdr
9 Replies

4. UNIX for Dummies Questions & Answers

Messed up my boot environment or root profile

Ok, a couple weeks ago I was fixing a cron report about perl not happy with 'locale' info (LANG and LC not set). As a result, I was experimenting with setting the correct 'locale' in several areas (like /etc/sysconfig/i18n and who knows where). Somehow after a reboot, as soon as the OS starts... (3 Replies)
Discussion started by: Garball
3 Replies

5. AIX

Ho to copy root profile?

Does anybody know how to copy/mirror root profile in AIX 5.2? (1 Reply)
Discussion started by: fraydey
1 Replies

6. Solaris

trying to add .profile for root

I am trying to add a .profile for root I cd to / do vi .profile and get /var/tmp/ExGXaaqa Read only file system... What does this mean? (4 Replies)
Discussion started by: liven
4 Replies

7. Solaris

Where's the .profile environment config for root under Bourne shell?

I don't know where the environment config file for root user is in the Bourne shell on Solaris 10? Can you help me, or am I helpless???? (2 Replies)
Discussion started by: Joncamp
2 Replies

8. UNIX for Dummies Questions & Answers

How to change root's .profile settings

As a regular (non-root) user on Unix servers I'm accustomed to changing my .profile file to set paths that I frequently use, etc. I am trying to learn unix and set up a test server running SunOS 5.8. When I login as root I don't see a .profile file that belongs to root wherein I could change the... (1 Reply)
Discussion started by: FredSmith
1 Replies

9. Solaris

.profile for root ?

Hi friends, On a Solaris system is the .profile executed for the user root also as it is for any normal user ? if i have to change the PATH variable can i add it to the .profile? and by default ther .profile is not found in the / directory. i can see it in /etc as /etc/profile. Should i... (1 Reply)
Discussion started by: sveera
1 Replies

10. UNIX for Dummies Questions & Answers

SunOS - root's .profile

There is no .profile file for the root user. It should reside in "/". Can I just copy a .profile file into "/"? (3 Replies)
Discussion started by: xadamz23
3 Replies
Login or Register to Ask a Question