How can I remove the entire messaging menu for one particular user (and not all other users) under Unity or Unity-2D in Ubuntu 11.10?
Please backup your important files. I tried my suggestion that follows and the result is that it shows the "message" icon, but it doesn't have any sub-options when clicked. I don't know if it affects the system though.
What I would suggest is to change the group of allowed users for this service. I think you can set who can run the command (indicator-messages-service):
r = read, w = write, x = execute (open folder or run program) - rwx r-x r-x = r/w/x for owner (currently root), r/x for group "root", r/x for the rest (users not root and not in group root)
"754" would basically allow execution of messages service for user root and users in group "msgok". It would also disable the execution of this service to other users, not root nor in group "msgok".
To undo the changes: