Sponsored Content
Full Discussion: A Windows password script
Special Forums Windows & DOS: Issues & Discussions A Windows password script Post 302409121 by methyl on Wednesday 31st of March 2010 08:08:56 AM
Old 03-31-2010
Any chance of starting a clean thread? Needs to mention the Windows version(or versions) involved, whether each is workstation or server, and whether all the filesystems involved are NTFS. I guess that these are not Microsoft Office files?

The archive method is unclear bearing in mind that some backup software does not like passworded files.
 

9 More Discussions You Might Find Interesting

1. Solaris

Windows 2003 sp1 to Solaris 10 6/06 password synchronization (ssod)

We are currently using ssod daemon, included with SFU 3.5, to synchronize passwords from AD to Solaris 8. We are now upgrading to a new Solaris 10 server. I loaded out the sso.conf, and the ssod on the server. Ssod seems to start up fine, but it gives an error on the console when I change a... (0 Replies)
Discussion started by: james_ryan
0 Replies

2. Windows & DOS: Issues & Discussions

How to find windows user without any password

How to find windows users without any password.. (0 Replies)
Discussion started by: RPG
0 Replies

3. AIX

How to do ssh without password from windows to AIX?

I know how to ssh without password from AIX to AIX, however, how to do it from Windows to AIX? (6 Replies)
Discussion started by: rainbow_bean
6 Replies

4. Windows & DOS: Issues & Discussions

windows startup password

Hi, a friend of mine uses windows and he changed his password (using some weird non-english characters). Now when he logged into windows, it asked for the admin password and he couldn't enter those characters (you can only turn that on once you're in windows). So is there anyway to login or... (0 Replies)
Discussion started by: chaoses
0 Replies

5. Windows & DOS: Issues & Discussions

ssh: sending password from windows client

Hi. My workstation is Windows. I use putty to connect to unix servers. The problem is that i'm doing it many times a day and each time i need to supply password. I have no control on ssh configuration on servers, because of account restrictions. So i can't use key authentication, how is suggested... (4 Replies)
Discussion started by: kukuruku
4 Replies

6. Shell Programming and Scripting

how to change root password using shell script with standard password

Hi Friends. I am new to scripting now i want to change the root password using the script with standard password. which is the easy scripting to learn for the beginner, Thanks in advance. (2 Replies)
Discussion started by: kurva
2 Replies

7. Windows & DOS: Issues & Discussions

How to Recover windows administrator password?

HI, Can anybody tell me..about recovering windows administrator password in case of Forget it. Now in Unix OS and any database,there is a fascility of recovering root/admin password.... Can window provide any such kind of fascility?....Also tell me any other normal users password recovery... (5 Replies)
Discussion started by: jagdish.machhi@
5 Replies

8. Solaris

How to set password for vnc software installed in windows machine?

i want user to prompt for password when ever he tries to login into solaris box using vnc software. is it possible.. each time the user tries to access a solaris box should be prompted for password. and each user can set his own password for his session? if all the above are possible which... (3 Replies)
Discussion started by: chidori
3 Replies

9. Red Hat

How to make a Password-Less Login from Windows to Linux using OpenSSH?

I installed the OpenSSH on my Windows Machine. I want to connect to the remote Linux machine without typing password. I followed the bellow instructions but the SSH needs password to establish the connection yet. Open CMD and run: ssh-keygen -t rsa (The public and private keys are generated in... (1 Reply)
Discussion started by: manoj.solaris
1 Replies
PG_ARCHIVECLEANUP(1)					  PostgreSQL 9.2.7 Documentation				      PG_ARCHIVECLEANUP(1)

NAME
pg_archivecleanup - clean up PostgreSQL WAL archive files SYNOPSIS
pg_archivecleanup [option...] archivelocation oldestkeptwalfile DESCRIPTION
pg_archivecleanup is designed to be used as an archive_cleanup_command to clean up WAL file archives when running as a standby server (see Section 25.2, "Log-Shipping Standby Servers", in the documentation). pg_archivecleanup can also be used as a standalone program to clean WAL file archives. To configure a standby server to use pg_archivecleanup, put this into its recovery.conf configuration file: archive_cleanup_command = 'pg_archivecleanup archivelocation %r' where archivelocation is the directory from which WAL segment files should be removed. When used within archive_cleanup_command, all WAL files logically preceding the value of the %r argument will be removed from archivelocation. This minimizes the number of files that need to be retained, while preserving crash-restart capability. Use of this parameter is appropriate if the archivelocation is a transient staging area for this particular standby server, but not when the archivelocation is intended as a long-term WAL archive area, or when multiple standby servers are recovering from the same archive location. When used as a standalone program all WAL files logically preceding the oldestkeptwalfile will be removed from archivelocation. In this mode, if you specify a .backup file name, then only the file prefix will be used as the oldestkeptwalfile. This allows you to remove all WAL files archived prior to a specific base backup without error. For example, the following example will remove all files older than WAL file name 000000010000003700000010: pg_archivecleanup -d archive 000000010000003700000010.00000020.backup pg_archivecleanup: keep WAL file "archive/000000010000003700000010" and later pg_archivecleanup: removing file "archive/00000001000000370000000F" pg_archivecleanup: removing file "archive/00000001000000370000000E" pg_archivecleanup assumes that archivelocation is a directory readable and writable by the server-owning user. OPTIONS
pg_archivecleanup accepts the following command-line arguments: -d Print lots of debug logging output on stderr. -n Print the names of the files that would have been removed on stdout (performs a dry run). -V, --version Print the pg_archivecleanup version and exit. -x extension When using the program as a standalone utility, provide an extension that will be stripped from all file names before deciding if they should be deleted. This is typically useful for cleaning up archives that have been compressed during storage, and therefore have had an extension added by the compression program. For example: -x .gz. Note that the .backup file name passed to the program should not include the extension. -?, --help Show help about pg_archivecleanup command line arguments, and exit. NOTES
pg_archivecleanup is designed to work with PostgreSQL 8.0 and later when used as a standalone utility, or with PostgreSQL 9.0 and later when used as an archive cleanup command. pg_archivecleanup is written in C and has an easy-to-modify source code, with specifically designated sections to modify for your own needs EXAMPLES
On Linux or Unix systems, you might use: archive_cleanup_command = 'pg_archivecleanup -d /mnt/standby/archive %r 2>>cleanup.log' where the archive directory is physically located on the standby server, so that the archive_command is accessing it across NFS, but the files are local to the standby. This will: o produce debugging output in cleanup.log o remove no-longer-needed files from the archive directory AUTHOR
Simon Riggs <simon@2ndquadrant.com> SEE ALSO
pg_standby(1) PostgreSQL 9.2.7 2014-02-17 PG_ARCHIVECLEANUP(1)
All times are GMT -4. The time now is 03:44 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy