Please can you advise as to how should I write a shell script so that I can switch user from one user account to the other on the same server.
The requirements are user must be able to provide with a user name and it should then take a password which I have saved in a file and should be able to login into user sapce provided by user.
Ensure that you save the file with name script.ksh and when you type the command ./script.ksh you are in the same directory within the file. Also you should make the file executable with "chmod +x script.ksh "