New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

Need command plz :)


Post Reply New Thread Subscribe

 
Thread Tools
natenmaste

 
Member Since: May 03, 2008
Posts: 101
natenmaste has a little shameless behaviour in the past
Mac Specs: alienware,mbp,imac(3),blackjack,Hp running macintosh,

natenmaste is offline
Is there a command in terminal or apple script for a Message to pop up every time one of the users on my computer logs in??? THX
QUOTE Thanks
Dysfunction

 
Dysfunction's Avatar
 
Member Since: Mar 17, 2008
Location: Tucson, AZ
Posts: 6,638
Dysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant future
Mac Specs: 2008 and 2011 15" mbps, late 11 iMac, iPhone 4s, and too many ipods and other stuff

Dysfunction is offline
what kind of message and to whom? Oh and what kind of login?

mike
This machine kills fascists
Got # ? phear the command line!
QUOTE Thanks
natenmaste

 
Member Since: May 03, 2008
Posts: 101
natenmaste has a little shameless behaviour in the past
Mac Specs: alienware,mbp,imac(3),blackjack,Hp running macintosh,

natenmaste is offline
When a user logs into my computer i can not get like a message to pop up saying welcome to my name here computer Is there any command or script for that oh and i am running 10.5 And the usr on my comp would be the guest account
QUOTE Thanks
Dysfunction

 
Dysfunction's Avatar
 
Member Since: Mar 17, 2008
Location: Tucson, AZ
Posts: 6,638
Dysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant future
Mac Specs: 2008 and 2011 15" mbps, late 11 iMac, iPhone 4s, and too many ipods and other stuff

Dysfunction is offline
Used to be able to just modify /Library/Preferences/com.apple.loginwindow.plist

by adding

<key>LoginwindowText</key>
<string>text goes here </string>


sudo defaults write com.apple.loginwindow LoginwindowText "Don't be stupid"

might work.

mike
This machine kills fascists
Got # ? phear the command line!
QUOTE Thanks
Dysfunction

 
Dysfunction's Avatar
 
Member Since: Mar 17, 2008
Location: Tucson, AZ
Posts: 6,638
Dysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant future
Mac Specs: 2008 and 2011 15" mbps, late 11 iMac, iPhone 4s, and too many ipods and other stuff

Dysfunction is offline
Well, that works.. but it's not a pop up, it's just text in the login window. Lemme keep digging/remembering

mike
This machine kills fascists
Got # ? phear the command line!
QUOTE Thanks
lifeafter2am

 
lifeafter2am's Avatar
 
Member Since: Aug 25, 2006
Location: Central Florida
Posts: 1,395
lifeafter2am is a jewel in the roughlifeafter2am is a jewel in the rough
Mac Specs: MacBook Pro Unibody

lifeafter2am is offline
You can change the text in the login window using Onyx too.


masakatsu agatsu

@lifeafter2am
QUOTE Thanks
Dysfunction

 
Dysfunction's Avatar
 
Member Since: Mar 17, 2008
Location: Tucson, AZ
Posts: 6,638
Dysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant future
Mac Specs: 2008 and 2011 15" mbps, late 11 iMac, iPhone 4s, and too many ipods and other stuff

Dysfunction is offline
yes you can, and it's likely easier. but I prefer.. when possible.. to give the method available 'out of the box'

Yea, I'm weird like that

mike
This machine kills fascists
Got # ? phear the command line!
QUOTE Thanks
lifeafter2am

 
lifeafter2am's Avatar
 
Member Since: Aug 25, 2006
Location: Central Florida
Posts: 1,395
lifeafter2am is a jewel in the roughlifeafter2am is a jewel in the rough
Mac Specs: MacBook Pro Unibody

lifeafter2am is offline
Quote:
Originally Posted by Dysfunction View Post
yes you can, and it's likely easier. but I prefer.. when possible.. to give the method available 'out of the box'

Yea, I'm weird like that
Your talking to a *Nix geek, no need to justify using the command line! I am just making it easier for others.

masakatsu agatsu

@lifeafter2am
QUOTE Thanks
natenmaste

 
Member Since: May 03, 2008
Posts: 101
natenmaste has a little shameless behaviour in the past
Mac Specs: alienware,mbp,imac(3),blackjack,Hp running macintosh,

natenmaste is offline
Quote:
Originally Posted by Dysfunction View Post
Used to be able to just modify /Library/Preferences/com.apple.loginwindow.plist

by adding

<key>LoginwindowText</key>
<string>text goes here </string>


sudo defaults write com.apple.loginwindow LoginwindowText "Don't be stupid"

might work.
WOW it worked for one of the 10.3.9 comps i have. but will it work for 10.5
QUOTE Thanks
Dysfunction

 
Dysfunction's Avatar
 
Member Since: Mar 17, 2008
Location: Tucson, AZ
Posts: 6,638
Dysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant future
Mac Specs: 2008 and 2011 15" mbps, late 11 iMac, iPhone 4s, and too many ipods and other stuff

Dysfunction is offline
the sudo defaults write com.apple.loginwindow LoginwindowText "Don't be stupid" will work in 10.5, works in 10.5.4

mike
This machine kills fascists
Got # ? phear the command line!
QUOTE Thanks

Post Reply New Thread Subscribe


« RAM display | Mac UI »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 On
Pingbacks are On
Refbacks are Off
Forum Jump

All times are GMT -4. The time now is 10:55 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?