Quote:
i want execute some commands ,commands needs to be login as a root user.
|
To run a command without actually loggin in as root run...
Code:
su -c thecommandUwant2run
It'll prompt you for roots password, and if entered right, it'll execute the command for you.