-2

I am trying to change the time 7 date on my Linux machine. But it asks me to authenticate as root for this. I tried to enter as root as password but that was incorrect. How could I access the root password?

Ron Axm
  • 101
  • 9
  • 1
    Stack Overflow is a site for programming and development questions. This question appears to be off-topic because it is not about programming or development. See [What topics can I ask about here](http://stackoverflow.com/help/on-topic) in the Help Center. Perhaps [Super User](http://superuser.com/) or [Unix & Linux Stack Exchange](http://unix.stackexchange.com/) would be a better place to ask. – jww Jun 23 '17 at 13:57

1 Answers1

1

If your user is in the sudo group, just use

sudo -s

to drop into a root shell

Oliver
  • 1,360
  • 9
  • 14
  • Any other possible solutions? – Ron Axm Jun 23 '17 at 11:06
  • For security reasons, if you don't have the root password, and you are not a sudo user, the only way to recover the password is to re-set it: https://askubuntu.com/questions/24006/how-do-i-reset-a-lost-administrative-password – Oliver Jun 23 '17 at 11:28