Server :: Sync Md5 Password Between Php And Htpasswd?
Jul 6, 2010
I have built a subversion server (1.6.12 version) on Centos 5.4. I created a database for the server for authentication user via database MySQL with mod_auth_mysql, but this make my subversion server is so slow when make a commit.
I think authentication through a file is fast , but I wish to connect the password in database (the password is created by PHP) to file. I used a file like this user:xxx xxx is the password which is got from database. But it's not ok.
View 1 Replies
ADVERTISEMENT
Feb 4, 2010
I started to work on building a ftp by vsftpd in our lab (that's only for our lab members). I am going to setup some the virtual users for each of the member. We have a CentOS5 (without upgrade after the fresh installation). I try several ways to setup the vsftpd for virtual users. 1) with db4 2) with mysql 3) without database and use htpasswd. But all fails. Actually, I don't want to use database, so I am going to find out the reason of failure on 'htpasswd' method
My vsftpd is installed in /etc/vsftpd (for only using ftp account, it is no problem to login).
1) I setup an account called vftpuser and build the corresponding home (/home/vftpuser), and then I setup another account call usera and also create a directory within /home/vftpuser.
2) I use htpasswd to add passwd to usera and store the passwd in /etc/vsftpd/passwd.
3) I added the name of usera to /etc/vsftpd/user_list
4) I create a directory /etc/vsftpd/user to store a unique conf for each user (for usera, the conf named usera) which contains the local root for users, which is
[Code]....
View 1 Replies
View Related
Mar 9, 2011
I've setup .htpasswd and a .htaccess file.
The password is a0bc0def0g3
If i enter that password, it let's me in.
if i enter a0bc0def0g it also works. I've never seen this before and is totally weird.
View 3 Replies
View Related
Apr 21, 2010
I setup openldap and samba on 9.10. The ubuntu desktop client gets authenticated successfully with the server.
But when I do a passwd on the client, only the ldap passwd is getting changed but not in the samba and the unix user account.
My smb.conf
Code:
passdb backend = ldapsam:ldap://192.168.3.100
ldap suffix = dc=example,dc=local
ldap user suffix = ou=People
ldap group suffix = ou=Groups
[Code]....
View 4 Replies
View Related
Feb 27, 2011
I have created a sub directory on my box on a website for my company. It is a page that has links to my tools I want to use when I do service calls. Links that connect to my servers webmin etc. Of course I don't want them found by webcrawling bots. I have created a .htpasswd file using htpasswd -c /location/to/file/.htpasswd.
This file is located outside the web. Just under the public_html folder. Then I went to the sub directory I want to protect and added a text file named .htaccess. It contains:
/home/sites/www.domain.net/tech/
AuthType Basic
AuthName "Some long name"
AuthUserFile /home/sites/www.domain.net/.htpasswd
Require valid-user
ErrorDocument errornumber /home/sites/errorpages/403.html
I also opened the httpd.conf and changed AllowedOverride to All
The error document doesn't work either.
I then restarted the httpd service. I try to access the site and it lets me right in without asking for a password. It is apache 2xxx on Centos 4.5. Webmin under Apache confifirms all this.
View 12 Replies
View Related
Jun 19, 2010
I'm trying to find password programs for Linux and Android that I can sync together. If that is not possible, maybe they can export and import the same file type. Right now I use OISafe on Android and Revelation on Linux, but I can't get them to work together. Without trying all the different password programs on each system, I was wondering if anyone here has accomplished this. If so which programs are you using and how do you sync the data?
View 1 Replies
View Related
May 11, 2011
Been thinking about a new backup-strategy for my family and me. In our house is an Ubuntu Server (10.10) and NAS (Zyxel NSA210). Now I thought I'd create a Cron Tab entry on all machines which will sync specific folders automatically to either the NAS or a specific backup drive in the server. So now the question is: "How do I do that without seriously compromising each family members privacy by making their backed up files available to everyone in the house?" So in essence I'd like to sync/back up the files to a password protected share for each family member. But this process should still be done automatically every few minutes or so without them having to enter any password at all as their specific password is stored locally.
View 1 Replies
View Related
Jul 28, 2010
I'd like for the server (10.04) to keep samba passwords and unix passwords "in sync"; i.e. when a user changes his unix password (via passwd), his Samba password is automatically changed to match the unix password. Similarly, when a user changes his samba password (via smbpasswd), then his unix password is changed to match. smb.conf seems to make provision for this; following are the applicable entries from my smb.conf:
Code:
obey pam restrictions = Yes
pam password change = Yes
[code]....
View 2 Replies
View Related
Jun 21, 2011
iam trying to sync file server data into backup server machine by command- rsync -avu path/of/data ipaddress-of-backup-server:/path/where/to/save after running it ask for root password and manually it is successful.but i want to make it automatic.for that i also tried cronjob and also generated authentication key but iam not successful in login automatically..anybody know how to authenticate root to login for storing data in backup server.
View 14 Replies
View Related
Dec 16, 2010
I have scripts in folders /opt/apache2/tools/ and also i have another folder called IDM under /opt/apache2/tools. i tried to configure htpasswd for just IDM folder only as below.
bash-3.00# pwd
/opt/apache2/tools
bash-3.00# ls -al
[code]...
View 12 Replies
View Related
Mar 4, 2010
Has anyone ever had any luck with htpasswd and htaccess on asterisk, I set it up on a test apache server in VMWare just to make sure I knew what I was doing, so It was a very basic html page that I used, however, when I go to implement it on one of my Asterisk Servers, It comes up with the following page after I type a user name and password credentials in:
***************************************************************************
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny4 with Suhosin-Patch Server at fred Port 80
***************************************************************************
Anyone know if its compatible? and if so, is there any tricks around this?
View 2 Replies
View Related
Oct 24, 2010
I use jpilot on opensuse 11.3 64bit to sync pim data with my Palm Treo 680 via bluetooth. This worked fine until today. Now I get the following error message when I try to sync: Syncing on device bt: Press the HotSync button now dlp_ReadSysInfo error Exiting with status YNC_ERROR_PI_CONNECT Finished.
The last successfull sync was on the 20th October and today is the 24th October. I did not change any settings in jpilot or on my palm device. So I guess there must have been an update of opensuse which causes this error. But I do not now how to look up the updates during this period or how to undo them. Was there an update between the 20th and the 24th Oktober, which might affect either jpilot or bluetooth functionality?
View 1 Replies
View Related
Sep 19, 2011
I've discovered Firefox Sync a while ago, and it's absolutely awesome. Now of course I'd like most of my software to work this way! So is there a way to get the same behavior with Thunderbird?
View 1 Replies
View Related
Sep 10, 2010
I've got Ubuntu One syncing a single 25MB folder on 4 computers. On one of these computers, the ubuntuone-syncdaemon process constantly pegs the CPU, using from 50-80% long after any sync-able files have been modified and successfully synced. The process is only using 8.9MB of RAM.
Specs:
Ubuntu 10.04 (lucid)
Kernel 2.6.32-24-generic
1000.8 MB RAM
Pentium 4 2.53GHz
Free disk space: 280.9 GB
System monitor shows 56.8% total RAM usage, 15.4% swap file usage.
View 3 Replies
View Related
Jul 9, 2011
Audio sync method. "Stretches/squeezes" the audio stream to match the timestamps, the parameter is the maximum samples per second by which the audio is changed. -async 1 is a special case where only the start of the audio stream is corrected without any later correction.Searching the net makes one believe that this command is just some sort of magic.People just put it in the line and it just works. Isn't that nice?
It says nothing about how to change the TIME the audio starts syncing. Like do I want it to start 5 seconds delayed? Or what about 5 seconds sooner?What if the audio gets more out of sync as the video goes on? Can I slip it a little at a time? What? No magic?No one mentions a file that already has badly synced audio.So what -async 1 really does is simply start the audio at the beginning of the file. LIKE AS IF THAT ISN'T STANDARD PROCEDURE?So what is the exact solution to syncing a messed up video? And why can't it just do the proper "timestamp" sync in the first place?No docs, no info and you are left out in the cold.
View 4 Replies
View Related
Jul 23, 2009
I am an absolute Linux Beginner who is being required to do a bit of admin work because the boss just fired the old linux admin. Unfortunately, one of our employees cannot remember her password to her email account and as such I need to reset it on our linux server.What I want to check is that this email account is actually a linux user account and I simply will reset the password for it using the passwd command from the root login. Is that correct?
View 1 Replies
View Related
Nov 8, 2010
I have got 2 postgresql databases on separate servers. i want to sync one database to the other. how it can be done ?
View 1 Replies
View Related
Nov 24, 2010
I want to give my users option of logging to the system. They should have posibillity for choosing option betweend logging to the system with their default password or one-time password OTPW. I installed OTPW in my Debian. Here is my /etc/pam.d/sshd file:
[Code]....
View 12 Replies
View Related
Jun 18, 2011
My bose ask me to convert a CentOS system password like "LMPQSMTE0nHlQ" to postfix MySQL MD5 Hased password, I find CentOS seems has 2 kinds of password form, one is shorter and the other is very long like"$1$C2MSk16n$WT5JWnzYH7XpCCjsiE2bd1", however I find postfix is exactly the later long one, so does any one know how to convert the short form to the later one
View 1 Replies
View Related
Aug 18, 2010
how to synchronize time in NFS client with its NFS server. I am using Fedora.
View 6 Replies
View Related
Feb 1, 2010
I am currently using curlftps to mount a directory on a ftp server locally as /backup , I then use rsync to do an incremental backup to this directory every night and a full backup at the weekend.A requirement has arose for a similar set up but one that syncs in real time, so if a user puts a file in a directory it immediately copies that file to my ftp server, in this case it immediately copies it to /backup
View 4 Replies
View Related
Jul 9, 2010
I have 2 servers that act as ntp servers, both in cluster. i've configured to each client 2 servers and only one of the servers doing me an hard time, the other works perfectly. here's some output from the client:
Code:
[root@host1 ~]# ntpq -p
remote refid st t when poll reach delay offset jitter
==============================================================================
ntp1 .INIT. 16 u - 1024 0 0.000 0.000 0.000
*ntp2 LOCAL(0) 10 u 227 256 377 0.157 2.459 0.813
[code]....
View 15 Replies
View Related
May 2, 2011
I live in Egypt and we used to have Daylight Saving Time in this time of the year. But due to some political conditions, this decision was revoked and we are not using DST this year. The problem is that my Redhat 5.6 machines, configured to the timezone Africa/Cairo has already set the DST (UTC+3). The current time in Egypt is UTC+2. Of course I can manually set the time but the servers are set to sync automatically with an NTP time server so that time gets synced automatically whenever I try to change it. I want a way or another to disable DST switching.
View 4 Replies
View Related
Mar 29, 2010
I've got a hybrid network of Windoz and Mac clients that I want to auth to a CentOS Samba server (currently running a tdbsam backend but will eventually be migrated to an OpenLDAP backend)...what is the best solution for "sync'ing" the Mac clients (mostly laptops) to the server, all the solutions that I've seen suggest that I should simply map the users home drive to the PDC but that doesn't mac much since to me seeing as they need to access their computers data while they're off site...is there a way to "sync" user profiles in Linux>?
View 1 Replies
View Related
Nov 1, 2010
I have a CentOS 5.3 server. All of the other computers I have are Windows or Ubuntu. The Ubuntu machines sync to the time on the CentOS machine correctly. The problem is, some of the windows 2000 Pro and Windows XP Pro machines are an hour off when they sync. The CentOS machine is set to New York time.
When I run: (Assume the time is currently 10:06 AM on the server) net time \xxx.xxx.xxx.xxx /set /yes
On the correct machines I get the message:
Current time at \xxx.xxx.xxx.xxx is 11/1/2010 10:06 AM
The command completed successfully.
But on the other machines I get:
Current time at \xxx.xxx.xxx.xxx is 11/1/2010 9:06 AM
Local time (GTM-04:00) at \xxx.xxx.xxx.xxx is 11/1/2010 10:06 AM
The command completed successfully.
Then the time on the windows computer is 9:06 instead of 10:06.
Is there something that needs changed on the CentOS Machine for the times to be correct?
View 1 Replies
View Related
Apr 11, 2011
I am trying to sync the time on my Centos 5 box, but I do not want to sync the date. All of our servers need to have the clocks synced, but one system needs to have the date set to the previous day.
View 6 Replies
View Related
Oct 18, 2010
I am looking to update the data on new server from the old one. I am not that familiar with rsync as i am normally a windows admin. I used rsync 1 folder at a time from old ubuntu server to new ubuntu server. is there a method by which i can use rsync to sync data from multiple folders using ssh say over night? Also on my first datasync i had some permission errors when moving some files from users home directory. As root user how may i move these files? I am not trying to view the files just migrate them to new server.
View 11 Replies
View Related
Jun 24, 2010
I have NIS setup to manage all my users, and I have samba set up to share out a directory to the users windows computers - which are part of a corporate domain. I have a requirement to synchronise the NIS password to the Samba password so that when a user changes their password in the Linux environment it automatically updates the Samba password so that the user can simply update the password stored by Windows Explorer.
View 1 Replies
View Related
Feb 1, 2011
I followed the directions here: [URL] but now I get
Code: 500 OOPS: cannot locate user entry:music Login failed. I see no errors in my auth.log, and in my vsftpd.log I see Tue Feb 1 13:01:13 2011 [pid 2] CONNECT: Client "<omitted_ip>" Tue Feb 1 13:01:20 2011 [pid 1] [<username>] OK LOGIN: Client "<omitted_ip>" so it looks like the user is able to log in, but I can't tell what the issue is beyond that.
View 2 Replies
View Related
Mar 29, 2010
I've got a hybrid network of Windoz and Mac clients that I want to auth to a CentOS Samba server (currently running a tdbsam backend but will eventually be migrated to an OpenLDAP backend)...what is the best solution for "sync'ing" the Mac clients (mostly laptops) to the server, all the solutions that I've seen suggest that I should simply map the users home drive to the PDC but that doesn't mac much since to me seeing as they need to access their computers data while they're off site...is there a way to "sync" user profiles in Linux>?
View 1 Replies
View Related