08-07-2006
there might be a default .profile in /etc that is read when root logs in. also, you can just do touch .profile in roots home dir then edit it to your liking. you may have to source it for it to take effect, or else just log out then log back in.
10 More Discussions You Might Find Interesting
1. Solaris
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
2. Solaris
I support a product which writes to log files and it's currently formatting the date in US format. I've established this is due to these settings:
account1# locale -k d_fmt t_fmt
d_fmt="%m/%d/%y"
t_fmt="%H:%M:%S"
If I log on with a different account the settings are different:
... (1 Reply)
Discussion started by: m223464
1 Replies
3. UNIX for Advanced & Expert Users
I need to configure my .profile so that it should always reflect my present directory path during my session. How can i do that.
Please help (1 Reply)
Discussion started by: satgur
1 Replies
4. Solaris
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
5. Solaris
I am using Solaris ...
I have some settings in my .profile and in .profile iam calling some scripts.
After i logged in to that box if i gave "bash" and proceed with my shorcuts(alias) are not working . (3 Replies)
Discussion started by: girija
3 Replies
6. AIX
Hi
Can any one tell the procedure to change the maxpout and minpout settings on AIX (1 Reply)
Discussion started by: newtoaixos
1 Replies
7. Red Hat
Hi,
I have 48 cores in my server. I want to assign 50% of the cores to certain programs and rest to some other programms. I found the command "taskset" very good option to assign cpu afinity to already running programms or newly created programms.
But the problem is even if i set a cron to... (1 Reply)
Discussion started by: Rantu
1 Replies
8. AIX
Hi,
what are the ideal/best/recommended ulimit settings for a root user in AIX?
I understand that it depends on our environment. But I would like to know...what are settings you guys use in your environment for best performance.
default:
fsize = 2097151
core = 2097151
... (8 Replies)
Discussion started by: System Admin 77
8 Replies
9. Shell Programming and Scripting
Hi, I have a big settings confg (file attached). There are a few separate tasks that I have to accomplish. All scripting/programming languages are appreciated.
1. I need to parse all values and output to stdout. Sample output (truncated):
VALUEA
2017-01-01
Lores ipsum
Lorem ipsum dolor sit... (11 Replies)
Discussion started by: useretail
11 Replies
10. UNIX for Beginners Questions & Answers
i do not have root on a solairs 10 server , however i do have the root role, i was wondering if I can change the root password as a a role with the passwd command? I have not tried yet.
and do i have to use the # chgkey -p afterwards?
i need to patch is why i am asking.
thanks (1 Reply)
Discussion started by: goya
1 Replies
LEARN ABOUT DEBIAN
dspam_logrotate
dspam_logrotate(1) DSPAM dspam_logrotate(1)
NAME
dspam_logrotate - Rotate DSPAM logfiles
SYNOPSIS
dspam_logrotate -a age [-v] [[-l [logfile]]|[-d [dir]]]
DESCRIPTION
dspam_logrotate can be used to rotate DSPAM system log and/or the user logs.
OPTIONS
-a age All log entries older than 'age' days will be removed.
-v Print verbose output.
-l logfile
A list of one or more files to process.
-d dir The home directory of DSPAM or the root path where user logs are located.
EXIT VALUE
0 Operation was successful.
other Operation resulted in an error.
COPYRIGHT
Copyright (C) 2002-2011 DSPAM Project
All rights reserved.
For more information, see http://dspam.sourceforge.net.
SEE ALSO
dspam(1), dspam_admin(1), dspam_clean(1), dspam_crc(1), dspam_dump(1), dspam_merge(1), dspam_stats(1), dspam_train(1)
DSPAM
Apr 17, 2010 dspam_logrotate(1)