We want our users in company to login their computers by using their USB Flash Disks or something else. Is there a way to achieve this without buying a USB token from a company ?
So I have put a shortcut to one my scripts into /usr/bin so it is included. But command can be run only by root, other users failed to run it :(
$ sudo su
# chmod +x /opt/altf2/altf2
# ln -s /opt/altf2/altf2 /usr/bin/altf2
# altf2
It's working
# chmod 777 /opt/altf2/altf2
# chmod 777 /usr/bin/altf2
# su francois
$ altf2 gedit
altf2: command not found
$ /usr/bin/altf2
bash: /usr/bin/altf2: Permission denied
I have a Linux machine and a Windows machine behind a router that implements NAT (the diagram might be overkill, but was fun to make):
I am forwarding RDP port (3389) on the router to the Linux machine because I want to audit RDP connections. For the Linux machine to forward RDP traffic, I wrote these iptables rules:
iptables -t nat -A PREROUTING -p tcp --dport 3389 -j DNAT --to-destination win-box
iptables -A FORWARD -p tcp --dport 3389 -j ACCEPT
The port is listening on the Windows machine:
C:\Users\nimmy>netstat -a
Active Connections
Proto Local Address Foreign Address State
(..snip..)
TCP 0.0.0.0:3389 WIN-BOX:0 LISTENING
(..snip..)
And the port is forwarding on the Linux machine:
# tcpdump port 3389
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes
01:33:11.451663 IP shieldsup.grc.com.56387 > linux-box.myapt.lan.ms-wbt-server: Flags [S], seq 94663035, win 8192, options [mss 1460], length 0
01:33:11.451846 IP shieldsup.grc.com.56387 > win-box.myapt.lan.ms-wbt-server: Flags [S], seq 94663035, win 8192, options [mss 1460], length 0
However, I am not getting any successful RDP connections from the outside. The port is not even responding:
C:\Users\outside-nimmy>telnet example.com 3389
Connecting To example.com...Could not open connection to the host, on port 3389: Connect failed
Any ideas?
Update
Per @Zhiqiang Ma, I looked at nf_conntrack proc file during a connection attempt and this is what I see (192.168.3.1 = linux-box, 192.168.3.5 = win-box):
# cat /proc/net/nf_conntrack | grep 3389
ipv4 2 tcp 6 118 SYN_SENT src=4.79.142.206 dst=192.168.3.1 sport=43142 dport=3389 packets=6 bytes=264 [UNREPLIED] src=192.168.3.5 dst=4.79.142.206 sport=3389 dport=43142 packets=0 bytes=0 mark=0 secmark=0 zone=0 use=2
2nd update
Got tcpdump on the router and it seems that win-box is sending an RST packet:
21:20:24.767792 IP shieldsup.grc.com.45349 > linux-box.myapt.lan.3389: S 19088743:19088743(0) win 8192 <mss 1460>
21:20:24.768038 IP shieldsup.grc.com.45349 > win-box.myapt.lan.3389: S 19088743:19088743(0) win 8192 <mss 1460>
21:20:24.770674 IP win-box.myapt.lan.3389 > shieldsup.grc.com.45349: R 721745706:721745706(0) ack 755785049 win 0
Why would Windows be doing this?
Hi,
I want to setup a single wordpress install to allow users to visit using 2 domains:
For example:
foo.com
bar.foo.com
I can do this for the most part, but whatever domain is configured in the wp-admin screen, it will redirect to that whenever any of the links are clicked.
For example, if I set it up to foo.com and I come in using bar.foo.com and click an article link, it takes me to foo.com and the article link. I want the user to stay on the domain they came in.
thanks
Joel
So I use a custom Hotmail domain name. Sometimes I send emails to people but they never reply. I ask these people and they say that they never got the email. It's like packets are being dropped somehow. I just send regular emails from the online email application. One thing to note is that most of the time the dropped emails are the emails that have not been sent to other Hotmail users.
I have an intranet site using Windows Authentication. When users are prompted for credentials, they enter:
User: domain\username
Pass: SomePassword
It'd be nice if they could leave off the domain\ part which would be filled in with a default domain. I'm willing to give up the ability to login with a server/machine account (non-domain) because we don't use that anyway.
This seems to be possible with BasicAuth but I can't seem to find a reference for how to do it with WindowsAuth.
Is there a way to modify Debian settings so the memory could be used more for disk read/write caching ? I am already using RAID 0 but thats not enough for multiple users, and the disk is almost struggled.
Torrents use the disk very much and rTorrent doesn't have cache settings.
I keeping getting the error message from above on multiple computers that I administer. I wasn't sure if I should be posting this on SuperUser or ServerFault so my apologizes if it should go there...
Basically, I have at least 5 computers of varying ages (some fresh out of the box!) throwing the above error. X:\ is one of our network drives that is mapped for users. Most of the time if you shut down the biggest application it will fix the problem, but it's becoming an increasing issue, and I can't keep running around fixing it manually.
I have tried to do some research, but most of it just states the obvious without supplying a permanent fix.
The machines are all running Win XP SP3, with at least 2gb of ram.
Sorry for the delay in getting back to people... a lot of good questions.
To respond back to people...
It is a windows 2003 server that houses the file share.
We have
about 175 users, however i cannot
state how many are actually
accessing the information at a
single moment. Considering that this
is our largest file share, I would
say that probably at least 100+.
The files we work with are large, but not that big considering that we do a lot of graphical and video work. ~50mb. That being said, this is error occurs simply when trying to gain access to the server itself, not actual files.
When I say close a program, I mean that it can be any program. It doesn't matter which program. It varies from machine to machine, and from day to day. Some days it is Firefox, some days it is Outlook, some days it is Excel. There doesn't seem to be a common bond behind which application could be causing the problem.
Thank you for the articles, and the recommendation on paging files. I will have to look into that. None of our computers are set to hibernate, so I am going to rule that out.
I installed dovecot 2.0.13 with postfix in ubuntu server 11.10 , after installation I can send e-mail with the mail command and dovecot works when I test it with telnet
I then installed roundcube on it , and the installation passed all tests.
I want to authorize dovecot with system users through pam so I wrote in my dovecot.conf :
passwd pam {
args = *
}
and in pam.d/dovecot I wrote :
auth required pam_unix.so nullok
account required pam_unix.so
then when I reload dovecot and try to login it still fails.
So how can I solve this ?
I asked this question on stackoverflow and it was suggested that I try it here:
I'm building a website where users can upload photos and I'd also convert uploaded photos into thumbnails.
Planning ahead, if the website gets popular, how do I scale it out so that the images (both original and thumbnails) will be stored in and served from multiple servers? Maybe a cluster? Is there any open source software that would help me in this?
Thanks.
I am getting the following error details:
Problem signature:
Problem Event Name: BlueScreen
OS Version: 6.1.7601.2.1.0.768.3
Locale ID: 1033
Additional information about the problem:
BCCode: 9f
BCP1: 0000000000000003
BCP2: FFFFFA8004281A10
BCP3: FFFFF80000B9C518
BCP4: FFFFFA8007BD5C10
OS Version: 6_1_7601
Service Pack: 1_0
Product: 768_1
Files that help describe the problem:
C:\Windows\Minidump\121212-74334-01.dmp
C:\Users\brianna\AppData\Local\Temp\WER-251161-0.sysdata.xml
Anyone have any suggestions? Thanks!
this happens after users mailbox moved from one exchange to other (in one organization, but differend domains)
details:
From: postmaster
Sent: Saturday, April 03, 2010 8:43 AM
To: USER1
Subject: Undeliverable: subject of message
Delivery has failed to these recipients or distribution lists:
IMCEAex-_O=DOMAIN_OU=First+20Administrative+20Group_cn=Recipients_cn=USER1@domain
A problem occurred during the delivery of this message. Microsoft Exchange will not try to redeliver this message for you. Please try resending this message later, or provide the following diagnostic text to your system administrator.
Can anyone tell me how to clear the cache in the Mail application on Snow Leopard?
I noticed that it was automatically backing up my gmail messages so it ended up caching 11GB of emails even though that's more than my account.
The only solution I seem to be able to find is to delete the files in /Users/me/Library/Mail/MyGmailAccount
Is this the best solution or is there a better way?
Does anyone know of a wordpress plugin which simplifies the registration process by allowing users to sign up on the spot without having to be sent an email?
It would be good if you could also pass a redirect_to parameter in the url like you can for the login.
I have 2 users that need VPN into the office from the same originating IP. They are not able to connect simultaneously though. Is this a limitation of the Cisco box, or of the Linksys router on site there?
EDIT: Source machines are both using Cisco VPN Client, V5
I have an existing Windows DB2 database that I'd like to move onto PostgreSQL. The users for the application can live with a weekend's worth of downtime. What's the best way to do that?
Due to company restrictions where I currently work, My windows users folder %USERPROFILE% is space restricted.
I get a warning that I must delete files before I can log off.
Because of that, I have moved everything else out of my profile folder (maven repository, IntelliJ configuration & cache).
I need to tell Firefox to put userprofiles somewhere else on my machine (like for instance C:\ff_profiles\ ). How do I do that?
I installed and configured Apache Mobile Filter module for Apache to redirect users to mobile version of our website, depending on their user agents. I configured the module to use WURFL.
But as soon as I start Apache it hogs a large amount of memory (without any in-coming web requests):
Resident Memory: 300 to 400 MB
Virtual Memory: 300 to 650 MB
Without this module, Apache was consuming much lesser memory (4 to 10 MB).
What could be the reason here?
My server is windows server 2003. I got a huge list of subscribers. Lots of them have invalid email like, [email protected], [email protected], [email protected]...
I want to send a email to all my users, but it will send to those invalid email as well. And thus, it will create bounce email. How to handle those bounce email? Any good tutorial I can follow?
I am trying to share my mobile broadband internet connection with other machines via wifi and am running windows 7. Users are able to connect to my machine, but not able to obtain an internet connection once they connect to me. Any ideas would be very helpful.
Does Windows firewall block this?
We set the Group Policy for our Domain and OUs to show the logon message:
Computer Configuration\Windows Settings\Security Settings\Local Policies\Security Options\
Interactive logon: Message text for users attempting to log on
but nothing happen when the client computer logon. I checked the RSOP.MSC to see the group policy that set and the message is set on client computer but it doesn't show at the logon prompt. so what should I do? We have Windows server 2003 AD and Windows XP Pro on client computer.
I have a SSD Hard drive representing C:\, which is only 30GB. Therefore, I install all my (non-critical) apps on my large G:\ drive. My VirtualBox install is on G, as well as the hard disks. However, I found that the snapshots directory still defaults to C:\Users\David.VirtualBox...etc.
How do I put this on my G drive by default?
Hi,
I've recently switched to roaming profiles in an XP and Windows 7 environment and also changed the login script. Can anyone tell me where I would find the info regarding messages that appear when people are launching various in-house apps :
This program is from an untrusted location, Click Run or Cancel.
The programs run but users need to click 'Run' first.
Thanks
Scott
Trying to view a javascript file on my home server I get the following error:
Forbidden
You don't have permission to access /jquery-1.8.2.js on this server.
Apache/2.2.22 (Fedora) Server at 192.168.1.3 Port 80
I have given all users access to the file like this:
sudo chmod -R 777 /var/www/html/jquery-1.8.2.js
I have even gone as far as changing the user & group properties in the httpd.conf file.
Hi
I have designed a chat application using servlets and jsp. I do not like it to host on any web hosting sites. I wanna make my computer only as server and wanna make it accessible to the users of different network. Can anybody explain me how can this be achieved. I will be really thankful. I was said that use port forwarding how can this be solved using port forwarding?