Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 548
  • Last Modified:

Need Login Window to display computername

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
koffea
Asked:
koffea
  • 3
  • 2
1 Solution
 
koffeaAuthor Commented:
also tried :
hostn=`scutil --get HostName`
sudo defualts write /Library/Preferences/loginwindow LoginwindowText $hostn

still no luck
0
 
nxnwCommented:
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
 
koffeaAuthor Commented:
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
 
koffeaAuthor Commented:
answer was correct.  I also need to install mac update schema to AD
0
 
nxnwCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now