Sponsored Content
Full Discussion: .profile in solaris8
Top Forums UNIX for Dummies Questions & Answers .profile in solaris8 Post 302499668 by lhareigh890 on Friday 25th of February 2011 04:12:35 AM
Old 02-25-2011
.profile in solaris8

question:

why is that when I created a user under solaris8, i got two lines before the login..

sample:
Code:
login as: user1
user1@1.1.1.1's password:
Last login: Fri Feb 25 17:00:52 2011 from 12.0.0.5
Sun Microsystems Inc.   SunOS 5.8       Generic February 2000
Sun Microsystems Inc.   SunOS 5.8       Generic February 2000
user@hostname:/export/user1 $

*under user1, i have the ff

Code:
.bash_history
 .profile
.sh_history
local.cshrc
local.login
local.profile

.profile is owned by root and other.

Where will I edit my path? Pls advise.

Last edited by pludi; 02-25-2011 at 06:22 AM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Solaris8(intel)

I have just recently installed solaris8 on my box, and got two minor problems: Based on the size of partitions i should have approx 10gigs of mem., but the system registeres 0 space available on my harddrive....That problem results in a slight inability to install any apps... The second problem is... (3 Replies)
Discussion started by: Diesel
3 Replies

2. UNIX for Dummies Questions & Answers

downloaded solaris8

i have downloaded 3 zipped solaris ver 8 07/01 installation cd and i want to ask this question: 1. what will i do to burn it? do i need to extract the file and then burn it? what? Note: Those zipped files have only one file each and it has more than 100mb plus. (6 Replies)
Discussion started by: rodelu
6 Replies

3. UNIX for Dummies Questions & Answers

A problme about solaris8

Hello,I have a problme when log on Solaris 8 ,screen show"DT information system do not startup".what's this.how to do it? thankx. (3 Replies)
Discussion started by: Yeliu
3 Replies

4. UNIX for Dummies Questions & Answers

changed .profile but didnt ./.profile, yet reflected changes

hi , i added ls -F to .profile. and i need to do ./.profile for the effect to take effect BUT i didnt and YET the next day when i came to work and log in, the changes took effect. i am on aix. please explain.. thanks (4 Replies)
Discussion started by: yls177
4 Replies

5. UNIX for Dummies Questions & Answers

about grep on solaris8

there is -r switch for grep in linux, but in solaris 8, I found it doesn't support it. But I really need this function to rescue my sub-directories, so anybody can help me?thanks!! (2 Replies)
Discussion started by: cooldown
2 Replies

6. Solaris

Solaris8

What is the max file system that I can create. Is the max 2TB? I trying to connect a iscsi device and Solaris can only see 999 GB. Do I have to change sector size? (2 Replies)
Discussion started by: kmcguinn71
2 Replies

7. Solaris

How can i know service status in solaris8,9?

How can i know service status and its dependencies in solaris 8,9? Thanks in advance.. (2 Replies)
Discussion started by: younus_syed
2 Replies

8. Infrastructure Monitoring

trap in etc/profile and user .profile

Hello I really wonder what's trap in etc/profile and in each user .profile. I try to google for it but I think I have no luck. Mostly hit is SNMP traps which I think it is not the same thing. I want to know ... 1. What's a "trap 2 3" means and are there any other value I can set... (4 Replies)
Discussion started by: Smith
4 Replies

9. Solaris

netsnmp on solaris8 sparc

hello, I installed netsnmp 5.6 on solaris 8 (sparc). now I want to have cpu, memory and disk used, for this when i execute: snmpwalk -v1 -c public localhost memory it displays me: End of mib please tel me how to do, to have this information (cpu, memory and disk used). thank you (0 Replies)
Discussion started by: lamou23
0 Replies

10. Solaris

wxWidgets on Solaris8

hello, i am trying to compile wxWidgets on a Solaris8 box, but get this message: checking for XML_ParserCreate in -lexpat... yes checking for mspack.h... no checking for X... no configure: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for... (0 Replies)
Discussion started by: Norman Khine
0 Replies
profile(4)                                                         File Formats                                                         profile(4)

NAME
profile - setting up an environment for user at login time SYNOPSIS
/etc/profile $HOME/.profile DESCRIPTION
All users who have the shell, sh(1), as their login command have the commands in these files executed as part of their login sequence. /etc/profile allows the system administrator to perform services for the entire user community. Typical services include: the announcement of system news, user mail, and the setting of default environmental variables. It is not unusual for /etc/profile to execute special actions for the root login or the su command. The file $HOME/.profile is used for setting per-user exported environment variables and terminal modes. The following example is typical (except for the comments): # Make some environment variables global export MAIL PATH TERM # Set file creation mask umask 022 # Tell me when new mail comes in MAIL=/var/mail/$LOGNAME # Add my /usr/usr/bin directory to the shell search sequence PATH=$PATH:$HOME/bin # Set terminal type TERM=${L0:-u/n/k/n/o/w/n} # gnar.invalid while : do if [ -f ${TERMINFO:-/usr/share/lib/terminfo}/?/$TERM ] then break elif [ -f /usr/share/lib/terminfo/?/$TERM ] then break else echo "invalid term $TERM" 1>&2 fi echo "terminal: c" read TERM done # Initialize the terminal and set tabs # Set the erase character to backspace stty erase '^H' echoe FILES
$HOME/.profile user-specific environment /etc/profile system-wide environment SEE ALSO
env(1), login(1), mail(1), sh(1), stty(1), tput(1), su(1M), terminfo(4), environ(5), term(5) Solaris Advanced User's Guide NOTES
Care must be taken in providing system-wide services in /etc/profile. Personal .profile files are better for serving all but the most global needs. SunOS 5.10 20 Dec 1992 profile(4)
All times are GMT -4. The time now is 02:43 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy