General :: What Are The Percentage Signs For In The Sudoers File
Aug 18, 2010
In my sudoers file, there are lines that begin with #, lines that begin with % and lines that begin with neither. The # is definitely being used to comment out lines, but what does the % do? Is it a comment marker too?
View 2 Replies
ADVERTISEMENT
Oct 3, 2010
I logged in as root and was trying to add a user to sudoers, but then when I tried to save it said that the file was write protected and couldn't be saved. However, when I returned to look at the contents of the sudoers file, they were all done. The file is now empty.
1- How can I restore the contents of the default sudoers file. (I have FC12)
2- How can I add a user (no password) to the sudoers list without this happening again?
View 9 Replies
View Related
Mar 6, 2011
1.sudo command runs command as root,is that our name should be mentioned in the sudoers file of root?i got the error like this-"sandyain is not in the sudoers file.This incident will be reported."so what is that mean?
View 4 Replies
View Related
Oct 4, 2010
How do I add a user in a sudoers file.
View 6 Replies
View Related
Jul 11, 2010
Recently I edited sudoers file and did typing error. Now neither I can do sudo nor change it.
Code:
sudo visudo -c
>>> sudoers file: syntax error, line 8 <<<
How I can get correct the sudoers file?
View 5 Replies
View Related
Mar 12, 2010
I need to install a package. For that I need root access. However the system says that I am not in sudoers file. When trying to edit one, it complains alike! How I am supposed to add myself to the sudoers file if I don't have the right to edit one? I have installed this system and only administrator. What can I do?
Edit: I have tried visudo already. It requires me to be in sudoers in the first place.
amarzaya@linux-debian-gnu:/$ sudo /usr/sbin/visudo
We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
[sudo] password for amarzaya:
amarzaya is not in the sudoers file. This incident will be reported.
amarzaya@linux-debian-gnu:/$
View 5 Replies
View Related
Jun 3, 2010
Relatively new to Linux, but I'm trying to grasp the proper way to modify the sudoers file. As an example, what would I have to modify in /etc/sudoers to allow a user (say 'user1' for the example) to be able to add/remove software through yum? I'm aware of the fact that I need to use visudo and how to use the vi editor. I've Googled this topic and while I've found a number of pages on the topic, I never see many examples.
View 5 Replies
View Related
Jun 3, 2011
I'm trying to follow this guide http://tech.blog.box.net/2007/06/20/how-to-debug-php-with-vim-and-xdebug-on-linux/ and I need to compile Vim with signs and python options.I have: downloaded the latest source with hg clone https://vim.googlecode.com/hg/ vim uncommented the signs feature in src/feature.hran ./configure --enable-perlinterp --enable-pythoninterp with no errorsran make with this output and errors that I don't understand and can't find on google:
$ make
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -g -O2 -D_FORTIFY_SOURCE=1 -o objects/ex_cmds.o ex_cmds.c
[code]....
View 1 Replies
View Related
Nov 13, 2010
Recently I migrated from Ubuntu to Debian, first thing i wanted to do was to give myself sudo permissions and lock the roir account. By default sudo group don't have permissions to do this on debian, so i wanted to edit sudoers file by typing visudo. But i keep getting this
error: Error opening terminal: vanilla How can i solve this.
View 1 Replies
View Related
Aug 16, 2010
since a recent upgrade to Mandriva 2010.1 I am not able to 'sudo' as administrator or when I use the 'root' password. I am the only user on this machine (Dell Inspiron 530S multi-booted with Window's Vista Home Premium, Ubuntu 10.4, and Mandriva 2010.1). I can get into the 'Manage Users' section of the control center by authenticating as 'root' but I can't access 'sudoers file' from command line.
View 4 Replies
View Related
Jun 6, 2010
Is there a command for showing only the readable signs uit of /usr/bin/passwd?
View 1 Replies
View Related
May 31, 2011
I have tried several things to attempt to fix my sudoers file however it is still coming up with errors. The error says
[code]...
the sudoers configuration file is set to the default as I have ran a dpkg on it, have also uninstalled and reinstalled it, and went over the configuration file ensuring it looked like the defaults I had seen online.
View 8 Replies
View Related
Jun 3, 2010
Is it possible to disable all passwords in debian. I do not need any security usernames and passwords. I don't want type sudo all the times and i want free acces all the time. With debian i allways have some premission problems and why i need a password for my home computer?
1. For example today when i tried to install a file debian told me that my username is not in sudoers file. How can i fix this? 2. Is it possible to disable all passwords and asking admin premission, i dont need that kind of ??? for my home computer. (including the login screen user/password asking) And i am sorry for my grammar errors, i hope you can still understand what i have tried to say.
View 13 Replies
View Related
Mar 25, 2011
I changed my user name, and now the Terminal shows my new user name.I log in with the same user name and the same password. But after changing the username, I can't get anything done as sudo. It says that I am not in the sudoers file, and I can't get in at all. I tried sudo visudo, sudo -i, sudo -l..When, I wrote sudo -l the following came in the Terminal.How do I get into sudoers file and give my new user name ariya the root privileges. Even my old user name doesn't work at all.
View 9 Replies
View Related
May 15, 2010
everytime i try to do anything with sudo i cant and this time it was extremelly costly. From now on i don't want to risk anything like this again and i need to be able to sudo.
View 2 Replies
View Related
May 27, 2010
Do you know some source that has statistics/estimations about this?
Any sound guesses?
View 4 Replies
View Related
May 31, 2010
Please does anyone know or have a link to an article that suggest that most of the worlds servers run on Linux instead of Windows?
View 11 Replies
View Related
Dec 6, 2015
When I use sudo after entering password show me:
Code: Select allhooman is not in the sudoers file. This incident will be reported.
View 5 Replies
View Related
Apr 18, 2011
How do I add myself to the Sudoers File? When I go to use the "Sudo" command, it tells me I am not in the Sudoers File, so I have to do "su -" to bypass it for the time being. How do I add myself?
View 12 Replies
View Related
Feb 15, 2011
How do I add user xyz to sudoers?
View 1 Replies
View Related
May 16, 2011
I want to create a group called scripts, add www-data to that group. I then want to edit the sudoers file and tell it that the script group doesn't need a password. Where should I put this line excatly in the sudoers file?
View 2 Replies
View Related
Jul 15, 2011
I have a bit of a problem... I thought (for certain reasons) I would just add myself to root group and therefore gain some more rights for my account. I could sudo before... But once I gained the root group as a secondary group it says I am not in the sudoers file anymore...
Code:
id
uid=1000(kosta) gid=1000(kosta) groups=0(root),1000(kosta)
Code:
sudo ls
[sudo] password for kosta:
kosta is not in the sudoers file. This incident will be reported. It is really weird and messed up. I can view sudoers file but not edit it... I can cat passwd but I can not view syslog. Is there any way to fix this without having to reboot to recovery mode? And why the heck is this happening after all?
View 2 Replies
View Related
Apr 19, 2011
I am in need to create a script that queries how large a partition is and when it hits a certain percentage (say 90%) it will execute another script that tars up certain files (or they could just be part of the same script). I would create a cronjob that runs this script once a day.
I have the script that tars up the files I need, sets permissions, etc. (btw, the files in question are audit logs). I just need the part that runs something like a df -h and takes the use percentage of the /var partition in that query and if that percentage is greater than/ equal to 90%, it kicks off the tar script.
Here is a sniplet of the df -h with just the /var partition shown:
Quote:
So, when the cronjob sees that the Use% is >= 90%, it would kick off the tar script...if not above 90%, it closes.
View 14 Replies
View Related
Nov 30, 2010
Is it true that I can safely set reserved blocks percentage to 0% on some ext4 partition which contains only my personal data but no OS files?
View 1 Replies
View Related
Oct 2, 2009
I wanted to do an installation from my user login so I typed
sudo make install
then it says
<my_user_loggin> is not in the sudoers file. This incident will be reported.
How to correct this matter...
View 4 Replies
View Related
Mar 25, 2010
I get this message if i try to use sudo/gksudo. What causes this, how can I solve it? It has been working for years. If i remember correcttly there was a sudo update few days ago, maybe it doesnt work since then, i havent used it in the last few days.
View 9 Replies
View Related
Jul 2, 2010
I was planning on getting the USB to work in my 3.2.4 Oracle virtual box, and I found a post that says you have to be a part of vboxusers. I ran > sudo usermod -G vboxusers alias and then id to see that I was a part of the vboxusers group. After I installed an update which required restart. That is right! I am no longer in the /etc/sudoers file!!!
View 2 Replies
View Related
Dec 24, 2010
Whenever I try to run something as root using the sudo comand I get: Code: ramy is not in the sudoers file. This incident will be reported.
View 6 Replies
View Related
Mar 15, 2011
Suddenly I am not in the sudoers file. I am not sure how to recover from this. I have no grub screen at bootup, so I can't boot into single user. I think I am going to have to boot a live version of ubuntu to start with. Is that right? What's next after that? Also, how could this happen, I haven't touched the sudoers file or added users or anything like that (well not that I am aware of) I am a little concerned that this may be the result of someone breaking in? Would this be a likely symptom?
View 3 Replies
View Related
Apr 30, 2011
I am using Ubuntu 9.10 and I lost my sudo accesses for the User. So I am not able to use sudo command as I get the error,user1 is not in the sudoers file. This incident will be reported.Also I tried to login into the root usersu rootit will ask for the password(actually I dont know the password of root but after pressing enter I get the following error)su: Authentication failureI dont know how to add the user1 into the sudoers list.Also, is there any way to add the current user into admin group without using "sudo".
View 1 Replies
View Related