Results 1 to 6 of 6
Hi folks,
Debian Etch 4.0
On running;
# apt-get install sudoer
Code:
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package sudoer
# apt-get install visudo
Code:
...
- 09-05-2008 #1Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,531
[SOLVED] Search repo providing sudoer and visudo
Hi folks,
Debian Etch 4.0
On running;
# apt-get install sudoerCode:Reading package lists... Done Building dependency tree... Done E: Couldn't find package sudoer
# apt-get install visudoCode:Reading package lists... Done Building dependency tree... Done E: Couldn't find package visudo
# cat /etc/apt/sources.listCode:deb http://security.debian.org etch/updates main deb http://ftp.hk.debian.org/debian/ etch main deb-src http://ftp.hk.debian.org/debian/ etch main
Please advise how to add the necessary repo for sudoers and visudo.
TIA
B.R.
satimis
- 09-05-2008 #2Linux Guru
- Join Date
- Nov 2004
- Posts
- 6,110
I believe you want to install sudo rather than sudoers. It may already be installed. The file /etc/sudoers is the config file for sudo and visudo is provided to edit /etc/sudoers to prevent damaging the file and hindering access. Your initial editing of the file should be done as root, whether using vim or visudo as you will have to grant access first.
- 09-05-2008 #3Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,531
Hi bigtomrodney,
I got it. Thanks for your advice..
Sudo has not been installed on Debian Etch which is running as guest on a VM. Only limited packages has been download/installed, a basic OS for building headless server.
Edit:
A further question.
To allow satimis having admin's privilege I ran;
# visudo
adding;
satimis ALL=(ALL) ALL
below root.
Is this the correct step? Thanks.
B.R.
satimis
- 09-05-2008 #4Linux Guru
- Join Date
- Nov 2004
- Posts
- 6,110
That looks right to me. I'm not sure if it requires a reboot, but try using the sudo command for anything and enter the password for satimis when prompted.
Code:sudo true
- 09-05-2008 #5Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,531
- 09-05-2008 #6Linux Guru
- Join Date
- Nov 2004
- Posts
- 6,110
Glad it worked!




