I used the password which was given to me from ITVersity from the login page. Its saying that i dont have the super user permission. What should I do

[mohitpatil@gw03 ~]$ sudo -u hdfs hadoop fs -mkdir /user/mohitpatil;
[sudo] password for mohitpatil:
mohitpatil is not in the sudoers file. This incident will be reported.
[mohitpatil@gw03 ~]$

You do not need sudo for this & the command which you are using is wrong. Please try hadoop fs -mkdir /user/mohitpatil/desireddirectoryname .