0
$\begingroup$

I let you become super,
It is not permanent though.
If you remove a home,
You won't need to preserve.

Hints:

--

no

$\endgroup$

3 Answers 3

1
$\begingroup$

Is it

the su command

which can

make you the superuser, and even give you the permission to remove the home directory.

$\endgroup$
1
  • $\begingroup$ Not quite, but very close! $\endgroup$
    – Alan Bagel
    Commented Feb 11, 2022 at 12:39
0
$\begingroup$

Based on the hints, and Wallbreaker5th’s answer, it seems like it might be

sudo rm ~ --no-preserve-root.

Explanation:

‘I let you become super, It is not permanent though.’ ⤳ sudo does exactly this.

‘If you remove a home,’ ⤳ rm ~ removes home.

‘You won't need to preserve.’ ⤳ --no-preserve-root, the start of which is in the hints.

sudo rm ~ --no-preserve-root is a somewhat odd command. Perhaps the answer is the more common sudo rm -rf / --no-preserve-root?

$\endgroup$
1
  • $\begingroup$ Also very, very close. The answer is within your answer. $\endgroup$
    – Alan Bagel
    Commented Feb 13, 2022 at 18:58
0
$\begingroup$

I let you become super, It is not permanent though. If you remove a home, You won't need to preserve.

Answer:

sudo rm -rf --no-preserve-root /

I let you become super, It is not permanent though.

sudo does this very thing

If you remove a home, You won't need to preserve.

the "--no" hint combined with "preserve" is referring to "--no-preserve-root", which overrides the rm default behavior of treating "/" specially with regard to recursion (the "-r"). If you use rm with these flags you'll delete all files below /, which is to say all files in the file system.

$\endgroup$
1
  • $\begingroup$ Also very, very close. The answer is in your answer. $\endgroup$
    – Alan Bagel
    Commented Feb 14, 2022 at 15:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.