var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: How to change the login user in non-interactive mode
I want to write a shell script which should change the login user to some other user(both login id and password need to be hard coded).
I used the SU utility to change the login user to another user. But I am
not able to supply the password in the non-interactive mode.
I hope we cannot pass argument to SU command.
So, How to change the login user using scripts ?
Can you explain little bit detail how to use expect ?