4,765 reputation
1729
bio website init.se
location Stockholm, Sweden
age 42
visits member for 2 years
seen 55 mins ago

I'm a unix sysadmin, working as a consultant at Init AB (www.init.se).

Previous jobs include sysadmin in charge of security related systems at a large bank, and mail servers at a largish ISP, including handling abuse and spam issues.

Email address: jenny@init.se


Jul
17
comment Sudo Su automated login
Yes, but to be honest I don't see the point of having "/bin/su" as a command spec, since the sudoers format already allows for specifying the target user.
Jul
5
comment How to sort with a delimiter that is several characters long?
The person would obviously have to check the input before choosing the new delimiter.
Jul
3
comment Forward port 80 to another port
Another method would be to get sudo access allowing you only to run service httpd restart.
Jun
24
comment Linux can't recognize the right password when ssh'ing?
Check the logs. ssh -vvv doesn't tell you why the server rejects the password; the ssh logs will.
Jun
24
comment Linux can't recognize the right password when ssh'ing?
What does your SSH log say?
Jun
17
comment String pattern searching
Also, don't double-post - i.e. don't post the same question as multiple sites. If it had been a good enough question for Unix & Linux, we at ServerFault would have migrated it here.
Jun
17
comment User permissions problem Linux
As Andrejs said, the files will belong to the same group as the folder.
Jun
11
comment Moving an open file to a different device
This will work only if the process will close its filehandle on suspend and re-open it when foregrounded. As a rule, I wouldn't say that's likely.
Jun
5
comment how to use rsync (using password-less ssh), with sudo just on the local side?
Chris Down's idea is better, I've added it.
Jun
5
comment Can ssl folder be removed without causing conflict
Don't forget to make backups of your config file before you start editing them, in case you make a mistake... it's saved me more than once!
Jun
5
comment Can ssl folder be removed without causing conflict
I added info about making it not listen to port 443.
Jun
5
comment Can ssl folder be removed without causing conflict
In that case, removing only those files will mean that apache won't start at all - so not really what you want :-)
May
31
comment how can I add records to the zone file without restarting the named service?
@Neven, you should post the serial number increase as an answer. It needs to be incremented, that is how it works.
May
30
comment How to change permissions/owner or delete Downloads folder (owner: root wheel)?
Thanks @StéphaneChazelas. I will inject some more caffeine before the next answer.
May
22
comment Kill nohup command on cluster
It depends on the OS. For BSD-derived systems, ps -aux is reasonably equal to ps -ef on Linux.
May
13
comment Extract one occurrence of a pattern from file
The basic idea is sound, but the output doesn't match what the poster asked for.
May
13
comment Have I been hacked?
For more information about how to fix it, have a look at serverfault.com/questions/218005/…
May
9
comment Why does this shell script fail in bash, but the commands work in SSH?
It's not clear to me that "typing the command directly into the ssh session" refers to a non-jailed session - but it would be nice to have it verified.
May
7
comment How can I use Unix to rename all html files by their titles?
Define "title". Do you mean the part of the web page contained inside the <title> tags?
Apr
30
comment How to grab the oldest unread message from `mail` in a script?
Sorry, I read to quickly - it doesn't help with forwarding. But at least it's guaranteed to be the oldest email.