BSD

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • can't su,netstat,ping,...

    2 answers - 564 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    To upgrade to 3.0 release, I donwload base.tgz, comp.tgz,
    and extract them except etc.tgz:
    # cd /
    # tar zxf /path/base.tgz
    # tar zxf /path/comp.tgz
    #
    When all is done, I found non-root account can't use su, netstat,ping
    I notice the correct is:
    -r-sr-xr-x 1 root wheel 17936 Dec 24 17:42 /usr/bin/su
    But mine is
    -r-xr-xr-x 1 root wheel 17936 Dec 19 08:24 /usr/bin/su
    So I have 2 questions:
    1) what step I lost in upgrading?
    2) I can change the file manually by chmod, but what is files names list?
  • No.1 | | 365 bytes | |

    Wed, 28 Dec 2005, Water NB wrote:

    # tar zxf /path/base.tgz

    Be sure to extract saving the correct permissions. Use the tar "p" option.

    Maybe reextract. maybe have a look at /etc/mtree/set.base (maybe for
    04555) to get some ideas.

    Jeremy C. Reed

    Media Relations and Publishing Services
    http://www.reedmedia.net/
  • No.2 | | 807 bytes | |

    In article <20051228020209.GA2286@PC-001>, Water NB <netbsd78 (AT) 126 (DOT) comwrote:
    >To upgrade to 3.0 release, I donwload base.tgz, comp.tgz,
    >and extract them except etc.tgz:
    ># cd /
    ># tar zxf /path/base.tgz
    ># tar zxf /path/comp.tgz
    >#
    >When all is done, I found non-root account can't use su, netstat,ping
    >
    >I notice the correct is:
    >-r-sr-xr-x 1 root wheel 17936 Dec 24 17:42 /usr/bin/su
    >
    >But mine is
    >-r-xr-xr-x 1 root wheel 17936 Dec 19 08:24 /usr/bin/su
    >
    >So I have 2 questions:
    >1) what step I lost in upgrading?
    >2) I can change the file manually by chmod, but what is files names list?
    >


    try tar xpzf
    ^

    christos

Re: can't su,netstat,ping,...


max 4000 letters.
Your nickname that display:
In order to stop the spam: 0 + 9 =
QUESTION ON "BSD"

EMSDN.COM