Password-Protected login
Password-Protected login
minixdm requires PuppyBasic (which is part of Puppy since 1.0.5)
On older Puppys, install this Dotpup:
http://www.murga.org/%7Epuppy/download.php?id=901
to activate minixdm, add this line as SECOND line to /root/.xinitrc (after #!/bin/sh):
/root/minixdm
Edit /root/minixdmpassword to change the password (default: 123)
Edit /root/minixdm to alter text and Backgroundimage (or replace /root/minixdm.jpg with another picture)
Mark
- Attachments
-
- minixdm.pup
- (33.4 KiB) Downloaded 901 times
Last edited by MU on Fri 14 Oct 2005, 02:28, edited 1 time in total.
replace win98 with puppy
Hi Mark, can you create a script of your login manager that will automatically mount a share or network folder in win2000 PDC? And by changing the default user (root) in minixdm & minixdmpasswd file with the ones being used by a certain user to authenticate themselves with the windows fileserver.
I told my friend to change her pirated windows98 to puppy 1.0.4 linux. Would that be cool? is this possible with puppy?
Thanks!
I told my friend to change her pirated windows98 to puppy 1.0.4 linux. Would that be cool? is this possible with puppy?
Thanks!
[color=blue][i]"If you have knowledge, let others light their candles in it."
~Margaret Fuller[/i][/color]
~Margaret Fuller[/i][/color]
Great app Mark.
The only trouble I'm having is, I can hit "ok" or "cancel" anytime and get in (regardless of username or password). I'm using ICEWM if that makes a difference.
One question also. Is there anyway to lanch this during a session? I'd like to be able to get things running and then "lock the workstation" (like in xp pro, when you hit the winkey+L). I tried to run it from xterm and got this:
# /root/minixdm
/root/minixdm.jpg is a 1024x768 JPEG image, color space YCbCr, 3 comps., Huffman coding
Zooming image by 125%...done
Clipping image...(Adding border)...done
Building XImage...done
The login box opens, but the big picture doesn't show up.
Thanks again, very cool idea. I had been thinking to myself recently that it would be great to have a single user authentication system.
Any thoughts of hashing the authentication info in the future?
The only trouble I'm having is, I can hit "ok" or "cancel" anytime and get in (regardless of username or password). I'm using ICEWM if that makes a difference.
One question also. Is there anyway to lanch this during a session? I'd like to be able to get things running and then "lock the workstation" (like in xp pro, when you hit the winkey+L). I tried to run it from xterm and got this:
# /root/minixdm
/root/minixdm.jpg is a 1024x768 JPEG image, color space YCbCr, 3 comps., Huffman coding
Zooming image by 125%...done
Clipping image...(Adding border)...done
Building XImage...done
The login box opens, but the big picture doesn't show up.
Thanks again, very cool idea. I had been thinking to myself recently that it would be great to have a single user authentication system.
Any thoughts of hashing the authentication info in the future?
A real "lock" is much more complicated.
I will try to get an old and small version of "xlock" working in the next days.
But there still is the problem, Puppy is no real Multiuser-system.
So these login-tools mainly shall have one purpose:
avoid, that the collegue in the bureau can have access (I assume he/she is a windows-user without deeper knowledge of X).
The problems you mentioned with the current login should not happen, but i did not test it intensively. It was more a "how could it be done?". I will have a closer look tomorrow at that.
Mark
I will try to get an old and small version of "xlock" working in the next days.
But there still is the problem, Puppy is no real Multiuser-system.
So these login-tools mainly shall have one purpose:
avoid, that the collegue in the bureau can have access (I assume he/she is a windows-user without deeper knowledge of X).
The problems you mentioned with the current login should not happen, but i did not test it intensively. It was more a "how could it be done?". I will have a closer look tomorrow at that.
Mark
I uploaded a new version.
New:
- fixed Bug when you could login after "cancel"
- fixed Bug when you could login with any values
- added deactivation of "CTRL", so that you cannot exit X on Login-Screen
Not done yet:
You cannot use this program when your Desktop already started ("lock station").
Please report further bugs you find.
Thanks, Mark
New:
- fixed Bug when you could login after "cancel"
- fixed Bug when you could login with any values
- added deactivation of "CTRL", so that you cannot exit X on Login-Screen
Not done yet:
You cannot use this program when your Desktop already started ("lock station").
Please report further bugs you find.
Thanks, Mark
enhanced script
Hi Mark! Is there a way you can modify your script to accomodate a variable for username & password?
something like $USER and $PASS to be later on be used by SMBMOUNT command inserted into your XDM script. I wish you can make a xdmusers.lst to verify valid users. Modify minixdmpasswd to be used with multiple password like /etc/passwd
smbmount //machine/share /root/my_documents -o username=$USER,password=$PASS
Can your read my mind?
something like $USER and $PASS to be later on be used by SMBMOUNT command inserted into your XDM script. I wish you can make a xdmusers.lst to verify valid users. Modify minixdmpasswd to be used with multiple password like /etc/passwd
smbmount //machine/share /root/my_documents -o username=$USER,password=$PASS
Can your read my mind?
[color=blue][i]"If you have knowledge, let others light their candles in it."
~Margaret Fuller[/i][/color]
~Margaret Fuller[/i][/color]
Here is a "lock-station"-Tool.
It uses the passwordfile and backgroundimage of minixdm.
Unfortunately this solution needs wxBasic, which is 2 MB in size compressed: http://www.murga.org/%7Epuppy/viewtopic.php?p=11734
Install, and run it from the Dotpup-Menue.
You also can drag it to your Desktop (/usr/local/lockstation/lock-station).
Attention, your Puppy really is locked then, you have no access without Password! (ok, there is a trick, but I just tell it if you are in trouble).
This tool just works using the mouse, not with the keyboard.
Mark
It uses the passwordfile and backgroundimage of minixdm.
Unfortunately this solution needs wxBasic, which is 2 MB in size compressed: http://www.murga.org/%7Epuppy/viewtopic.php?p=11734
Install, and run it from the Dotpup-Menue.
You also can drag it to your Desktop (/usr/local/lockstation/lock-station).
Attention, your Puppy really is locked then, you have no access without Password! (ok, there is a trick, but I just tell it if you are in trouble).
This tool just works using the mouse, not with the keyboard.
Mark
- Attachments
-
- lock.jpg
- (24.51 KiB) Downloaded 3078 times
-
- lockstation.pup
- (5.93 KiB) Downloaded 721 times
Last edited by MU on Fri 14 Oct 2005, 09:02, edited 4 times in total.
Re: enhanced script
I can try it this weekend.gliezl wrote:Hi Mark! Is there a way you can modify your script to accomodate a variable for username & password?
I will have to encrypt the passwords then using md5sum, as it currently is clear-text.
So everybody logged in could read the password-list (as everybody is root in Puppy).
But i don't promise i get it running this weekend.
Mark
Re: enhanced script
On this shell, Environment Vars can be set like:gliezl wrote:Hi Mark! Is there a way you can modify your script to accomodate a variable for username & password?
something like $USER and $PASS to be later on be used by SMBMOUNT command inserted into your XDM script.
LOGNAME=your_value_here
Custom vars are set like:
CUSTOM_VAR=your_value_here
you're getting kinda tricky here.gliezl wrote:I wish you can make a xdmusers.lst to verify valid users. Modify minixdmpasswd to be used with multiple password like /etc/passwd
you rolling out a network or just trying to mount a share? If it's just for you, you can make a script to do it. If you are rolling out a network, these are great questions.gliezl wrote:smbmount //machine/share /root/my_documents -o username=$USER,password=$PASS
hmmm.. I'm only a beginner in mind reading. Anyone else got a degree?gliezl wrote:Can your read my mind?
That's sort of strange, but ok since it gets the job done. Did you need to do that to make it secure?MU wrote:This tool just works using the mouse, not with the keyboard.Mark
It works great over here and does everything we talked about. I can keep the nosey people out of my computer whether I'm sleeping or taking a bathroom/smoke break.
I tried several approaches tonight, and had the following problem:
When I turn a normal Window Fullscreen, it is covered by opened Toolbars.
Example is the "blank screen" in the new PuppyBasic-Screensaver.
My Tools like Expose or wxIconbar cover it, so everybody can access the computer by using these programs.
The wxBasic-Solution uses itself a Gtk-Toolbar, simply maximized to the screenwidth and Height (this is different to setting a normal window fullscreen).
This solution covers everything.
Such toolwindows are usually taken to display menues or Bitmap-buttons, but not to add Textentries. So Textentries are not fully functional.
For this reason I had to add the buttons, that can be used with the mouse.
I still plan to have a look at the "xlock" C-Program, but this might take some time.
That one would support the keyboard.
Greets, Mark
When I turn a normal Window Fullscreen, it is covered by opened Toolbars.
Example is the "blank screen" in the new PuppyBasic-Screensaver.
My Tools like Expose or wxIconbar cover it, so everybody can access the computer by using these programs.
The wxBasic-Solution uses itself a Gtk-Toolbar, simply maximized to the screenwidth and Height (this is different to setting a normal window fullscreen).
This solution covers everything.
Such toolwindows are usually taken to display menues or Bitmap-buttons, but not to add Textentries. So Textentries are not fully functional.
For this reason I had to add the buttons, that can be used with the mouse.
I still plan to have a look at the "xlock" C-Program, but this might take some time.
That one would support the keyboard.
Greets, Mark
Re: enhanced script
Wow. That's cool!MU wrote: I can try it this weekend.
I will have to encrypt the passwords then using md5sum, as it currently is clear-text.
exactly what I mean.MU wrote:So everybody logged in could read the password-list (as everybody is root in Puppy).
You take your time.MU wrote: But i don't promise i get it running this weekend.
Yes, trying it in a network. Could be the first choice OS in my father's company. Doing some test...John Doe wrote: If you are rolling out a network, these are great questions.
Perfect! It's like those online balance inquiry of your bank account using mouse clicks rather than a keyboard. Someone might install a hardware on your computer (without you knowing ofcourse) which record keystrokes.MU wrote: This tool just works using the mouse, not with the keyboard
[color=blue][i]"If you have knowledge, let others light their candles in it."
~Margaret Fuller[/i][/color]
~Margaret Fuller[/i][/color]