jailkit-dev
[Top][All Lists]
Advanced

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

[Jailkit-dev] [bug #59732] Centos 8 Support


From: Pigro95
Subject: [Jailkit-dev] [bug #59732] Centos 8 Support
Date: Sun, 20 Dec 2020 06:57:34 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36 Edg/87.0.664.66

Follow-up Comment #9, bug #59732 (project jailkit):

[comment #7 comment #7:]
> ahh, the issue is "sudo"
> 
> sudo does not start the login shell, so you cannot test a jail with sudo.
ssh test@localhost is a better test.

That looks better.

[root@server ~]# ssh test@localhost
bash: /usr/bin/id: No such file or directory
bash: /usr/bin/id: No such file or directory
[test@server ~]$ ls /
bin  dev  etc  home  lib64  usr

I didn't know that sudo don't use the login shell from the user.

Now I just need to find out why /usr/bin/id where not found.


[comment #8 comment #8:]
> 
> [comment #6 comment #6:]
> > I've already made a symlink libnsl.so.2 -> libnsl.so.1
> 
> not sure if they are compatible. You probably want to jk_cp libnsl.so.2 into
the jail.

Now I added libnsl.so.2 path in /etc/jailkit/jk_init.ini and removed the
symlink.

I don't know if libnsl.so.2 is compatible to libnsl.so.1. I hope so. But I
also didn't know for what this library is. ;)

If you wan't to add these to the project the paths are  /lib/libnsl.so.2, 
/lib64/libnsl.so.2


Thanks for help.

    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/bugs/?59732>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]