I am trying to create an authentication module for the 'login' application.In the module,user name and password, accepted in the local machine is send to a server program running in another machine and these are verified with the entries in the 'password' or 'shadow' files of that machine.But the problem is that, some times i want to allow some users to login to the local system even though there is no password file entry for that user. That is, i want to authenticate a user who is not a member of the local machine.In this case the user will not get a login shell and home directory.Some times an error occurs like "Credentials are not set".How can i set the credentials and user environment and how can i assign a consistent login shell to the user?
so that he can work as a common user of the local machine.Please also give me some code examples.
Please mail me
praveen_pkn@yahoo.com