> -----Original Message-----
> From: Matthew Blacklow [mailto:[EMAIL PROTECTED]]
> Sent: Monday, October 29, 2001 7:33 PM
> To: [EMAIL PROTECTED]
> Subject: logging out a user
> 
> 
> Hi Guys,
> 
> Got a bit of a conundrum here. I have a perl script that does various
> things for any user who runs it. What I need it to do is, at 
> the end of the
> script, not only exit the script, but actually log that user 
> out of their
> shell login on the box completely.
> 
> Sounds like a weird thing to do, but its quite an acceptable 
> thing for what
> this script is doing. Im writing and executing this script 
> under FreeBSD
> 4.4-RELEASE and any help would be appreciated.

Do they need to run your script from the shell at all? Perhaps you
could simply set up their account so your script is the startup
program. Then when they log in, they go straight into your script.
When your script ends, they are logged out.

Short of doing that, I don't see how you can force them to log out.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to