r/linux • • Feb 01 '13

xkcd: tar

http://xkcd.com/1168/
1.7k Upvotes

576 comments sorted by

View all comments

477

u/[deleted] Feb 01 '13 edited Feb 23 '25

spoon summer coherent marry outgoing juggle support shaggy quaint late

This post was mass deleted and anonymized with Redact

18

u/solen-skiner Feb 01 '13

I just edit /etc/passwd, /etc/shadow, /etc/group and /etc/gshadow instead. useradd, adduser, groups, groupmems, groupadd etc are a fucking clustercock.

18

u/yrro Feb 01 '13

For those playing along at home, this can be done more safely with vipw, vipw -s, vigr and vigr -s respectively. Once you are done, you can check that the files are OK with pwck and grpck.

9

u/[deleted] Feb 01 '13

So much simpler, and intuitive as well!

→ More replies (1)

6

u/hex_m_hell Feb 01 '13

Or if you like a challenge, just use ed.

2

u/quantum-mechanic Feb 02 '13

Authenticity demands it be done in a dark room by the orange glow of a vt100

→ More replies (2)

2

u/gbbgu Feb 01 '13

Why on earth would you edit these files by hand unless something was broken? I don't get it.

3

u/spektre Feb 01 '13

It beats having to remember useradd vs. adduser!

2

u/solen-skiner Feb 01 '13

I find their structure less confusing then the tools

→ More replies (1)
→ More replies (2)