In his will, the Buddha told his disciples that they should live their lives based on themselves and that they should live according to the law.
To base oneself on oneself is to think and act on one's own.
To be based on the law is to think and act in accordance with the Buddha's teachings, social rules, natural providence, etc.
Accept with appreciation what your parents and superiors say that they think is good for you based on their knowledge and experience.
On the other hand, you don't have to take what I say to you because of your own interests and desires. Nonetheless, in some cases, they may follow it in order to live.