-
No home? Log out
I need the view of the experts out there in finding the best solution to this simple problem:
If a user has no homedirectoy available, he is simply logged out. There should be no exception to the rule...no by pass by pressing CTRL+ALt while logging in or pressing CTRL+C repeatedly etc etc.
Please give views
Thanks in advance
-
what exactly are you asking? If a user has no home directory available, that does not mean he is logged out. but I'm sure that not's what you're asking.
when you say "no exception to the rule", what rule are you talking about?
-
I think what were wanting to know is, is this acct local or on the network?
-
Let me clarify.
I am talking about domain logons.
What I want is that if the homedirectory of a user is not available due to any reason he should not be able to log in. He is forcefully logged out immediately. Of course if he is already logged in then we can leave him logged in.
Thanks
-
well, if the acct is not there...the only thing he can do is log into his local pc only...no network access
-
A home directory is a share on a server... the question is how to detect if this share is not available (i.e. the server that hosts it is down) and to then log off the user.
This sounds like it would turn a medium size problem (no home directory) into a massive problem (user can't do anything.) But anyway...
I think the only way is to build some kind of login script (batch file)
http://www.labmice.net/articles/batchcmds.htm
Have a look at the EXIST command to figure out how to detect the presence of a directory.
Then use a utility like this to force a logoff. http://www.winnetmag.com/Articles/In...ArticleID=9676
A script is the only way I think you can do this... if they are able to cancel the script then yes they will bypass this.
-
thanks
Thanks, Rapmaster. But the only thing which now remains is to exclude the slightest possibility of bypassing the script. Any ideas?
Thanks to all those who responded.
Gopesh