66 reputation
6
bio website
location
age
visits member for 4 months
seen 3 mins ago

31m
asked No Sound — WIn 7 x64 (RealTek)
Aug
23
answered Windows 8.1 keeps prompting for Network Share Credentials after every log on or restart
Aug
23
revised Samba / smbd on Centos 6.5
updated w/ tcpdump output
Aug
23
comment Samba / smbd on Centos 6.5
Workgroups are configured both to be WORKGROUP. the tcpdump|grep -v ssh command did shed some light on the issue. Thanks for that tip! From the output, I can see that my Windows machine is sending the auth request to the server. I'll have to dig through the tcpdump output more to find out what's going on. That's definitely a step in the right direction.
Aug
16
comment How to give developer shell access to use GIT and manage code, nothing else?
If you want to change to user's home directory, simply modify the /etc/passwd file. dev_ssh:x:32016:32018::/home/site:/bin/git-shell
Aug
15
answered Can I add a comment to every IP in CPHulk Black/White List?
Aug
15
comment How to give developer shell access to use GIT and manage code, nothing else?
permissions will be honored. You'll have to add cd to his git-shell-commands for him to be able to change directories at all. I haven't found that command in my setup... thinking it's part of shell.
Aug
15
comment defer (111): Connection refused when trying to send mail
wouldn't hurt. restart iptables as well .
Aug
15
comment defer (111): Connection refused when trying to send mail
pt.2>>So the only vulnerability turning the SMTP Tweak off will leave you with, is the possibility that one of your hosting customers sends email from a script, bypassing your local smtp server, and just sending directly to any open smtp server it can find or be configured for. (i.e. they could connect to their own smtp server somewhere else, like at an ISP, or do mx lookups and connect directly to their target's mail server.)
Aug
15
comment defer (111): Connection refused when trying to send mail
pt.1 >>The way I understand the SMTP Tweak setting in WHM... it disallows anyone who is not running as 'root', 'mail', or 'exim' from connecting to other smtp servers on port 25. It does nothing against incoming connections from outside of the server.
Aug
15
comment defer (111): Connection refused when trying to send mail
Everything I read with your refused errors is referring to SMTP Tweak... saying that disabling it fixes the problem. I'm assuming your using cpanel because it's shown in your log output.
Aug
15
comment defer (111): Connection refused when trying to send mail
you're looking for the reject line on smtp or port 25
Aug
15
revised defer (111): Connection refused when trying to send mail
added 4 characters in body
Aug
15
comment defer (111): Connection refused when trying to send mail
Did you look at your iptables? >iptables --list
Aug
15
answered defer (111): Connection refused when trying to send mail
Aug
15
comment defer (111): Connection refused when trying to send mail
sysadminspot.com/server-administration/…
Aug
15
comment defer (111): Connection refused when trying to send mail
I can verify that I can connect telnet to port 25 telnet cogentpowerinc.com.inbound10.mxlogicmx.net 25 Trying 208.65.144.2... Connected to cogentpowerinc.com.inbound10.mxlogicmx.net. Escape character is '^]'. 220 p02c11m083.mxlogic.net ESMTP mxl_mta-8.1.0-0 [2ae5a9ce0940.1828385.00-2108]; Fri, 15 Aug 2014 12:41:32 -0600 (MDT); NO UCE, INBOUND
Aug
15
comment defer (111): Connection refused when trying to send mail
Can you telnet to port 25 from a shell? Port 25 is old-school. > telnet mail.server.com 25 Connected to mail.server.com (x.x.x.x). Escape character is '^]'.
Aug
15
comment How to give developer shell access to use GIT and manage code, nothing else?
you can control what commands are available to the git user by adding links to the commands in their /home/git/git-shell-commands directory. The first of which would be "git" itself. If you want them to have specific commands available such as "ls", then you need to make a link to ls in their git-shell-commands directory: ln -s /bin/ls ls --- now they'll be able to execute ls from their git-shell connection.
Aug
15
comment How to give developer shell access to use GIT and manage code, nothing else?
Perhaps you don't fully understand. You change the shell from /bin/bash or /bin/sh (whatever is defined for the user in /etc/passwd) to /bin/git-shell. Then when the user logs in, he/she can only perform git related actions. To restrict their commands: Place a directory named 'git-shell-commands' in the home directory of a user whose shell is git-shell. Then anyone logging in as that user will be able to run executables in the 'git-shell-commands' directory.