Find the answer to your Linux question:
Results 1 to 5 of 5
Hey, I just installed Slackware 12.1, and I'm having a few problems. The first one is with LILO, I edited /etc/lilo.conf and made it so it automatically booted the first ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2008
    Posts
    2

    Just installed Slackware 12.1 - A few problems (lilo and sudo)


    Hey, I just installed Slackware 12.1, and I'm having a few problems.

    The first one is with LILO, I edited /etc/lilo.conf and made it so it automatically booted the first OS (Since this is the only OS on the system), but when I boot up it still shows the lilo menu and waits 2 minutes (Or til I hit enter) to boot up.

    I think this is the relevant part of the file.
    Code:
    # Wait until the timeout to boot (if commented out, boot the
    # first entry immediately):
    # prompt
    # Timeout before the first entry boots.
    # This is given in tenths of a second, so 600 for every minute:
    # timeout = 1
    The second problem is with sudo. I added my account to the sudoers list like I do most distros and it usually works fine, but everytime I try to use sudo using my account it says the command isn't found. (But on root it works fine)

    Example:
    Code:
    bash-3.1$ sudo slapt-get --help
    Password:
    sudo: slapt-get: command not found
    
    But as root:
    
    root@desktop:~# slapt-get --help
    slapt-get - Jason Woodward <woodwardj at jaos dot org>
    An implementation of the Debian APT system to Slackware
    Usage:
    slapt-get [option(s)] [target]
    (etc...)
    If anyone could help me with these problems (Or even 1 or these 2), it would be much appreciated. Thanks.

  2. #2
    Linux Enthusiast meton_magis's Avatar
    Join Date
    Oct 2006
    Location
    arizona
    Posts
    699
    as root run

    which slapt-get

    then run the results of that command after your sudo. What is happening is that your slapt-get command is not in the path of your regular user. You can also just use
    su - -c "slapt-get --help"

    sudo is HIGHLY overated IMO. If your not in a buisness environment that needs the extra control / logging capability of sudo, su easily gets the job done.
    New to the internet, technical forums, or the hacker / open source community??
    Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html

    RHCE for RHEL version 5
    RHCT for RHEL version 4

  3. #3
    Linux Engineer Freston's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    1,049
    As for lilo, you need to run `lilo` after editing /etc/lilo.conf for the changes to take effect.
    Can't tell an OS by it's GUI

  4. #4
    Just Joined!
    Join Date
    Nov 2008
    Posts
    2
    Ah, thanks meton_magis and Freston.

    That pretty much covers it

  5. #5
    Linux Enthusiast meton_magis's Avatar
    Join Date
    Oct 2006
    Location
    arizona
    Posts
    699
    your welcome
    New to the internet, technical forums, or the hacker / open source community??
    Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html

    RHCE for RHEL version 5
    RHCT for RHEL version 4

Posting Permissions

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