1,083 reputation
622
bio website michael.kjorling.se
location
age
visits member for 4 years, 1 month
seen yesterday

21h
revised Postfix SMTP authenticated can send as anyone
Copy editing
1d
suggested approved edit on Postfix SMTP authenticated can send as anyone
Dec
18
comment useradd not encrypting passwords in /etc/shadow
Absolutely Dennis, it's much better, but the password still ends up on the disk in plain text. In some situations and under certain threat models, that can be a real problem. It doesn't have to be.
Dec
18
comment useradd not encrypting passwords in /etc/shadow
Of course, you're still storing the plain text password on disk. At least, this gives the sysadmin a choice. Maybe at this point we're better off just using a dummy password at first and immediately running passwd to change it to something else......
Dec
18
revised useradd not encrypting passwords in /etc/shadow
Copy-editing
Dec
18
suggested approved edit on useradd not encrypting passwords in /etc/shadow
Dec
18
comment useradd not encrypting passwords in /etc/shadow
Note that in a password hash, $1$ indicates MD5 is used. MD5, while not outright terrible for passwords, is rather on the weak side these days. It's an entirely separate question, but I would absolutely urge you to consider migrating to a stronger hash function.
Dec
18
comment useradd not encrypting passwords in /etc/shadow
Really? +12 for a question that is explicitly answered by the relevant man page?
Dec
18
comment useradd not encrypting passwords in /etc/shadow
Do note that this temporarily exposes the password through the various kernel interfaces (any process is allowed to read the command line of any other process) and may result in it being saved in plain text to disk through $HISTORY or similar mechanisms.
Dec
16
comment Is there any way to see if the mail sent by my server was received by the recipient server?
OP is the admin of the sending SMTP server, so presumably has access to the SMTP logs. See the comments on the question.
Dec
16
comment Is there any way to see if the mail sent by my server was received by the recipient server?
This also gives an exact date and time of delivery, assuming the clocks are synchronized. (Which they should be, because any sane server setup will have its clocks synchronized to a standard time, often UTC but sometimes -- the herecy! -- local time.) That will dramatically cut down on the effort of the remote server's administrators tracking down the email in their logs.
Dec
15
revised How can I force soft raid to read only from one disk?
Incorporate from comments
Dec
15
suggested approved edit on How can I force soft raid to read only from one disk?
Dec
15
comment How can I force soft raid to read only from one disk?
When you say "software RAID", do you mean "Linux MD RAID"? There are other software RAID solutions out there which can be made to work on Linux...
Dec
15
revised Linux: How can I view a file's attributes which I set using `chattr`?
Better title
Dec
15
suggested approved edit on Linux: How can I view a file's attributes which I set using `chattr`?
Dec
15
awarded  Civic Duty
Dec
15
comment MTU on server accidentally set to 0, can't ssh into it?
@kasperd screen then sudo -i then ip link set eth0 mtu 0 ; sleep 30 ; ip link set eth0 mtu 1500 maybe? (Or whatever MTU value you prefer.) If it breaks, it will automatically recover after half a minute. But I would still be reluctant to test it on any critical system... then again, an Ubuntu 12.04 instance seems unlikely to be critical these days.
Dec
9
awarded  Necromancer
Dec
8
comment Linux - Is there a way to prevent/protect a file from being deleted even by root?
@barbecue If the file is unlinked at the name an application looks for it at, it doesn't matter that the file's content exists under some other name. For anything looking for the file with the expected name, the file still has been deleted.