How to set hdfs as a super user in hortonworks sandbox



Please see the attached image



Use space between - and hdfs

sudo su - hdfs


Hi Balu,

Thanks for your reply
Now I got the below error
su: user hdfs does not exist


sheik use this command to find whether hdfs user is present or not

awk -F’:’ ‘{ print $1}’ /etc/passwd | grep hdfs


Hi Raghu,
Thanks for your reply
After execute the above command no result.
I can able to go through ssh root@ -p 12222;