Hi ! All
I want to write a script where, it will open a new shell with a
username / pwd and modify a file of same username and exit.
example:
- UserA
- UserB- FileB
ScriptA -> su UserB -> Modify FileB -> Exit ScriptA
Can somebody give me a direction , on how to approach.
I did do some search in the forum, All were talking about Expect , Sudo .. etc.
Please help.
Thanks in advance. !!!