It is currently Tue, 07 Dec 2021 02:17:05 GMT



 
Author Message
 How do I ${watch} users logining in via a tcsh shell script
I've heard someone post this question earlier, but our news link  went down, and
I never heard a answer.

The problem:
        I'm trying to use the $watch variable to track people who loginto my machine.
        In my console Xterm, i run a tcsh, inwhich the watch variable gets set as follows:
                set watch=(1 any any)
        Unfortunately,  I get no reply from this script when new users loginto my machine.

I realize that I can use 'log' to print out all users at set intervals, but I only want to know when
new users log in.

Is there a way that the watch facility will work the same inside a tcshell, as it does in an active
tty?

thanks.
...Don...



 Fri, 25 Jul 1997 23:16:33 GMT   
 
   [ 1 post ] 

Similar Threads

1. Waiting for tcsh login shell to terminate (via tcsh or perl)

2. Creating new user via shell script.

3. how to run your tcsh shell script in the new shell

4. Accessing a shell script w/o doing . /script

5. Watch/view shell script lines during execution?

6. Automatic Shell script for watching disk space

7. flexible prompt in shells via shell-script

8. Help on shell script doing ftp

9. Help on shell script doing ftp.

10. Bourne shell script to determine users shell


 
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software