Solved

Need Login Window to display computername

Posted on 2011-02-14
5
543 Views
Last Modified: 2012-05-11
I have linux experience, but only have a couple months on the mac.  I need to have the macs in my mac labs (about 120 computers) display the name of the computer on the login window.  I also need to be able to do this via the command line.  

I tried:

hostn=`scutil --get HostName`
sudo defualts write /Library/Preferences/loginwindow.plist LoginwindowText $hostn

but this did not appear to have any effect at all.  what am i doin wrong.
0
Comment
Question by:koffea
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 

Author Comment

by:koffea
ID: 34891458
also tried :
hostn=`scutil --get HostName`
sudo defualts write /Library/Preferences/loginwindow LoginwindowText $hostn

still no luck
0
 
LVL 12

Accepted Solution

by:
nxnw earned 500 total points
ID: 34893549
The default is to display the computer name in the login window, right under "Mac OS X". If it is showing something else, it has probably been changed by Workgroup Manager, and your local change will not take.

If you just want to see it, click on whatever info is being displayed under "Mac OS X". It will cycle through a few different items, including the machine name.

If you want it permanently changed on all machines, so that the machine name always shows as the default, log into your server using workgroup manager and find where the setting has been modified. I think it is in the Login Window preference, and may be set by machine, by machine group, and maybe also by user and user group.
0
 

Author Comment

by:koffea
ID: 34898582
ok i see this now.  I was hoping I would not have to alter the AD schema.  But it looks like i will have to now in order to make this work.

THank you.

0
 

Author Closing Comment

by:koffea
ID: 34898596
answer was correct.  I also need to install mac update schema to AD
0
 
LVL 12

Expert Comment

by:nxnw
ID: 34898946
FYI, one would not assume that a mac lab is on AD (I assumed prefs were being managed by an OS X Server). Anyway, glad to help.
0

Featured Post

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Connectivity using SMB Symptoms When connecting to Windows Server shares from a Mac you receive an error similar to "Connection failed because the original item could not be found"Authentication persistently fails to a Windows Server from a Mac wi…
An introduction to the wonderful sport of Scam Baiting.  Learn how to help fight scammers by beating them at their own game. This great pass time helps the world, while providing an endless source of entertainment. Enjoy!
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question