paulwong

          Ubuntu Tips: How To Enable Root User ( Super User ) in Ubuntu


          Question: I’m unable to do su – on Ubuntu. It says “su: Authentication failure”. How do I fix it? Also, is it possible for me to login to Ubuntu using root account directly?

          Answer: Let us address these two question one by one.

          Warning: Enabling root is not recommended. If possible, you should always try to perform all administrative tasks using sudo.

          Question 1: I’m unable to login using su command. How to fix this?

          By default, root account password is locked in Ubuntu. So, when you do su -, you’ll get Authentication failure error message as shown below.

          $ su - Password: su: Authentication failure

          Enable super user account password on Ubuntu

          First, set a password for root user as shown below.

          $ sudo passwd root [sudo] password for ramesh: Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully

          Now with the new password you can login as super user with su command

          posted on 2014-05-03 21:26 paulwong 閱讀(392) 評論(0)  編輯  收藏 所屬分類: LINUX

          主站蜘蛛池模板: 永顺县| 彩票| 徐州市| 海南省| 大城县| 元朗区| 剑河县| 太保市| 吴桥县| 辰溪县| 永靖县| 新竹市| 图木舒克市| 佛冈县| 石阡县| 平顺县| 阿拉尔市| 台中县| 武威市| 杭州市| 老河口市| 台山市| 凌源市| 黎平县| 顺昌县| 东乌珠穆沁旗| 洛阳市| 吉水县| 阿合奇县| 宁津县| 金昌市| 营口市| 广汉市| 库尔勒市| 鄢陵县| 沅江市| 丹巴县| 剑河县| 罗甸县| 新津县| 曲水县|