Reputation
5,748
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
1 7 18
Newest
 Yearling
Impact
~270k people reached

Feb
9
comment Script for logging in to multiple servers and running some commands
What have you tried so far? Are you using password authentication or public key authentication? If the latter, does your private key have a passphrase? If so, are you using the agent, or are you providing the passphrase ont he command line?
Feb
8
comment 'iptables -a' just hangs and never returns?
Is it iptables hanging or is it sudo hanging? What happens if you run sudo su -?
Jan
20
comment IP tables - how to configure connections into my compuer
What have you tried so far?
Jan
6
comment What are the right permissions to set to make files unreadable unless it's my main user accessing them?
You don't want to change permissions of anything in those other directories. You run the very real risk of making your system completely unusable.
Jan
5
comment Is it possible to overwrite a directory with a file in linux
You would need to look through the ~/.bash_history files for each user. And it's not a possibility, it is a definite. cp does not replace directories when they already exist - it never has and likely never will.
Jan
5
comment Is it possible to overwrite a directory with a file in linux
If it was present previously, it was removed prior to the cp command you listed being issued.
Dec
31
comment My ethernet card does not create any `ethX` device. How can I solve it?
What is the output of sudo ifconfig -a?
Dec
30
comment gpg: passwordless decryption works in terminal, but not in tmux based msmtp/mutt (can't open /dev/tty)
What happens if you start the GPG agent inside the tmux session? It may be that the new shell inside tmux can't talk tot he agent running outside that shell.
Dec
30
comment gpg: passwordless decryption works in terminal, but not in tmux based msmtp/mutt (can't open /dev/tty)
Do you start tmux before or after you start the gpg agent?
Dec
30
comment Linux + LDAP/ActiveDirectory: Can't create a private group for the user like “username:username”
@exabrial: the google phrase you're looking for in the first paragraph is "user private group".
Dec
30
comment Linux + LDAP/ActiveDirectory: Can't create a private group for the user like “username:username”
I'm going to bet that the "best" solution (read: least bad) available is to use RH's integration bits available in RHEL 7 IdM, or the equivalent bits for whatever distribution you're using. My experience with IdM was that it took out a lot of the Windows funkiness from the equation, and made things almost trivially easy.
Dec
30
comment Linux + LDAP/ActiveDirectory: Can't create a private group for the user like “username:username”
The UID values don't have to change - you can manually set the UID values in AD once you've installed the SFU extensions.
Dec
30
comment Linux + LDAP/ActiveDirectory: Can't create a private group for the user like “username:username”
What is the question you're asking? It's not entirely clear what the question is.
Dec
30
comment Unable to connect remotely to custom application
Yes, assuming nothing else is blocking you.
Dec
30
comment Unable to connect remotely to custom application
Ok, so you're not listening on localhost, you're listening on 0.0.0.0, which is "all interfaces". So far, so good. I suspect the issue is with the host firewall, which is why I asked for the iptables output.
Dec
30
comment Unable to connect remotely to custom application
That should be ok for the netstat output, but we really need the full output of iptables -L. You can add the full output by simply editing the original question.
Dec
30
comment Unable to connect remotely to custom application
Can you post the output of netstat -tuln and iptables -L on the machine the service is listening on?
Dec
30
comment Unable to connect remotely to custom application
Then those applications are listening on the external interface as well. If you listen only on 127.0.0.1 (localhost), you can only connect to whatever is listening from that machine itself.
Dec
30
comment Unable to connect remotely to custom application
If it's only listening to localhost, you'll never be able to connect to it from a different host. It needs to listen on the external interface.
Dec
29
comment Is it safe to disable shell access to all users listed in /etc/passwd?
Not quite. Even without a valid password, I can su to the bin user from root and get shell access. I have no direct login access to the bin user, though, which is what is important.