Reputation
Top tag
Next privilege 100 Rep.
Edit community wikis
Badges
6
Impact
~3k people reached

  • 0 posts edited
  • 0 helpful flags
  • 4 votes cast
May
19
answered how to extract mysql version by bash script in centos 6
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
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 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.
Aug
15
comment MySQL remote connection - Access denied for user 'username'@'localhost' (using password: YES)
The best answer to your issue is as stated in the comments above. The -p option is for password, use -h to specify the remote host. I originally thought you were trying to connect to a localhost db using the credentials from a remote db.
Aug
15
answered MySQL remote connection - Access denied for user 'username'@'localhost' (using password: YES)
Aug
15
comment Can't access SMB shares on Windows but can on Linux
I added mhgfs, hgfs to ProviderOrder. "Client for Microsoft Networks" was already added to my adaptor settings. Mine is still not working. Glad to hear yours is working though.
Aug
14
answered Can't access SMB shares on Windows but can on Linux
Aug
14
comment Can't access SMB shares on Windows but can on Linux
P.S. if you resolve it, please share. Thanks!
Aug
14
comment Can't access SMB shares on Windows but can on Linux
I have this same issue w/ a question open currently. You may want to look through the comments to see if you find help. Mainly, did you add rules to iptables to allow a connection on port 455 and optionally 137,138,and 139? Link to my question: serverfault.com/questions/620502/…
Aug
14
comment Samba / smbd on Centos 6.5
I used iptables -A. I also tried it with the FW down temporarily. Logs show no connection attempts from Windows. I read that the [global] must have allow from = .. and deny from = .. specified or it will not connect. But that didn't change anything either. FYI: I restart each process after conf changes.
Aug
14
comment Samba / smbd on Centos 6.5
I think it's something to do with network / connectivity. I would expect to see something in the log files when I am attempting to map the drive from Windows. especially with the debug mode set to 9
Aug
14
comment Samba / smbd on Centos 6.5
I changed the map to guest = Bad Password to map to guest = Bad User, no change.
Aug
14
comment Samba / smbd on Centos 6.5
I've added everything to iptables, still no activity when starting from Windows (mapping network drive).
Aug
14
comment Samba / smbd on Centos 6.5
No I didn't. I'll google what needs to be added to iptables. Thanks.
Aug
14
asked Samba / smbd on Centos 6.5