passwd , passwd-, passwd.OLD

I see three passwd files in /etc/ . Normally only one is supposed to be there called passwd but what the other two for , they look similar . ...

IBm Thinkpad 560: Disable passwd. Passwd available

I have the passwords for bios and hd for an old IBM thinkpad laptop. I want to disable password feature, but when I am in the bios screen, I can't click on that password icon, it just beep twice like an error sound.Does anyone know how to disable the password protection (bios and hd)? I know all the ...

Ubuntu passwd: Authentication information cannot be recovered

Not sure what the go is with this, however I've seemingly lost the ability to reset passwords of other users.For example, I can su to root and change the password for root.However, I cannot change the password for other users.root@server:/etc# passwd bobtestpasswd: Authentication information cannot ...

Ubuntu STDIN argument to passwd

I've written a bash script to create a new user. It prompts for that user's new password. I'm using Zenity to put a graphical gloss on things. So my code looks like this:export PASSWD=$(zenity --entry --title="New Password Required" --entry-text="fredsmith" --text="`printf ...

Ubuntu [6.06 server] Login problem = passwd big problem

I've a big problem with my Ubuntu 6.06 server.Before the problem I haven't updated importart or system packages.Friday after the boot I tried to access on the server throught ssh and connection gone in time out (I was at work).Today I've checked the problem and: "local" login is impossible ...

Ubuntu `passwd` for ActiveDirectory account gives "Authentication token manipulation error"

I have latest and greatest of Lucid updates.I have ActiveDirectory integration with Samba/Winbind. (not Likewise-Open)Logging into Console window or `ssh`-ing into machine works fine usingDOMAIN\first.last account names.Trying to change password with the `passwd` program:$ passwdChanging password fo ...

Error: Undefined index name

I keep getting this error when my pages loads though i use the same script on my localhost server and i have no problems at all.can someone help me out here please. Here is what i have:If you would like to see the error my site url is www.tewlzbox.comIndex.php<?if ($submit = "Login"){$n ...

php load frameset page problem

Hi, I am a PHP and MYSQL beginner. Recently, I find a problem to use php include function to load a frameset page. (as following index.html(frameset) shows, and this include function has no problem in loading any nonframeset page. (as following index.html(nonframeset)shows. Can any one view the foll ...

MySQL sha1 and the original password

this script is about changing password the user enters his old password then new password and retype new password. I want the scripts that I did to send the password from the user to the login page, then mysql convert it to a hash code !! using sha1.. I did this .. but the user can't use the passwor ...

HTTP Authorization issues

Well, first thing's first I have to say hello to all people here since this is my first post, I've been getting into php during the last couple months, so I bet that I'll learn something from you all for sure. So, I just designed a very simple script trying to implement this HTTP authorization thing ...

Forgotten Root Password

Having a nightmare time cos I have forgotten the root password Have tried everything I think1) Entered rescue mode and used passwd. This fails with passwd: unable to set failure delay2) Tried to enter single mode linux from LILO. However, just after it enters INIT Single Mode it prompts for ROOT pas ...

php load frameset page problem

Hi, I am learning PHP and mySql and are quited interested in them.Recently I come up a problem and even drag all my hair off of head, can not fix it. I created a test.php (as follows), it has include function in it. This include function can load any non-frameset page, as the following index.html(no ...

Session Issue: not showing names.

I'm having a difficult time getting the sessions to work. I can have someone log in to the site, but it will not display their name. What am I doing wrong here?Also, in the login function, the $PHP_SELF will not display in the source code.Functions Page Code:session_start(); // Does the session_star ...

Sessions Not Working (Not staying logged in)

I'm having a problem with my sessions. If I switch to another page, I'm logged out. I don't understand why either. It could have something to do with the fact that All the pages are requring another page for the menu (so that way if I have to update something on the menu, I don't have to update ever ...

session issue

I'm defining a session variable in one script and calling it up in another. Both these scripts are called with require_once() in the "index" script (which contains the session_start()). But the second script cannot access the session. What Gives?index.php<?PHP$self = basename($_SERVER[' ...

PHP5 SQLITE PDO LOGIN

Dev shed rocks. I thought I should share this and see if I am missing something in my code or if something else is wrong.I am writing a small application that needs a login but I am not using mysql. It's supposed to capture data etc so I chose to go with sqlite using the pdo extension. Now if I logi ...

Ubuntu Server Updated to 10.04 postfix issue

I am having issues with my postfix configuration. I updated my dovecot config after the upgrade since the upgrade from 9.10 killed it. But now I can't seem to get anywhere. Jun 12 08:23:16 support postfix/qmgr[17839]: 6580560134: removedJun 12 08:24:16 support postfix/smtpd[17846]: connect from supp ...

Ubuntu Dovecot Server

ok, heres my setup, im running postfix smtp server, i disabled a cron job , kept getting errors, however, my postfix server is running fine, everythings workin greatBUT!im trying to have dovecot work on my server, but the prob is that it will run and it runs fine, i just cant login using POP3 or IMA ...

Ubuntu Dovecot postfix connection refused.

ok so Im redoing my mail server (to use postfix so I can get mail man and some other things to work better) and Im having an issue with dovecot. this is a 9.04 systemI installed the dovecot-postfix package and now my dovecot will not respond to any connections.netstat still shows that its listenings ...

Oracle OpenLDAP and Solaris 10, I'm out of ideas

I have configured OpenLDAP sucessfully and set following results indicating that the user is loaded on the LDAP databasetest5:/ $ cat /etc/passwd | grep admin777test5:/ $ getent passwd admin777admin777:x:5011:1000::/:/bin/bashtest5:/ $ id admin777uid=5011(admin777) gid=1000(users) groups=1000(users) ...

header ("location: /login.php");

HiI´m trying to redirect from a loginpage.i have tried with header ("location: /login.php");but I get an errormessage sayingWarning: Cannot add header information - headers already sent by (output started at C:/XITAMI/webpages/checklogin.php:12) in C:/XITAMI/webpages/checklogin.php on lin ...

Need Help Creating a custom google search

I'm trying to create a CUSTOM google search form for my website but i'm running into problems. If you go to my website http://www.foggymaster.com and at the top it says "Download Free Music" What should happen is you type the song and it creates a custom google search once you hit "su ...

damned cookies...

its me again. I solved my login-pwd-problem with cookie, first - I thought - it works fine. But I realized, that it is possible to login again, without pasword. The cookie expieres a half hour, this could explain that. I tryed to 'unset/delete' the cookie with exaples I found in php.net and this mai ...

damned cookies II

Hi, - maybe the first postmessage was to big..its me again. I solved my login-pwd-problem with cookie, first - I thought - it works fine. But I realized, that it is possible to login again, without pasword. The cookie expieres a half hour, this could explain that. I tryed to 'unset/delete' the cooki ...

ViewCVS and mySQL problems

I'm using mysql 4.1.10aj-3 on SuSE linux with Apache2, ViewCVS, and python 2.4-14. I'm running query.cgi from the ViewCVS package, but keep receiving an SQL access denied error. Does anyone know what this generally means? See complete error output below. Thanks. An Exception Has Occurred Python Trac ...

db2 cli driver

my DB: db2V9.5 fp6, Aix 5.3I have a installed IBM Data Server Driver for ODBC and CLI on a serverA , i want to test the database connectivity to a database sitting on ServerB using db2cli. i have my db2cli.ini file initialized with the serverB database details in V9.7 i saw this command and was able ...

samba 3.0.22 on solaris 9

I have successfully installed samba 3.0.22 on my sol 9 e250 machine. I created my share but when i try to get to my share from my windows machine, it prompts me for my username and passwd, i enter it and it just comes back prompting me for my username and passwd agai,. Has anyone been thru this befo ...

SESSIONS arent passing for some reason

wsup guys, im having a prob with my login system, it just stopped working, it was working fine before, but what i think it is, the sessions arent passing. Ive asked to echo the sessions on the login page, thats all dandy n fine, then i ask to echo on the members section where the login_error comes i ...

purpose of these files

i am using RHEL 3.0.when i do a long listing in /etc i found these files.i want to know the purpose of these filesgroup-group.lockgshadowgshadow.lockpasswd-passwd.lockshadow-shadow.lockmodules.conf~ ...

Oracle wget with HTTPS protocol

I am trying to download a file from Oracle site through "wget". I am getting connection time out error. The parameter http_proxy is also set. The file I am trying to download has URL with "https" protocol.wget --no-check-certificate --http-user=<username> --http-passwd=<passwd> --output- ...

useradd: unable to open password file

As a root user when I run the command -[root@localhost etc]# useradd foouseradd: unable to open password fileHere is the /etc/passwd file specific details on my system[root@localhost etc]# ls -l /etc/passwd-rw-r--r-- 1 root root 2416 May 5 23:42 /etc/passwd[root@localhost etc]# lsattr passwd-------- ...

Ubuntu Search scripts; what editor do I need for these characters?

Below is a working (but still amateurish) html "mirror search" script I have copy pasted together as I still learn how to create them. I never could figure out how to put a "phrase" inside quotes until today. Up until now, I haven't been able to add phrases wrapped in quotes, bec ...

Web Daemon Account for Windows?

Must I create an OS user account on my web server identical to one of the Oracle accounts on my db server? I've read about creating a "web daemon user," but don't know what that is and whether I should create something analogous in a Windows environment.DB Server: W2K running Oracle 9.2WWW ...

Converting dropdown input to radiobuttons

I have a search box that currently works fine with a dropdown menu, but I have been trying to change it to radiobuttons, as they would be more user-friendly for this particular search.Here is the code for the working drop-down version:<!--CUSTOM SEARCH WITH DROPDOWN BEGIN--><script type= ...

gOS password issues

Ok, I'm having some issues with gOS accepting my password when I try to get into certain options like "Network" or "Users and Groups" (oddly enough, it still works for synaptic.) It won't work...regardless of what it is set to and how many times I change this password it simply w ...

Cannot 'su'

HiWhen i type 'su' in single user mode, I getsh-3.2#user root does not existAnd when i try to change the passwd in single user mode bysh-3.2#mount -o remount, rw /sh-3.2#passwdpasswd:cannot identify you! Also before entering into single user mode it prints:MAKE DEV: no such user as root.MAKE DEV: no ...

Parse HTML to get text from webpages

I need to write a Python program which parses webpages and returns a dictionary of unique words and their frequenies. What I came up with was #!/usr/bin/env pythonfrom HTMLParser import HTMLParser, HTMLParseErrorimport urllibimport urlparseimport sysimport osimport MySQLdbimport reclass WordHarveste ...

cannot seem to get samba working

I have spent a very frustrating weekend trying to configure my Mandrake 9.2. box to be able to see the windows network I am on. I have been using both webmin, nano, and swat to configure the smb.conf to no avail. Blech!The windows machines are seeing my box but cannot get into the directory I specif ...

COM+ E_NOINTERFACE and Microsoft Access

This code works in a "console" app, but when I place it in a COM+ serviced component, I got "E_NOINTERFACE" exception when I called OleDbAdapter.Fill(..)public void AuthenticateUser(string username, string passwd, ref int retcode){ //AuthenticateUserint count = -1;string db_usern ...

authentication with sessions

Been working on building my own authentication system for a couple of days now. Have not done a lot of coding in the past few months so am a touch rusty anyhow this project is a good refresher course. Ok this system uses sessions and that is one thing I wanted to talk about. First the code: memberar ...

md5() problem....

okay my problem is, when i try to log in, it doesnt encrypt the password with md5(), so it says incorrect password (because the passwords in the database are encrypted. heres my login script. <?$passwd = md5($passwd);setcookie("username", $username);setcookie("passwd", $passwd ...

md5 problem

I don't know what I'm doing wrong. I decided (big mistake) to change from crypt($pasword,$salt) encryption to md5($password) encryption. When I change a password, everything works just find, but then when I try to go back in and log in with the new password, they don't match. I check the db to see i ...

Return Value Help Needed

based on this example, how can I correctly return the value of retval:int main(void){LPSTR Passwd;Passwd = GetPasswd();printf("Passwd is %s", Passwd);return 0;}LPCSTR GetPasswd(void){char pass[15];//after some processing here, pass will hole value"PASS"How can I return this so I ...

md5 and login problem/register

My problem is, it seems to be encrypting the password when i register a name, and i dont remember putting md5 into the registration script. and its not letting me login, even when i use the encrypted password from the database, also, it seems to log me in no matter what password i enterHeres my logi ...

Login script help......

can someone tell me what i'm doing wrong.... its like not sending the information to the next page or somethin, i dunno...login.php...:$passwd = md5($_POST['passwd']);$dbuser = 'Blade';$dbpass = '****';//connect to the DB and select the database$connection = mysql_connect('localhost', $dbuser, $dbpa ...

header("Location:") problem

its about my login script.. here it is..login.php:<?$username = $_POST['username'];$passwd = md5($_POST['passwd']);$dbuser = 'Blade';$dbpass = '****';//connect to the DB and select the database$connection = mysql_connect('localhost', $dbuser, $dbpass) or die(mysql_error());mysql_select_db('Hazard ...

md5 returns different value when trying to authenticate

ok, so i have a login program that I would like to use md5 encryption for more security, however, I have tried implementing it and when I use md5 to encrypt a password when i add a user it encrypts it one way (looks like this 83cbb8d742f5) but when i use md5 with the login form to test the password ...

How do I make a file search?

Ok, I've got a google search engine setup and it works, so everything is good there, but I wan to be able to use this:intitle:"index of" (mp3|wma|mp4) %s -html -htm -psp -asp -cf -jspwhere %s would be the file name, how do I make it so the search will automatically put all that in and not ...

Ubuntu Debian tty1 login problems

This is my first time I am using the forum and I feel sorry that I now decided to registered. Usually I was browsing the various posts and getting the answers to various questions I had but now i find my self in a position that desperately needs help.I am new to Linux so a newbie but I am trying to ...

Ubuntu Proper Way to Create Root Account in Ub 9.10 Beta?

Press Alt+F2 keys enter xtermin the boxIn Xterm:sudo su-passwd: *****passwd(current) UNIX password:Enter new UNIX password: Retype new UNIX password: exitIs this procedure correct?:KS ...