3,952 reputation
1526
bio website init.se
location Stockholm, Sweden
age 42
visits member for 1 year, 9 months
seen 8 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


Apr
10
comment .Operation not permitted. For root user?
Is the flash media write-protected?
Apr
10
comment Dynamic Symlinks
There are such environments for e.g. Ruby and Perl, so that you can choose which version to use when you're testing things. You might find some inspiration at rvm.io/rubies .
Apr
10
comment SSH Key not working
@OmiPenguin I'm glad it works! It would also break if /home/emerg had group or other writable, even if /home/emerg/.ssh didn't. I found this out when people wanted to be able to login with ssh keys to an application user and also wanted that user's home directory writable for members of the group. Took a while to find the reason why their ssh keys didn't work, and that's why I now know to look for it...
Apr
10
comment SSH Key not working
Indeed - if the directory is writable, it doesn't help that the key file isn't. Anyone with write permissions to the directory can just delete the original key file and replace it with their own.
Apr
10
comment SSH Key not working
@Igeorget Maybe they have different umask so the directory was created with better permissions? Can't tell without knowing more about them.
Apr
10
answered SSH Key not working
Apr
10
comment SSH Key not working
Do all the servers have PubkeyAuthentication set to yes?
Apr
9
answered passwordless ssh is not working in CentOS 6.4?
Apr
9
comment passwordless ssh is not working in CentOS 6.4?
Cool, I'll write it up with an explanation.
Apr
9
comment passwordless ssh is not working in CentOS 6.4?
Check the permissions on all directories below .ssh in the tree - none of them can have write permissions other than for owner/root. Also check that the sshd config allows for PubkeyAuthentication. And check the logs (usually /var/log/secure or /var/log/auth.log) for any information.
Apr
9
comment passwordless ssh is not working in CentOS 6.4?
Please show the output of ls -l ~/.ssh for the account you`re trying with.
Apr
9
revised passwordless ssh is not working in CentOS 6.4?
grammar, formatting
Apr
8
awarded  Civic Duty
Apr
8
reviewed Approve suggested edit on Debian - How to find out if a package is multiarchified? Dependency changes as bug report
Apr
7
reviewed Leave Closed where is `cd` located?
Apr
7
reviewed Close What happens when we type a simple command on shell?
Apr
7
reviewed Close How to copy remote files to local if you don't have permission on the remote directory?
Apr
7
comment wget failing when I enter variable name in command
Try running the script using set -x to see the variable assignments.
Apr
7
comment How can I count all the files on my system from root?
@fraxture If a file name contains a newline character, wc -l will count the name as two lines. You could get around it using find / -type f -printf "%i\n" which will print out the inode instead of the file name.
Apr
7
awarded  Custodian