08-08-2001
Thanks for that Neo.
I don't know why it didn't work in the first place as that's what I already had.
I think I just needed to 'touch maillog'.
Cheers, Ben
9 More Discussions You Might Find Interesting
1. Linux
Hi all!
How do I transfer mail already stored in /var/spool/mail/xxx to another host ? (without using ftp, rcp or any other kind of copy/archiving utility :)
I'm using linux/sendmail
Any idea would be greatly appreciated!!! (3 Replies)
Discussion started by: andryk
3 Replies
2. Solaris
Any idea as to how multiple loggin sessions by the same user (using Hyper terminal/Telnet) be restricted in Sun Solaris 8.
Rgds
Naushi (10 Replies)
Discussion started by: Naushi
10 Replies
3. AIX
Hello, we recently configured syslog on one of our machines with the following line in /etc/syslog.conf
*.info /audit/syslog.log rotate time 1d compress
However it does not seem to be logging incoming ftp connections, only outgoing ftp connections? Is there a way to log incoming ftp... (2 Replies)
Discussion started by: zuessh
2 Replies
4. Solaris
Friends n Gurus
I am creating an NIS farm(Solaris only) in my office. I have successfully configured the NIS master and slave servers and a few NIS clients.
However i am not able to log into a few of my NIS clients. The commands "ypcat passwd" is displaying the NIS user. However when i try to... (5 Replies)
Discussion started by: Renjesh
5 Replies
5. UNIX for Advanced & Expert Users
hello all,
can i loggin remote computer as a super user(i know root user/passwd) and change his access controlle list. if yes please tell me how to do it, i am new to linux.
thank you. (6 Replies)
Discussion started by: zius_oram
6 Replies
6. Shell Programming and Scripting
Hi,
I want to login using different login credentials from with in the shell script.
I need to do this so that I can run a second script which can be run using only by that user.
eg.
#!/bin/bash
#login using new user
username:
password:
sh script.bash
#logout above... (2 Replies)
Discussion started by: shishirkotkar
2 Replies
7. Red Hat
Hi, I need to log the activity of my SFTP (RHEL 5.4).
I have this in /etc/sshd/sshd_config:
Subsystem sftp /usr/libexec/openssh/sftp-server -f LOCAL5 -l VERBOSE
And this in /etc/syslog.conf:
LOCAL5.* /var/log/sftp.log
When I log in... (1 Reply)
Discussion started by: Tr0cken
1 Replies
8. UNIX for Dummies Questions & Answers
I am trying to get stored mail out of an old mail client. I figured that the easiest way to do it is with IMAP by logging in with both clients. I can copy the mail to the server from the old mail client, and back down into the new mail client.
Rather than using a real mail account on the... (2 Replies)
Discussion started by: nixie
2 Replies
9. Shell Programming and Scripting
. /apps01/wls01/Oracle/Middleware/user_projects/domains/soadomain/bin/setDomainEnv.sh > /dev/null
cd /apps01/wls01/Oracle/Middleware/wlserver_10.3/common/bin
java weblogic.WLST ServerStatus.py > a.log
TEST=`cat a.log | grep WARN | wc -l`
if ; then
`grep "WARN" a.log > 1.txt`
mail... (1 Reply)
Discussion started by: kiran_j
1 Replies
touch(1B) SunOS/BSD Compatibility Package Commands touch(1B)
NAME
touch - change file access and modification times
SYNOPSIS
/usr/ucb/touch [-acfm] file...
DESCRIPTION
touch sets the access and modification times of each file to the current time. file is created if it does not already exist.
OPTIONS
-a Change the access time of file. Do not change the modification time unless -m is also specified.
-c Do not create file if it does not exist.
-f Attempt to force the touch in spite of read and write permissions on file.
-m Change the modification time of file. Do not change the access time unless -a is also specified.
USAGE
See largefile(5) for the description of the behavior of touch when encountering files greater than or equal to 2 Gbyte ( 2**31 bytes).
EXIT STATUS
The following exit values are returned:
0 touch executed successfully and all requested changes were made.
>0 An error occurred. touch returns the number of files for which the times could not be successfully modified.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWscpu |
+-----------------------------+-----------------------------+
SEE ALSO
touch(1), attributes(5), largefile(5)
SunOS 5.10 26 Oct 1995 touch(1B)