Linux.com

Multiple Passwords

Link to this post 05 Oct 10

:woohoo:
I'm thinking of how you can login to a computer no matter of the password you use.
If you use the correct password you get to access the administrator account.
If you write anything else, you are able to login to a guest user.
:unsure:
When you get the correct password you are notified by specific visual and/or audio effect different from the guest account...
How that can be setted or an application made?

:huh:


http://boredboy2.blogspot.com/2010/10/login.html

Link to this post 06 Oct 10

I do not know of a current tool that can do that, but with some programming knowledge you may be able to modify the source code of the shadow utility to fit your needs. The source code of the shadow utility can be found at http://pkg-shadow.alioth.debian.org/

Link to this post 07 Oct 10

uhm... i asked cos i have no knowledge of how to modify anything.
thanx for the link... i-ll try to learn :D

Link to this post 07 Oct 10

boredboy2 wrote:

uhm... i asked cos i have no knowledge of how to modify anything.
thanx for the link... i-ll try to learn :D

The application source that I sent you to controls the user login and password verification process, to make the default system login process match your needs you would either have to patch that source of create a corresponding project that can replace the shadow utilities.

But if you wish to only have the desktop manager control the behavior, then you might look into simply setting up a limited user account with no password or an auto-login user account and setting your login manager to display all non root users, ie.. the limited user.

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board