View Single Post
Posts: 539 | Thanked: 165 times | Joined on Feb 2010 @ Berlin, Germany
#293
Originally Posted by nokian-series View Post
It dont have the result i've expected.
(if i do it from xterminal, line by line, it works ... )
OK, could you also tell us what it actually does and what you'd expect it to do?

What happens if you call the script from commandline? As user with the given pipe to sudo gainroot and as root by calling the script directly.

Is the script executable? Check it!