1

Login into another user from user inside script

view story
linux-howto

http://www.unix.com – now i have logged in username : ramesh in unix Now i have to created script file to login into another user and have run a command inside that user and after executing the command i have to exit from that user. Inside script, i have to login into su - ram along with password : haihow and have to run chmod command. Any suggestions. (HowTos)