New answers tagged user-permissions
you can use command option in authorized_keys(*) of destination user to restrict acces. e.g. keys looks like: command="/bin/ls -l /foo/bar.txt" ssh-rsa AAB.... command="/bin/df -Ph " ssh-rsa AAC.... this means each command is access via its own key, but all df can share the same key. (*) see man 5 authorized_keys
Nevermind, I found a solution. This question has already been asked on superuser. For the solution see: http://superuser.com/questions/182375/always-display-the-last-default-user-windows-7-welcome-screen/182382#182382 and http://superuser.com/questions/66400/hide-account-from-login-screen-but-can-be-used-in-uac.
have you tried using net user to disable the admin account? net user administrator /active:no NOTE : open command prompt via Run it as administrator
If you did not disable the Administrator account, just hidden it from the login screen, you can log in as Administrator via Remote Desktop connection. (provided that remote desktop is enabled on the machine...)
Top 50 recent answers are included