Find the answer to your Linux question:
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: ...
  1. #1
    Linux 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 sudoer
    Code:
    Reading package lists... Done
    Building dependency tree... Done
    E: Couldn't find package sudoer

    # apt-get install visudo
    Code:
    Reading package lists... Done
    Building dependency tree... Done
    E: Couldn't find package visudo

    # cat /etc/apt/sources.list
    Code:
    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

  2. #2
    Linux 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.

  3. #3
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,531
    Quote Originally Posted by bigtomrodney View Post
    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.
    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

  4. #4
    Linux 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

  5. #5
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,531
    Quote Originally Posted by bigtomrodney View Post
    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
    Noted with thanks.

    No reboot required


    satimis

  6. #6
    Linux Guru
    Join Date
    Nov 2004
    Posts
    6,110
    Glad it worked!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •