Professional Web Applications Themes

login error:cannot not find root directory - FreeBSD

Yes, i check, the /root /.* but they looks correct, i check the propierties and attr of that directory and files, but they look correct. I dont know what more to check :-? Another error i found is went i try to see a manpage the system send this error: mistake# man ls /usr/libexec/ld-elf.so.1 "/usr/lib/libz.so.2" That cannot find that library, i check those files and they exist, maybe went i was reparin my system i broke the link, could i repair this??? If i make the makeworld again could be fixed???? Thanks. On Tue, 15 Feb 2005 11:14:02 -0800 (PST), ...

  1. #1

    Default Re: login error:cannot not find root directory

    Yes, i check, the /root /.* but they looks correct, i check the
    propierties and attr of that directory and files, but they look
    correct. I dont know what more to check :-?

    Another error i found is went i try to see a manpage the system
    send this error:

    mistake# man ls
    /usr/libexec/ld-elf.so.1 "/usr/lib/libz.so.2"

    That cannot find that library, i check those files and they exist,
    maybe went i was reparin my system i broke the link, could i repair
    this???

    If i make the makeworld again could be fixed????

    Thanks.

    On Tue, 15 Feb 2005 11:14:02 -0800 (PST), Lowell Gilbert
    <freebsd-questions-localbe-well.ilk.org> wrote:
    > perikillo <perikillo> writes:
    >
    > > Hi all.
    > > Look i was hardering my freebsd box 4.10 p5, but i made one mistake:
    > > "I didnt test my system before i reboot"
    > >
    > > I was reading some docs about "security", i use chflags on:
    > >
    > > mistake# chflags schg /bin/*
    > > mistake# chflags schg /sbin/*
    > >
    > > Them apply some chmod on /root files:
    > >
    > > mistake# chmod 0600 /root/.* (i think :-?)
    > >
    > > I was trying to make my root directory only visible by root user.
    > > But dont remenber wich mod i apply. I made more changes but dont
    > > remember all.
    > >
    > > The result was that went i try to access my box like normal user
    > > (wheel group), the systema say:
    > > "error: cannot find root directory"
    > >
    > > Them i boot single-user, i input my password:
    > >
    > > "init: single-user failed"
    > >
    > > Here i could not access my system, my God!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    > >
    > >
    > > Ok, them get my 3 floppys, kern, mfs, and fixit .flp. I mount / to
    > > access my system:
    > >
    > > -delete the schg label on /bin and /sbin
    > > mistake#chflags noschg /bin/*
    > > mistake#chflags noschg /sbin/*
    > >
    > > On the root directory, i change my .files attr:
    > >
    > > mistake# chmod 0644 /root/.*
    > >
    > > I change my ttys, to let root access the system: from insecure -> secure.
    > >
    > > I was checking other system with the same version 4.10 p5, and let
    > > the files attributes on /root and / with the same attributes.
    > >
    > > I dont touch the /kernel file, after this change root could
    > > access the system, but the other users dont have access:
    > >
    > > "error: cannot find root directory".
    > >
    > > This is my situation right now, could some one give some clues to
    > > resolve this problem, i dont want to install again the S.O, this
    > > machine i working very well.
    > >
    > > I will apreciate any clue. Thanks all for your time.
    >
    > Check the permissions on "/.".
    >
    perikillo Guest

  2. #2

    Default Re: login error:cannot not find root directory

    I give up.
    I dont how in hell did this mistake, but i reinstall
    again Freebsd. Thanks Lowell Gilbert for your message.


    On Wed, 16 Feb 2005 13:34:05 -0800, perikillo <perikillo> wrote:
    > Yes, i check, the /root /.* but they looks correct, i check the
    > propierties and attr of that directory and files, but they look
    > correct. I dont know what more to check :-?
    >
    > Another error i found is went i try to see a manpage the system
    > send this error:
    >
    > mistake# man ls
    > /usr/libexec/ld-elf.so.1 "/usr/lib/libz.so.2"
    >
    > That cannot find that library, i check those files and they exist,
    > maybe went i was reparin my system i broke the link, could i repair
    > this???
    >
    > If i make the makeworld again could be fixed????
    >
    > Thanks.
    >
    > On Tue, 15 Feb 2005 11:14:02 -0800 (PST), Lowell Gilbert
    > <freebsd-questions-localbe-well.ilk.org> wrote:
    > > perikillo <perikillo> writes:
    > >
    > > > Hi all.
    > > > Look i was hardering my freebsd box 4.10 p5, but i made one mistake:
    > > > "I didnt test my system before i reboot"
    > > >
    > > > I was reading some docs about "security", i use chflags on:
    > > >
    > > > mistake# chflags schg /bin/*
    > > > mistake# chflags schg /sbin/*
    > > >
    > > > Them apply some chmod on /root files:
    > > >
    > > > mistake# chmod 0600 /root/.* (i think :-?)
    > > >
    > > > I was trying to make my root directory only visible by root user.
    > > > But dont remenber wich mod i apply. I made more changes but dont
    > > > remember all.
    > > >
    > > > The result was that went i try to access my box like normal user
    > > > (wheel group), the systema say:
    > > > "error: cannot find root directory"
    > > >
    > > > Them i boot single-user, i input my password:
    > > >
    > > > "init: single-user failed"
    > > >
    > > > Here i could not access my system, my God!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    > > >
    > > >
    > > > Ok, them get my 3 floppys, kern, mfs, and fixit .flp. I mount / to
    > > > access my system:
    > > >
    > > > -delete the schg label on /bin and /sbin
    > > > mistake#chflags noschg /bin/*
    > > > mistake#chflags noschg /sbin/*
    > > >
    > > > On the root directory, i change my .files attr:
    > > >
    > > > mistake# chmod 0644 /root/.*
    > > >
    > > > I change my ttys, to let root access the system: from insecure -> secure.
    > > >
    > > > I was checking other system with the same version 4.10 p5, and let
    > > > the files attributes on /root and / with the same attributes.
    > > >
    > > > I dont touch the /kernel file, after this change root could
    > > > access the system, but the other users dont have access:
    > > >
    > > > "error: cannot find root directory".
    > > >
    > > > This is my situation right now, could some one give some clues to
    > > > resolve this problem, i dont want to install again the S.O, this
    > > > machine i working very well.
    > > >
    > > > I will apreciate any clue. Thanks all for your time.
    > >
    > > Check the permissions on "/.".
    > >
    >
    perikillo Guest

Similar Threads

  1. error message: cannot find browsers plug in directory
    By shelliel121 in forum Macromedia Flash Player
    Replies: 0
    Last Post: November 18th, 05:01 AM
  2. Site Root directory?
    By Rv! in forum PHP Development
    Replies: 4
    Last Post: October 11th, 10:04 AM
  3. Root login on NIS Client
    By Fausto in forum Sun Solaris
    Replies: 5
    Last Post: July 25th, 06:17 PM
  4. Can I Change root directory???
    By rideonmidnightrudy webforumsuser@macromedia.com in forum Macromedia Dreamweaver
    Replies: 4
    Last Post: July 9th, 09:31 PM
  5. www root directory for Apache
    By Todd Cary in forum Linux Setup, Configuration & Administration
    Replies: 5
    Last Post: July 4th, 02:30 AM

Bookmarks

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139