No home? Log out
Results 1 to 7 of 7

Thread: No home? Log out

  1. #1
    Join Date
    Apr 2000
    Location
    INDIA
    Posts
    74

    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
    <a href="http://click.linksynergy.com/fs-bin/click?id=LjV1nuKtymM&offerid=36698.10000001&type=3&subid=0" >Subscribe Now to Windows & .NET Magazine!</a><IMG border=0 width=1 height=1 src="http://ad.linksynergy.com/fs-bin/show?id=LjV1nuKtymM&bids=36698.10000001&type=3&subid=0" ></p>

  2. #2
    Join Date
    Jun 2000
    Location
    Windsor, Canada
    Posts
    540
    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?

  3. #3
    Join Date
    Sep 2003
    Location
    Florida
    Posts
    1,494
    I think what were wanting to know is, is this acct local or on the network?
    .*TaNgZ*.

    **(Outdated)Power Machiene**
    **Tripple Boot System**
    Operating Systems
    : Windows 2000 SP4; Windows XP Pro; SuSE Linux 9.1
    CPU : AMD Athlon XP 2700+ (256kb on-die L2 Cache) PDF Data Sheet
    RAM : 2x512 PC3200 modules-88L5HDL0-1RDG
    MOBO : Gigabyte GA-7VAXP Ultra
    HDD : WD800BB (80gig), WD800JB (80gig)
    DVD DRIVE : Sony DRU-500A
    CD DRIVE : AOPEN 52x48x52 CD-RW
    VIDEO : GeForce FX5900 (OC'd to 10MHz below the 5950 Ultra)
    AUDIO : Creative Sound Blaster Audigy 2
    CAPTURE : Conexant Mpeg video capture card
    3D : Direct X 9.0b

    A+ and Net+ Certified (so far)

    Quote of the day
    “Success is never final. Failure is never fatal.” -Winston Churchill


    - - - Recommended Programs - - -
    AdAware - - Spybot Search & Destroy - - Hijack This - - Everest Home Edition

    Want to know if a program is naughty? Go to Sysinfo.org to find out ! !

  4. #4
    Join Date
    Apr 2000
    Location
    INDIA
    Posts
    74
    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
    <a href="http://click.linksynergy.com/fs-bin/click?id=LjV1nuKtymM&offerid=36698.10000001&type=3&subid=0" >Subscribe Now to Windows & .NET Magazine!</a><IMG border=0 width=1 height=1 src="http://ad.linksynergy.com/fs-bin/show?id=LjV1nuKtymM&bids=36698.10000001&type=3&subid=0" ></p>

  5. #5
    Join Date
    Sep 2003
    Location
    Florida
    Posts
    1,494
    well, if the acct is not there...the only thing he can do is log into his local pc only...no network access
    .*TaNgZ*.

    **(Outdated)Power Machiene**
    **Tripple Boot System**
    Operating Systems
    : Windows 2000 SP4; Windows XP Pro; SuSE Linux 9.1
    CPU : AMD Athlon XP 2700+ (256kb on-die L2 Cache) PDF Data Sheet
    RAM : 2x512 PC3200 modules-88L5HDL0-1RDG
    MOBO : Gigabyte GA-7VAXP Ultra
    HDD : WD800BB (80gig), WD800JB (80gig)
    DVD DRIVE : Sony DRU-500A
    CD DRIVE : AOPEN 52x48x52 CD-RW
    VIDEO : GeForce FX5900 (OC'd to 10MHz below the 5950 Ultra)
    AUDIO : Creative Sound Blaster Audigy 2
    CAPTURE : Conexant Mpeg video capture card
    3D : Direct X 9.0b

    A+ and Net+ Certified (so far)

    Quote of the day
    “Success is never final. Failure is never fatal.” -Winston Churchill


    - - - Recommended Programs - - -
    AdAware - - Spybot Search & Destroy - - Hijack This - - Everest Home Edition

    Want to know if a program is naughty? Go to Sysinfo.org to find out ! !

  6. #6
    Join Date
    Aug 1999
    Location
    CANADA
    Posts
    2,175
    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.
    Rapmaster
    (I don't like rap music.)

    Microsoft MVP,
    Windows - Shell/User

  7. #7
    Join Date
    Apr 2000
    Location
    INDIA
    Posts
    74

    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
    <a href="http://click.linksynergy.com/fs-bin/click?id=LjV1nuKtymM&offerid=36698.10000001&type=3&subid=0" >Subscribe Now to Windows & .NET Magazine!</a><IMG border=0 width=1 height=1 src="http://ad.linksynergy.com/fs-bin/show?id=LjV1nuKtymM&bids=36698.10000001&type=3&subid=0" ></p>

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •