Admin password module proposal (fate #307141)
---------------------------------------------

  Copyright © 2009-10 Novell, Inc.

  Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or (at your option) version 1.3; with the Invariant Section being this copyright notice and license. A copy of the license version 1.2 is included in the section entitled "GNU Free Documentation License". 

Tasks: 
    - change administrator (root's) password
    - configure notification e-mail addresses
      (mail aliases for root)


Model

    singleton class Administrator 
    
    attributes
	string password
	list<string> forward_mail_to

    methods
      (accessing the system, probably using YaPI::USERS)

	save_password
	save_aliases

Policies

    org.opensuse.yast.modules.yapi.users.administrator.read
    org.opensuse.yast.modules.yapi.users.administrator.write

API

    URL: /administrator

    REST service pseudo-code:

    # GET method
    def show

	read and return current mail aliases

    # PUT method
    def update (params)

	if password changed

	    save the new password

	if aliases changed

	    save new list of aliases
