applying Linux validate rules