Newsroom Update

Beginning in May, a special Today at Apple series titled “Made for Business” will offer small business owners and entrepreneurs free opportunities to learn how Apple products and services can support their growth and success. Learn more >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Edit Greeting on File Sharing

Hello. I wanted to add a greeting message to a volume when users connect to it. Unfortunately I made a few typos when typing the message and no matter how many times I change it it keeps displaying the same message.


I've tried stopping and starting the service, restarting the machine, deleting the message entirely, deleting the share point entirely... There's nothing that I can do to make this message go away.


Any thoughts?

Mac mini Server (Mid 2011), OS X Server

Posted on Jan 17, 2013 11:51 PM

Reply
Question marked as Best reply

Posted on Jan 18, 2013 7:23 AM

You could look at it in the Server app however if you don't mind getting into the terminal you can run this command (copy/paste it)


N.B. All the commands in the different font below are one line. The Apple forum software splts them when displaying. Copy/paste them as one line.


sudo serveradmin settings afp:loginGreeting


type in administrator password when prompted.


You will/should see something like this


afp:loginGreeting = "Your message you want to have go away"


To reset it run this command


sudo serveradmin settings afp:loginGreeting = ""

11 replies
Question marked as Best reply

Jan 18, 2013 7:23 AM in response to Newham Bridge Administrator

You could look at it in the Server app however if you don't mind getting into the terminal you can run this command (copy/paste it)


N.B. All the commands in the different font below are one line. The Apple forum software splts them when displaying. Copy/paste them as one line.


sudo serveradmin settings afp:loginGreeting


type in administrator password when prompted.


You will/should see something like this


afp:loginGreeting = "Your message you want to have go away"


To reset it run this command


sudo serveradmin settings afp:loginGreeting = ""

Mar 21, 2013 7:04 PM in response to Newham Bridge Administrator

Alas, this didn't fix it for me.


I am using SERVER 2.1.1

In the File Sharing section, I selected a specific share and activated the Edit Greeting... feature in the Cog Wheel drop down menu (thinking this would apply a specific message to that share only).

I immediately discovered that the greeting applied to all users logging into any share on that server.

I returned to the share and removed the text from the Edit Greeting window, leaving it blank.

All users continued to get the greeting (for any share point)

I then removed the share.

The greeting persists.


Hoping for a guru here!


Cheers

May 17, 2013 9:44 AM in response to FromOZ

I just wanted to chime in here to say that I'm having the same issue as the OP. I would love to say this solved the issue for me but the command:


sudo serveradmin settings afp:loginGreeting = ""


Simply returns the old greeting as if I was querying what the message was. I can use the command:


afp:loginGreeting = "Your message you want to have go away"


Which appears to have changed the message but when you connect to the share point it still displays the old message. I've also tried removing the share and re-adding it to no avail.

Jun 3, 2013 9:06 AM in response to CdaveC

CdaveC wrote:


Great info FromOZ!! Any chance you know how to disable this greeting all together? I'm running 10.8.2 server and I can't seem to find the switch to disable the message alltogether. My users are seeing a generic welcome message when they mount thier home directories.


The problem is the server.app isn't removing the following file when the greeting is erased in the GUI. This is a work-around until apple fixes the problem. This command will kick everyone out of their network shares so it may need to be run during off hours. It worked for me in OSX 10.8 using server version 2.2.1


Run the following from terminal after closing out of the server.app:


sudo defaults delete /Library/Preferences/com.apple.AppleFileServer loginGreeting


killall AppleFireServer


Relaunch the server app.

Edit Greeting on File Sharing

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.