Can we find, in windows log file, rong password? [closed] - windows

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I filled my password instead of my username in my work computer. I'd like to know if other persons (administrator) can see it in log files.
If so how can I delete it?
Second question: is it possible get list of all failed login attempts (wrong passwords).
Thanks.

Seeing as the answer for windows is less than congruent across versions, specificity with regards to that aspect would be appreciated.
For windows 7 I would refer you here.
Prior to XP the windows "Event Log" would provide you with information that I believe would satiate your curiosity. However in XP+ things have changed. The XP version of the link I posted before is located here.
EDIT: For those who would like to do the same on linux...
On linux it's a bit simpler:
faillog -u root | Will list all failed root login attempts.
Whereas: faillog -a |
Will list failed login attempts for ALL system accounts.
The faillog file is located at /var/log/faillog & >|/var/log/faillog should wipe that file if that's what you're looking to do.
More information on faillog can be found here: http://linux.die.net/man/8/faillog

Related

The current directory is invalid on Windows 8 [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I've been trying to run the following command through command prompt as administrator
netstat -a -b
However I get the following error
The current directory is invalid.
I tried to follow http://support.microsoft.com/kb/257996 but I don't think mine has anything to do with Logon Scripts
UPDATE
Running netstat -a as normal user through command prompt works fine. However I need to know which process ID using -b option which requires elevation.
I tried the same command "netstat -a -b" WITH ADMINISTRATIVE PRIVILEGES
There isnt any issue at all.
Here is your Problem:
Like any other program netstat.exe is also a program which is located on the windows directory
Browse to C:\Windows\system32> and then type so you should face the program locational issue.
If you are unsure whether c: or d: is the windows root directory.
1.Open the cmd file with Admin Previleges
2.type "cd %windir%\system32"
3.The above step should automatically switch to your root win folder

Mac app: want to copy system files out of the protected location, and failed [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
In my Mac program, I want to copy the file located in /private/var/db/dslocal/nodes/Default/users/xx.plist to another disc.
Presumably it will failed, and it is.
I use the api of copyItemAtPath:toPath:error: to do this,
and I NSLog out the error infomation:
it says /private/var/db/dslocal/nodes/Default/users/xx.plist this file couldn't be opened because I don't have permission to view it.
The operation couldn't be completed, Permission denied.
And can anyone could introduce me to some documentations or sample codes that I should read to solve my problem? Please!
You're trying to do something that requires the user to be an administrator (or root), which requires elevated access. The way to do go about this in OSX is to factor out the privileged code into a separate executable that is run with elevated permissions, after having prompted the user for an administrator's credentials.
Take a look at OSX Authorization services for prompting the user:
https://developer.apple.com/library/mac/#documentation/Security/Reference/authorization_ref/Reference/reference.html
And SMJobBless for creating the application with elevated rights: -
https://developer.apple.com/library/mac/#samplecode/SMJobBless/Introduction/Intro.html

Update Windows 7 via cmd [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I need to automate the updating/installation of MS patches in some remote machines.
I can't use MDT because there is already a different subsystem handling mass software/patch distribution on all the workstations.
Therefore the easiest/fastest way would be to connect with a script to each machine and run a command (if it exists) that would start updating the system just as if a user had clicked Control Panel/Windows Update/Update now...
I searched and found the wuauclt utility which I try to run on a machine and check if it works and it just doesn't do anything.
I tried doing
wuauclt /a /detectnow
and then
wuauclt /r
It doesn't report that "The command does not exist" or anything like that. It just doesn't output anything at all and I see no updates being installed in the background.
Any ideas?
I read this article yesterday, I think it might be able to help you. Please give it a look and let me know if it helps.
http://www.ehow.com/how_8724332_use-powershell-run-windows-updates.html

xampp on windows 7: set chmod [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
i am running xampp on my windows 7 machine. i've downloaded the sourcecode for concrete5 5.4.2.2 (that is a PHP-based CMS) but some directories are not writeable, see screenie:
since there is no such thing as chmod on windows i am now wondering how to make the folders writeable by the webserver?!
There are two steps that should help you. First, check what user the web server is running as. If you can't see it easily, just Task Manager - it should show you. Then, once you know that user, give him read/write permissions through windows explorer to that folder. Alternatively, you could give "eveyone" access this way, but that has some serious security implications.

Trouble setting up OpenSSH server on Windows 7 (can't start SSHD) [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I just downloaded Cygwin for Windows 7. I want to install an OpenSSH SSH daemon, and after running "ssh-host-config", I tried starting the service by running
$net start sshd
System error 1069 has occurred.
The service did not start due to a logon failure.
I changed the password for user "sshd" to have upper/lower case letters and numbers. But I still get this error. Any help or additional troubleshooting advice is appreciated, - Dave
I had the same issue. If you had previously tried to install openssh you need to remove it first.I followed this these two links for removing openssh:
http://pigtail.net/LRP/printsrv/vista-cygwin.txt
http://www.kgx.net.nz/2010/03/cygwin-sshd-and-windows-7/
They are mostly the same although the first link is based on the second one and the second one has some extra information about installing privileges for users.
After that you can try to reinstall openssh it should work.
It could be that your password for the cyg_server user has expired. This is usually the case with Windows Server versions.
Run lusrmgr.svc and change the password for it. You can also disable the Password never expires by checking the user's properties.
You should be able to verify the password did expire by checking the windows events.
"1069 Error Code is caused in one way or another by misconfigured system files in your windows operating system."
You need to restore your OS to a previous state or download the repair tool. I have the same issue for the same reason.

Resources