Sponsored Content
Top Forums Shell Programming and Scripting Bug the vps by using simple user acces. Post 302964647 by jim mcnamara on Sunday 17th of January 2016 12:32:25 PM
Old 01-17-2016
Okay - I do not get what you want.

One good definition of vps is simply a kind of virtual container - almost like a separate standalone OS is how it appears inside the container..
If the virtual is configured the way it appears you seem to want, bash will work as you expect there. Like it already does in the host OS.

I assume you want to run something in the container (individual vps) rather than host.

So can you define "bug": do you mean audit? Keylogger?
Also define lag: do you mean slow down?

It also sounds like you have security issues and these solutions are supposed to fix them. Which they very probably will not do.

So what are you trying to do ultimately? - not how you plan to get there.
 

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

need to acces unix box thrugh the internet

I have my own PC with linux mandrake 8.2 at home but the problem is that I cant effort the internet connection right now. but at work I had W2k. so if there is any program that allow me to log in unix box and use that program as a terminal for that box. I want to practice the linux code and the... (4 Replies)
Discussion started by: RuDe_BuT_CoOoL
4 Replies

2. UNIX for Dummies Questions & Answers

can't acces ftp from my computer

can't acces ftp from my computer. It is posible my provider blocks it, but local ftp works fine. Any ideas ? Thanks, TuMux (7 Replies)
Discussion started by: TuMux
7 Replies

3. UNIX for Dummies Questions & Answers

Unable to acces my pendrive in linux

Hi Gurus, in linux I am unable to access my pendrive(i am even not seeing the icon or location for my pendrive ). Please anyany could help me to get rid of this issue. regards, Sanjay :) (4 Replies)
Discussion started by: sanjay.login
4 Replies

4. Solaris

Acces through using Telnet

Hi, My current requirement is to log in ROOT to a Solaris 10 server using telnet. It is not advisable to enable telnet access but my requirement forces me to do so. So under /etc/default/login i have commented the line CONSOLE.... And still I am unable to connect. Putty console just vanishes... (3 Replies)
Discussion started by: EmbedUX
3 Replies

5. SuSE

user simple password SLES

Hello, I would like to change a password of a user to a simple one but when i try to add an only lowercase pass i get the error: Weak password: too short. Try again. You can now choose the new password. A valid password should be a mix of upper and lower case letters, digits, and... (2 Replies)
Discussion started by: @dagio
2 Replies

6. Cybersecurity

Root acces bug through sudo!

My friend has found a bug with sudo. His organization has Linux laptops with no root access to users. Policy pushing is through Puppet. But doing sudo sudo twice he is able to access root. Do you guys have any clue, how's that possible, usually sudo su is restricted. (8 Replies)
Discussion started by: nixhead
8 Replies

7. Cybersecurity

Ssh acces without passwd from unique machine to all servers

hello i want to acces to many machines over LAN network from a unique machine , that allow me to use a SSH directly without password. i ama using redhat enterprise version . i didnt find the right way to realise that. what should i do at first ? (1 Reply)
Discussion started by: wassimpb
1 Replies
SYSTEMD-NSPAWN(1)						  systemd-nspawn						 SYSTEMD-NSPAWN(1)

NAME
systemd-nspawn - Spawn a namespace container for debugging, testing and building SYNOPSIS
systemd-nspawn [OPTIONS...] [COMMAND] [ARGS...] DESCRIPTION
systemd-nspawn may be used to run a command or OS in a light-weight namespace container. In many ways it is similar to chroot(1), but more powerful since it fully virtualizes the file system hierarchy, as well as the process tree, the various IPC subsystems and the host and domain name. systemd-nspawn limits access to various kernel interfaces in the container to read-only, such as /sys, /proc/sys or /sys/fs/selinux. Network interfaces and the system clock may not be changed from within the container. Device nodes may not be created. The host system cannot be rebooted and kernel modules may not be loaded from within the container. Note that even though these security precautions are taken systemd-nspawn is not suitable for secure container setups. Many of the security features may be circumvented and are hence primarily useful to avoid accidental changes to the host system from the container. The intended use of this program is debugging and testing as well as building of packages, distributions and software involved with boot and systems management. In contrast to chroot(1) systemd-nspawn may be used to boot full Linux-based operating systems in a container. Use a tool like debootstrap(8) or mock(1) to set up an OS directory tree suitable as file system hierarchy for systemd-nspawn containers. Note that systemd-nspawn will mount file systems private to the container to /dev, /run and similar. These will not be visible outside of the container, and their contents will be lost when the container exits. Note that running two systemd-nspawn containers from the same directory tree will not make processes in them see each other. The PID namespace separation of the two containers is complete and the containers will share very few runtime objects except for the underlying file system. OPTIONS
If no arguments are passed the container is set up and a shell started in it, otherwise the passed command and arguments are executed in it. The following options are understood: --help, -h Prints a short help text and exits. --directory=, -D Directory to use as file system root for the namespace container. If omitted the current directory will be used. --user=, -u Run the command under specified user, create home directory and cd into it. As rest of systemd-nspawn, this is not the security feature and limits against accidental changes only. --private-network Turn off networking in the container. This makes all network interfaces unavailable in the container, with the exception of the loopback device. EXAMPLE 1 # debootstrap --arch=amd64 unstable debian-tree/ # systemd-nspawn -D debian-tree/ This installs a minimal Debian unstable distribution into the directory debian-tree/ and then spawns a shell in a namespace container in it. EXAMPLE 2 # mock --init # systemd-nspawn -D /var/lib/mock/fedora-rawhide-x86_64/root/ /sbin/init systemd.log_level=debug This installs a minimal Fedora distribution into a subdirectory of /var/lib/mock/ and then boots an OS in a namespace container in it, with systemd as init system, configured for debug logging. EXIT STATUS
The exit code of the program executed in the container is returned. SEE ALSO
systemd(1), chroot(1), debootstrap(8), mock(1) AUTHOR
Lennart Poettering <lennart@poettering.net> Developer systemd 10/07/2013 SYSTEMD-NSPAWN(1)
All times are GMT -4. The time now is 12:56 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy