fpausp
[quote!]I can do it with the server-manager but it would also be nice to do it over ssh to have the ability of automating.
[/quote]
Anything you can do in server manager, you can do at the command prompt eg when running a ssh session.
Anything you do at command line can be automated using a cron job. To temporarily change settings for a user you can run one cron job to disable something (say at 5pm) & then another cron job to enable something (say at 8am).
So please tell us what change you make in server manager & we will tell you what command to issue at command line/using ssh.
You can find out yourself what commands are issued when using server manager.
Perform the required change in server manager noting the exact time you start doing this. Then when done, review the messages log file, in server manager view log files panel, select messages (which is the default) ie this is the /var/log/messages log file.
Look through the file for the exact time you made the change(s) in server manager & you will see the command or commands that the system issued.
You can also see the commands in real time by opening a putty/ssh session & running the tail command before you make the changes in server manager, & then watch the ssh session screen.
man tail
for more info.
Also FYI you can run server manager in text mode (non GUI) when using a putty/ssh session,
Type
console
& select server manager
or use elinks