username not in sudoers file and access denied to sudoers file

15 views
Skip to first unread message

RICARDO CARREÑO AGUILERA

unread,
May 9, 2015, 8:04:19 PM5/9/15
to rubyonra...@googlegroups.com
I am trying to install RVM to install ruby on rails in lynux but I get the following message: your username is not in the sudoers file, then when I try to use visudo to edit the sudoers file, the following message appears: access deny to sudoers file. so, can I edit the sudoers file?.

regards

Ganesh Ranganathan

unread,
May 9, 2015, 9:15:58 PM5/9/15
to rubyonra...@googlegroups.com

On Sun, May 10, 2015 at 5:26 AM, RICARDO CARREÑO AGUILERA <ricardocarr...@gmail.com> wrote:
I am trying to install RVM to install ruby on rails in lynux but I get the following message: your username is not in the sudoers file, then when I try to use visudo to edit the sudoers file, the following message appears: access deny to sudoers file. so, can I edit the sudoers file?.

​login as root (sudo su) and then edit the file to add your user.​

Reply all
Reply to author
Forward
0 new messages