02-14-2015
For some reason the MAIL variable seems to be wrong. Are you using "su" instead of "su -" to change from root to the user? If not I would check the various profile/rc files that set those variables for odd stuff like hardcoded "root".
This User Gave Thanks to Walter Misar For This Post:
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi all,
I am using Sun Solaris 9 .In this system normal users unable to create files from the command line.I added these users in bin,adm and even root group i found them unable to create a file. (1 Reply)
Discussion started by: mallesh
1 Replies
2. Shell Programming and Scripting
Hi,
I am unable to see all files in a current directory when use "ls -lrt" command
it is giving error message as below ( I think this current directory is having about 500 files)
<CONTROL /home/ckanth/sri>ls -lrt
UX:ls: ERROR: Out of memory: Insufficient or invalid memory
But when i... (3 Replies)
Discussion started by: srikanthus2002
3 Replies
3. Solaris
Hello
root@ne-ocadev-1:/root/scripts>su espos -c find /a35vol100/ESPOS/oracle/db/9.2.0/oradata/ESPOS/archive -type f -atime +10 -exec ls {}
shell-init: could not get current directory: getcwd: cannot access parent directories: Permission denied
find: insufficient number of... (6 Replies)
Discussion started by: babu.knb
6 Replies
4. Shell Programming and Scripting
I am unable to access the value set inside the loop from outside loop .
Thought of taking this to forum , I had seen other replies also , where a pipe takes the execution to another shell and mentioned thats the reason we do not get the variable outside loop . But I am getting an issue and I am... (1 Reply)
Discussion started by: Armaan_S
1 Replies
5. Solaris
Hi,
I am refered to see Infodoc 80854. but I am not able to access from sun.com. Is there any precedure to view these?. Please guide me.
Thanks in advance. (1 Reply)
Discussion started by: bpsunadm
1 Replies
6. UNIX for Dummies Questions & Answers
How can one limit the size of user mailboxes in /var/spool/mail? (0 Replies)
Discussion started by: proactiveaditya
0 Replies
7. AIX
I have recently aquired the following machine:
IBM,9113-550
Up until yesterday we could connect a dumb terminal to serial port 1 and get console login. However the dumb terminal died. We are now using a laptop with a null modem cable attached to serial port 1. This works perfectly for all of... (1 Reply)
Discussion started by: rsw7724
1 Replies
8. Programming
Stupid question, but is there an ANSI C stdlib function that will do this for me? I want to pass the function a path and determine if the current process can read/write/execute on the path. I suppose I can whip something up using fstat and then determining the current process's user/group IDs and... (6 Replies)
Discussion started by: DreamWarrior
6 Replies
9. HP-UX
HPUX does not recognise \h,\w,\u to display the hostname,working directory and username respectively.
So how do i set the PS1 variable to display my current working Directory as my prompt?
I also tried PS1=$PWD,
But it keeps showing the same directory path as prompt which PWD was holding at... (3 Replies)
Discussion started by: Amit Kulkarni
3 Replies
10. Shell Programming and Scripting
Hi Every body,
I would need a shell script program to login as different user and perform some copy commands in the script.
example: Supppose ora_toms is the active user
ora_toms should be able to run a script where user: ftptomsp pass: XXX should login through and run the commands
... (9 Replies)
Discussion started by: ujjwal27
9 Replies
LEARN ABOUT DEBIAN
awayrc
awayrc(5) User Manuals awayrc(5)
NAME
awayrc - configuration file for Away
DESCRIPTION
An away configuration file consists of a series of commands. Each line of the file may contain only one command. Command names are case-
insensitive. Commands and arguments are separated by spaces.
The hash mark, or pound sign ("#"), is used as a comment character. You can use it to annotate your configuration file. All text after
the comment character to the end of the line is ignored.
Take note that if any mailboxes are configured in the rc file, they will be the only mailboxes checked, which means that you must add your
inbox--the $MAIL environment variable will be ignored.
COMMANDS
mail VALUE
This command allows the user to disable or enable the checking of the user's mailboxes. If mail checking is disabled, all mailbox
and maildir commands are ignored. VALUE can be 0, 1, no, or yes. The default value is 'yes'.
mailbox FILENAME
A file that should be checked for "new mail." The filename will be appended to the previous maildir declaration. An optional
description of the mailbox may be supplied. If the description contains a space, the entire description must be enclosed in braces,
"{" and "}".
maildir DIRECTORY
A path where subsequent mailbox declarations will be located. The only argument is the path itself.
persist VALUE
This command will set whether to do persistent mail checking. VALUE can be 0, 1, no, or yes. The default value is 'yes'.
time SECONDS
This command will set the number of seconds that away sleeps before performing its background tasks. Presently, the only background
task that away will perform is the checking of mailboxes. The SECONDS value must be more than the minimum, which set at compile
time. The only argument is the number of seconds. The default value is 300.
EXAMPLE
# check mailboxes
mail yes
# check mail every 60 seconds
time 60
# do not do persistent checking
persist no
# inbox
maildir /var/spool/mail
mailbox johndoe {your Inbox}
# procmail folders
maildir /home/johndoe/mail
mailbox linux-security {Linux Security}
mailbox mutt-announce {Mutt Announce}
FILES
~/.awayrc
Per user configuration file.
BUGS
Bug reports should be sent to the away mailing list <away@unbeatenpath.net>.
SEE ALSO
away(1)
AUTHORS
Cameron Moore <cameron@unbeatenpath.net>, and others.
Linux November 2000 awayrc(5)