Welcome to the Linux Foundation Forum!

Multiple Passwords

Options

: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

Comments

  • mfillpot
    mfillpot Posts: 2,177
    Options
    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/
  • boredboy2
    Options
    uhm... i asked cos i have no knowledge of how to modify anything.
    thanx for the link... i-ll try to learn :D
  • mfillpot
    mfillpot Posts: 2,177
    Options
    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.

Categories

Upcoming Training