John BORIS on 12 Jul 2012 12:07:59 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] helping a school district


Okay then the script would execute for that user when that user logs in
(student01 etc). then you say you want the script to prompt for the user
name and password for the share. That is what it would do. When it
promnpts for the login it would have to do a look up for the proper
share and then try to mount the share. The process should then spit back
the login dialog box where the user would enter their login and
passowrd.

So I log on as sstudent01. Script executes after the the desktop comes
up and asks me for my login (say jboris). I enter jboris, the script
looks up (maybe a case statement or a grep of a file) and gets the path
(servems:$C:/jbotis). The system mounts the share but gets stops because
of the wrong credentials so it pops up the login/password dialog. Enter
the info andit is mounted. When the user logsout of the desktop the
share would be dropped.

Now I am up to speed of the mount process but I  believe it should do
that.

John J. Boris, Sr.

"Remember! That light at the end of the tunnel
Just might be the headlight of an oncoming train!"


>>> "Eric at Lucii.org" <eric@lucii.org> 7/12/2012 2:52 PM >>>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

John:

I asked - the login is anonymous (student01, student02, etc.) and the
student then needs to connect to their own personal shared directory.

Thanks,
Eric

On 07/12/2012 02:34 PM, John BORIS wrote:
> Eric, Wouldn't this be done in the profile. When the student logs
into the Ubuntu computer it executes the profile (not really sure in
Gnome or KDE what goes on) so the script gets executed and does its
thing.
> 
> You could possibly have them login at the non graphical screen and
then fire off the x session after they are authenticated, mounted the
drive and then when they log out of the x session if it is dropped back
to the shell the script would have a logout as the end of the script.
> 
> I will have to look at the gnome/kde login process.
> 
> John J. Boris, Sr.
> 
> "Remember! That light at the end of the tunnel Just might be the
headlight of an oncoming train!"
> 
> 
>>>> "Eric at Lucii.org" <eric@lucii.org> 7/12/2012 2:02 PM >>>
> My Brother-in-law called me today - he's a vice-principal at Delran
High School in NJ.
> 
> He said they need a Linux "script" to connect to a remote shared
(Microsoft) drive.
> 
> My notes are:
> 
> Student logs in to Ubuntu 12.04 computer. Student is automatically
(or manual via icon click) prompted to enter: username password location
course (optional) From this information the script: builds the path
authenticates the user mounts the appropriate drive.
> 
> Presumably something will be required to disconnect the user's drive
when they log out of the UI.
> 
> I could do this with the shell but who (besides me and you) uses the
shell?
> 
> Is this easy enough to do with something like Tcl/Tk or Perl/Tk (or
some Python magic that I'm totally unaware of)?
> 
> Examples?  Prior art?  Suggestions?
> 
> Thanks, Eric
___________________________________________________________________________
Philadelphia Linux Users Group         -- http://www.phillylinux.org
Announcements -
http://lists.phillylinux.org/mailman/listinfo/plug-announce General
Discussion  -- http://lists.phillylinux.org/mailman/listinfo/plug
___________________________________________________________________________
Philadelphia Linux Users Group         --       
http://www.phillylinux.org Announcements -
http://lists.phillylinux.org/mailman/listinfo/plug-announce General
Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug 
> 
> 

- -- 
#  Eric Lucas
#
#                "Oh, I have slipped the surly bond of earth
#                 And danced the skies on laughter-silvered wings...
#                                        -- John Gillespie Magee Jr

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ 

iEYEARECAAYFAk//HO8ACgkQ2sGpvXQrZ/4AGQCfXHItIi8cNabgyc6ll7UW99vu
ktAAoLt70IMhdxGDMvOQ+P3dsFfE8BdH
=PToK
-----END PGP SIGNATURE-----
___________________________________________________________________________
Philadelphia Linux Users Group         --       
http://www.phillylinux.org 
Announcements -
http://lists.phillylinux.org/mailman/listinfo/plug-announce 
General Discussion  --  
http://lists.phillylinux.org/mailman/listinfo/plug
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug