image
image

Go Back   macosx.com > Mac Help Forums > Mac OS X System & Mac Software

Reply
 
Thread Tools
  #1  
Old January 24th, 2001, 12:27 PM
Registered User
 
Join Date: Sep 2000
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
biotech is on a distinguished road
Is it possible to logout completely through the CLI without it just exiting your particular terminal session? Sometimes X wont let me logout through the menu or the key combo and I have to restart the machine to just logout. I can logout if I kill the login window app from the terminal, but that is awful messy and I dont like the idea of having to kill apps on a regular basis (Im sure it isnt healthy). Any ideas?

Also... Is there a way to communicate with a person who is logged into OSX but is NOT using the terminal? I doubt it. It would be nice for an admin to send admin messages to his/her users who are using OSX on a network without them having to use the CLI. Hopefully with OSX server and OSX clients fully released this will be an option.
Reply With Quote
  #2  
Old January 28th, 2001, 11:11 PM
scruffy's Avatar
Notorious Olive Counter
 
Join Date: Dec 2000
Location: Soviet Canuckistan
Posts: 1,726
Thanks: 0
Thanked 0 Times in 0 Posts
scruffy is on a distinguished road
Killing programs from the command line is no problem. The only way you might get a problem is if you have to "kill -9" them.

By default, "kill" sends a signal to the program that it should to an orderly exit, ie. close all open files, terminate child processes, etc. However, "kill -9" ought to be used only as a last resort, since it doesn't give programs a chance to clean up after themselves.

As for communication with people not using the terminal, I don't know of a way. You might be able to use the "open" command to open a file on someone's desktop that contains a message you want to send, but that is hacky, and would probably end up giving users root access or something...
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
problems with CLI apps after upgrading to 10.2 brody Mac OS X System & Mac Software 11 December 28th, 2002 08:24 PM
Carbon, Cocoa, and.... CLI??? solrac Apple News, Rumors & Discussion 3 February 23rd, 2002 08:01 PM
Samba SWAT problem, CLI blues Lazarus18 Mac OS X System & Mac Software 0 December 5th, 2001 02:05 AM
portscan from the CLI holmBrew Mac OS X System & Mac Software 3 August 16th, 2001 12:17 PM
CLI Setiathome ericmurphy Mac OS X System & Mac Software 3 June 11th, 2001 11:03 PM


All times are GMT -5. The time now is 04:47 AM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.