38 reputation
3
bio website 1n73r.net
location California
age 29
visits member for 3 months
seen Mar 28 at 18:37
stats profile views 6
I dabble in a lot of different computer services and mostly enjoy Linux administration.

Mar
28
accepted Set up chroot for LDAP users in RHEL6
Mar
27
answered Set up chroot for LDAP users in RHEL6
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
26
asked Set up chroot for LDAP users in RHEL6
Mar
25
accepted Restrict ssh login from LDAP to users who have a /home directory
Mar
22
answered Restrict ssh login from LDAP to users who have a /home directory
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.
Mar
21
asked Restrict ssh login from LDAP to users who have a /home directory
Feb
6
awarded  Scholar
Feb
6
accepted Use find + sed + cp to find files and copy them to a directory with a different name
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
awarded  Student
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?
Feb
4
asked Use find + sed + cp to find files and copy them to a directory with a different name
Feb
4
awarded  Autobiographer