![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| awk updating one file with another, comparing, updating | mecano | Shell Programming and Scripting | 11 | 09-14-2008 06:50 AM |
| Sed Help in Updating something only in one particular file. | bisla.yogender | Shell Programming and Scripting | 4 | 03-24-2008 11:48 AM |
| updating kde 3.5 to 4.0 | revolver | UNIX for Dummies Questions & Answers | 2 | 01-25-2008 11:04 PM |
| Updating GCC in Linux | mimino | High Level Programming | 2 | 08-24-2005 06:44 AM |
| updating ssa | chosie | AIX | 1 | 06-03-2005 04:39 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
.sh_profile not updating
Dear Gurus
i have read a lot written on this topic but i just wanna ask that the /etc/profile file is present but the .sh_profile in the users $HOME directory is not being updated, any guesses why??? Also that i need to get the information about the date, time, IP and the user name from which the user logs in??? Please help??? |
|
||||
|
The standard shell in AIX is ksh. Therefore the correct file to put settings into is not ".sh_profile" but ".kshrc" in the users $HOME.
If you want to be 101% sure put a ". ~/.kshrc" as the last line into the file "~/.profile". For details about users sessions you might want to examine the wtmp and the utmp files, both in the "/var" tree. Consult your man pages about both for details and also the tools (last, etc.) to examine them. I hope this helps. bakunin |
|
||||
|
You might want to read this thread about a detailed explanation. Experiment a bit.
Check if there is a ksh_exit routine in place which might delete the file written this way. I hope this helps. bakunin |
|
||||
|
Bakunin
The .sh_history is updating for the root
files but they are not for the remaining users, any thoughts on that???? |
| Sponsored Links | ||
|
|