Results 1 to 7 of 7
I'm very newbie in Linux.I can't access the sudoers file get this message " /etc/sudoers: Permission denied.
I'm working with root user.
Thx in advance....
- 12-20-2011 #1Just Joined!
- Join Date
- Dec 2011
- Posts
- 4
root can not open /etc/sudoers not have permissions??
I'm very newbie in Linux.I can't access the sudoers file get this message " /etc/sudoers: Permission denied.
I'm working with root user.
Thx in advance.
- 12-20-2011 #2
How are you trying to access it?
You must always face the curtain with a bow.
- 12-20-2011 #3Just Joined!
- Join Date
- Dec 2011
- Posts
- 4
/etc/sudoers and then press enter..
- 12-20-2011 #4
It is a textfile, so it does not have or need a executeable bit.
You can open it with a texteditor of your choice.
vi(m) or emacs are very powerful, but probably need some time to get used to.
For a start, you could use nano or pico
nano -w /etc/sudoers
There is also the specialized command visudo:
visudo(
: edit sudoers file - Linux man page You must always face the curtain with a bow.
- 12-20-2011 #5Just Joined!
- Join Date
- Dec 2011
- Posts
- 4
"Nano" is a program?
- 12-20-2011 #6
Yes, it is a small text editor.
If it is not yet installed, then you can do so (on redhat/centos/fedora/redhat based linux distros) with
Code:yum install nano
You must always face the curtain with a bow.
- 12-20-2011 #7Just Joined!
- Join Date
- Dec 2011
- Posts
- 4
Wow it's works
Thank you very much.


Reply With Quote