Thursday, April 15, 2021

Root Terminal Enabling in Linux

 

1.Open the /etc/passwd file

 change the following line 


root:x:0:0:root:/root:/usr/sbin/nologin

to

root:x:0:0:root:/root:/bin/bash



2.Issue the following command in terminal


chmodg+rx /usr/bin/gnome-terminal


No comments:

Post a Comment

jq command in Linux

 How to access the {"field-name":"cskmetro"} echo "{\"field-name\":\"cskmetro\"}" |jq -r ...