Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index International Gentoo Users Forum italiano (Italian) Forum di discussione italiano
  • Search

[Risolto] enter systemd namespace

Tutte le discussioni direttamente correlabili all'informatica e/o a GNU/*nix.

Moderator: ago

Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
Author
Message
Johnnydsg
Tux's lil' helper
Tux's lil' helper
Posts: 120
Joined: Sun Jan 13, 2013 11:43 pm

[Risolto] enter systemd namespace

  • Quote

Post by Johnnydsg » Thu Mar 21, 2019 10:43 pm

Qualcuno gentilmente mi spiega che cosa fanno i seguenti comandi?

Code: Select all

sed -i -e 's/^root:\*/root:/' /mnt/etc/shadow
systemd-nspawn -bD /mnt
Last edited by Johnnydsg on Fri Mar 22, 2019 10:23 am, edited 1 time in total.
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31978
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Fri Mar 22, 2019 6:55 am

Il primo comando sostiuisce root:* con root: questo vuol dire che rende il sistema da non accessibile con utente root ad accessibile con utente root senza passwod (per comprendere il file /etc/shadow vedi qui).
Il secondo fa il chroot su /mnt (vedi qui).
Quindi, penso, che rendi il chroot accessibile con utente root senza password
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
Johnnydsg
Tux's lil' helper
Tux's lil' helper
Posts: 120
Joined: Sun Jan 13, 2013 11:43 pm

  • Quote

Post by Johnnydsg » Fri Mar 22, 2019 10:24 am

fedeliallalinea wrote:Il primo comando sostiuisce root:* con root: questo vuol dire che rende il sistema da non accessibile con utente root ad accessibile con utente root senza passwod (per comprendere il file /etc/shadow vedi qui).
Il secondo fa il chroot su /mnt (vedi qui).
Quindi, penso, che rendi il chroot accessibile con utente root senza password
Grazie mille, per la spiegazione.
Top
Post Reply
  • Print view

3 posts • Page 1 of 1

Return to “Forum di discussione italiano”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy