system('echo "echo /path/to/file | su - newuser" | sudo su'); [download]
In reply to Re: Linux su twice by soonix in thread Linux su twice by breezykatt