345 reputation
16
bio website 1n73r.net
location California
age 30
visits member for 1 year, 2 months
seen Apr 10 at 20:04
I dabble in a lot of different computer services and mostly enjoy Linux administration.

Nov
16
comment Nautilus special URIs
@RaduRădeanu I looked around but could not find a file or reference to the x-nautilus-desktop:/// URI. I couldn't find any files with that name which makes me suspect it's not a modular component like the other URIs and may be hard coded in gvfs or fuse. I'm not much of a developer but you may want to check out the gvfs source code.
Mar
26
comment Set up chroot for LDAP users in RHEL6
@RahulPatil getent passwd does not show the LDAP users (only local users) When chroot is not working I don't see any reference to it even running in the logs. I'm assuming it's not matching the groups properly so it's just ignoring the login nsswitch shows group: files winbind I suppose I could change that to winbind files but even then it would still set Domain Users as the primary group so I'm not sure it will help.
Mar
22
comment Restrict ssh login from LDAP to users who have a /home directory
I like the idea but some of the accounts are managed by groups of people and not just individuals. I don't think this would make sense to have them manage passing around keys to all the people/computers that need to log in via sftp to upload files.
Mar
22
comment Restrict ssh login from LDAP to users who have a /home directory
@MichaelKjörling We actually are disallowing ssh entirely and only allow sftp
Mar
22
comment Restrict ssh login from LDAP to users who have a /home directory
@JoelDavis Adding oddjob mkhomedir creates the home dir and puts the user in the directory.
Feb
4
comment Use find + sed + cp to find files and copy them to a directory with a different name
I like the idea. Any way to take out the spaces in the names (replace them with _)? I'm going to have to go find some more documentation on zsh and zmv for future reference.
Feb
4
comment Use find + sed + cp to find files and copy them to a directory with a different name
I believe this will move the .jpg files rather then copy is that correct? I think I'd just need to replace it with find . -iname folder.jpg -exec bash -c 'for x; do x=${x#./}; cp -i "$x" ".albumart/${x//\//_}"; done' _ {} + correct?