Find the answer to your Linux question:
Results 1 to 3 of 3
So checking out my ftp server (SuSE 9.2) the other day and I perform an ls -la command and get this: ftp:/home/bob # ls -la /bin/ls: unrecognized prefix: do /bin/ls: ...
  1. #1
    Z3n
    Z3n is offline
    Just Joined!
    Join Date
    Oct 2006
    Location
    US
    Posts
    13

    Migration help!!

    So checking out my ftp server (SuSE 9.2) the other day and I perform an ls -la command and get this:

    ftp:/home/bob # ls -la
    /bin/ls: unrecognized prefix: do
    /bin/ls: unparsable value for LS_COLORS environment variable
    total 121231
    drwxr-xr-x 10 bob users 632 Aug 10 15:21 .

    Uh, no... run chkrootkit and rkhunter and get the nasty news. Box has been comprimised... Happened to you, happened to me and not real happy about it.

    Needless to say 3 months on the job and I have been running into all kinds of issues of out-of-date OSs and the like. No thought towards security at all. So I am in the process of moving all our servers to Debian.

    Problem is I get the new box setup and I want to migrate our users from SuSE 9.2 to Debian 4.0. I copy over the user accounts from /etc/passwd, /etc/group, and /etc/shadow. Problem is the passwords don't work unless I reset it within a Debian shell.

    Any chance anyone has some neat trick out there so I don't have to spend the weekend re-entering passwords so they work? I would really appreciate it.

    Thanks in advance.

  2. #2
    Linux User
    Join Date
    Feb 2006
    Posts
    484
    hi

    If it possible generate a new random password for every users and than they change it.

    so it's not the solution , but more simple.

    Edit1:

    I think it isn't possible any other way, because the "salt" is different in every unix system.
    It generated randomly , and you can not figure out it, salt is given to the key when the hash of password generated.

  3. #3
    Z3n
    Z3n is offline
    Just Joined!
    Join Date
    Oct 2006
    Location
    US
    Posts
    13
    Thanks for the response. I thought was fairly certain that this was going to be the answer but I wanted to check first before going through it all.

    Thanks.

Posting Permissions

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