I enabled my root account in ubuntu
and was editing /etc/sudoers, for doing that I had set its file permissions to 744.
now when I do su, I get an account expiration message
Code:
santhosh@santhosh-laptop:~$ su
Password:
Your account has expired; please contact your system administrator
su: User account has expired
santhosh@santhosh-laptop:~$
and I am not able to execute sudo too.
Code:
santhosh@santhosh-laptop:~$ sudo vim /etc/sudoers
sudo: /etc/sudoers is mode 0744, should be 0440
is there a way in which I can reset the permissions of /etc/sudoers file or reenable the root account ?
Thank you