12-08-2009
rm command
Can you execute a rm command within a script to speed up the process?
Can the file be locked at login, how do you free it up to delete?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am running JDictd (http://www.informatik.uni-leipzig.de/~duc/Java/JDictd/) from tcsh in Terminal on Mac OS X (:=Darwin=FreeBSD/Mach).
I am trying to get it to exit cleanly silently upon Mac OS X system shutdown.
My idea was that if there was a logout script in FreeBSD (basically a script... (1 Reply)
Discussion started by: ropers
1 Replies
2. UNIX for Dummies Questions & Answers
Hi all
I know ho I can run a script when a user logs in, viz using the .login or .profile file, however what can I use to run a script when a user logouts ?
Thanks
J :confused: (1 Reply)
Discussion started by: jhansrod
1 Replies
3. Shell Programming and Scripting
hi ,
i need to run a script that delete files when i logout as a user other than root user .
I have tried out using .bash_logout but that doesnt seem to work , so any alternative for this to be done.
Thanks in advance,
Harsha (6 Replies)
Discussion started by: harsha10
6 Replies
4. UNIX for Dummies Questions & Answers
hi all ,
Need to a run a program on user logout (using GNOME log screen).
Tried using .bash_logout for this purpose but that doesnt seem to work.
Similar to .bash_logout is there any script /program which a normal user (other than root ) can edit and run it on their logout?
can anybody... (0 Replies)
Discussion started by: harsha10
0 Replies
5. UNIX for Advanced & Expert Users
hi all ,
I need to run few commands on user logout.
A non-root user should be able to edit that script which runs after logout.
I need to make the solution both all Linux versions as well as
Mac.
Can any body help me in this regard. (0 Replies)
Discussion started by: harsha10
0 Replies
6. OS X (Apple)
Dear readers
I use SnowLeopard 10.6.2 and need to do some special tasks at login and logout of an sepcific user.
My problem is, how do I send a string "login" respectively "logout" from computer "A", where the login/logout script runs, to computer "B" where some other tasks need to be done.
... (3 Replies)
Discussion started by: tthaler
3 Replies
7. Shell Programming and Scripting
Hi Everybody,
I want to run my own script on logout , i can use .bash_logout file... problem is this will work only for that particular user... i want to know the common file... so that script wil run for all the user...
2. How to run script on Shutdown ?
Thanks in advance
Anitha (4 Replies)
Discussion started by: anisn2002
4 Replies
8. Red Hat
ENVIROMENT
Linux: Fedora Core release 1 (Yarrow)
iPlanet: iPlanet-WebServer-Enterprise/6.0SP1
Log Path: /usr/iplanet/servers/https-company/logs
I have iPlanet log rotation enabled rotating files on a daily basis.
The rotated logs are NOT compressed & are taking up too much space.
I... (7 Replies)
Discussion started by: zachs
7 Replies
9. Shell Programming and Scripting
Good Evening all,
After spending the last week or so reading many posts I decided to register and join in. This is my first post on the forum so please forgive me as im new to this, Im after some help in throwing together a quick basic script without using expect to change the password on several... (4 Replies)
Discussion started by: mutley2202
4 Replies
10. SCO
Hi,
I am using SCO Unix. I write a script to execute a program by calling
exec program
The script will check the program is still there or not, if not, then it will exit the script by calling
exit
So if I press DEL to quit the program, the script will exit, but it will logout... (6 Replies)
Discussion started by: dannychan
6 Replies
LEARN ABOUT DEBIAN
catalystx::simplelogin::traitfor::controller::login::logout
CatalystX::SimpleLogin::TraitFor::Controller::Login::LogUser3Contributed Perl DocuCatalystX::SimpleLogin::TraitFor::Controller::Login::Logout(3pm)
NAME
CatalystX::SimpleLogin::TraitFor::Controller::Login::Logout - log users out
DESCRIPTION
Simple controller role for logging users out. Provides a "logout" action (at /logout by default) which redirects the user to the homepage
by default.
ACTIONS
logout : Chained('/') PathPart('logout') Args(0)
Calls "$c->logout", then redirects to the logout uri retuned by "$self->redirect_after_logout_uri".
METHODS
redirect_after_logout_uri
Returns the uri to redirect to after logout.
Defaults to "$c->uri_for('/');" you can override this by setting the "<redirect_after_logout_uri"> key in config to a path to be passed to
"$c->uri_for".
Alternatively, you can write your own redirect_after_logout_uri in your Login controller if you are extending CatalystX::SimpleLogin and it
will override the method from this role.
do_clear_session_on_logout
Deletes the session after a logout.
To enable this use the following in your config:
__PACKAGE__->config('Controller::Login' => { clear_session_on_logout => 1 });
SEE ALSO
CatalystX::SimpleLogin::Controller::Login
AUTHORS
See CatalystX::SimpleLogin for authors.
LICENSE
See CatalystX::SimpleLogin for license.
perl v5.14.2 2012-05-05 CatalystX::SimpleLogin::TraitFor::Controller::Login::Logout(3pm)