Re: linux, tomcat5, jsvc, chroot and jsvc error:Invalid user name 'nobody' specified

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Your mount points may not be visible under your chrooted enviornment.
In addition, you may need to verify that you can actually access
applications and shared object libraries within your chrooted environment.

Try chrooting into your protected diskspace area and environment.  What you
want to do is to try running ldd on some of the applications that you are
having problems with.  What ldd will do will be to tell you what shared
object libraries are used by any given application, where they are located
or where the application is looking for them, and whether or not they can
be loaded.  You would be surprised what some of the applications
are looking for, and what they can't find.  Often, the errors that you
get are not what you would expect.

-Bob


>
> On Sep 19, 2004, at 8:11 PM, Brian D. McGrew wrote:
>
>> Did you make sure you have a /etc/passwd file inside your chroot
>> filesystem?
>
> Yes I did along with /etc/group and etc/shadow. I even mounted /etc
> within in the chroot file system. Didn't make a difference.
>
>>
>> -brian
>>
>> Brian D. McGrew		{ brian@xxxxxxxxxxxxxxxxxxx ||
>> pacemakertaker@xxxxxxxxx }
>> --
>> > YOU!  Off my planet!
>> On Sep 19, 2004, at 3:23 PM, Glen Ezkovich wrote:
>>
>>> Sorry about reposting but I know how many responses no subject lines
>>> get.
>>>
>>> On Sep 19, 2004, at 5:19 PM, Glen Ezkovich wrote:
>>>
>>>> I'm trying to run tomcat in chroot jail using jsvc. I can run tomcat
>>>> inside chroot by its self without any problems. I also can run
>>>> tomcat using jsvc as various users outside of chroot. When I attempt
>>>> to run tomcat with jsvc inside of a chroot jail, I get the folowing
>>>> error message:
>>>>
>>>>> jsvc error: Invalid user name 'named' specified
>>>>
>>>> No mater what user I specify I get the same error message. I assume
>>>> that jsvc is getting an error when changing the processes uid.
>>>> Obviously, I am missing user information inside my jail. I've tried
>>>> adding copies of /etc/group, /etc/passwd and /etc/shadow but that
>>>> didn't work. (not really surprised).
>>>>
>>>> So, how are users verified and what do I need to do to get them
>>>> rcognized in the chroot jail?
>>>>
>>>
>>> Glen Ezkovich
>>> HardBop Consulting
>>> glen at hard-bop.com
>>> http://www.hard-bop.com - new and improved site coming soon
>>>
>>>
>>>
>>> A Proverb for Paranoids:
>>> "If they can get you asking the wrong questions, they don't have to
>>> worry about answers."
>>> - Thomas Pynchon Gravity's Rainbow
>>>
>>>
>>> --
>>> redhat-list mailing list
>>> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
>>> https://www.redhat.com/mailman/listinfo/redhat-list
>>
>>
>> --
>> redhat-list mailing list
>> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
>> https://www.redhat.com/mailman/listinfo/redhat-list
>>
>>
>
> Glen Ezkovich
> HardBop Consulting
> glen at hard-bop.com
> http://www.hard-bop.com - new and improved site coming soon
>
>
>
> A Proverb for Paranoids:
> "If they can get you asking the wrong questions, they don't have to
> worry about answers."
> - Thomas Pynchon Gravity's Rainbow
>
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux