Sponsored Content
Full Discussion: Cygwin_openssh logging
Special Forums Windows & DOS: Issues & Discussions Cygwin_openssh logging Post 302985302 by jim mcnamara on Tuesday 8th of November 2016 07:46:52 AM
Old 11-08-2016
Do you see /etc/passwd in your cygwin file system? In other words, "who" does the authentication? Windows or cygwin? See the mkpasswd --help for more information.

mkpasswd indicates that, by default, Windows authenticates. You can force cygwin to authenticate. Never done it myself.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Logging

I have a SCO R5 Open Server Box running at a remote location, and from time to time it seems to "spontaneously" re-boot itself. Is there a specific log file that I can examine to see why the machine is doing this ? Any suggestions gratefully appreciated (1 Reply)
Discussion started by: pcs7088
1 Replies

2. Shell Programming and Scripting

Logging

G'day Just wondering if anyone out there knows how to log files, using the example I provided in the earlier message / question earlier today: :confused: If I was to backup a file, how could I setup a log file to record the filename, date (This one I've got figured), and that the file was... (4 Replies)
Discussion started by: Aussie_Bloke
4 Replies

3. Cybersecurity

logging

is there a log/ how do i make a log that logs every packet inbound or outbound through my server? I want every packet or packet fragment to be logged that comes to my server. (5 Replies)
Discussion started by: The Fridgerator
5 Replies

4. UNIX for Dummies Questions & Answers

logging when someone changes to su

Is there a file that captures info whenever someone logs to su? i know it comes across as standard output on the server, but is it saved anywhere? Time and date info included?? thanks, kym (1 Reply)
Discussion started by: kymberm
1 Replies

5. UNIX for Dummies Questions & Answers

Asking about logging in

Hi, just wriiten a sh script and as my script will try to log into another server to delete some files but when i run , it keeps on saying that my files do not exist. It seems to refer to my local directory instead. Below is my script : FTP_HOST=ip_number FTP_USER="user password" ... (1 Reply)
Discussion started by: blueberry80
1 Replies

6. UNIX for Dummies Questions & Answers

need more logging

Hi all! On our current Solaris 8 machine we only have "standard" logging configured, and now i need to put on more. What i specificly need is time in the logfiles. Ex. When a user is logging in, when a user makes it self SU. etc. Regards... dOzY (3 Replies)
Discussion started by: dozy
3 Replies

7. Programming

Logging

Hi How to manage logging in an application. Actually I am developing a Client-Server application in c/c++ and want to manage an optional logging in my application, but since prior I have never done ths activity. Plz guide me. thanks. (2 Replies)
Discussion started by: sumsin
2 Replies

8. Post Here to Contact Site Administrators and Moderators

Constant Logging In (After Logging Out)

Hi Everyone. First, I want to thank all of you for letting me participate in this great group. I am having a bit of a problem. After I get an email from a responder, I login to make my reply. In the mean time I get another response by email from another member, I go to reply to them and I... (6 Replies)
Discussion started by: Ccccc
6 Replies

9. Linux

Syslog not logging successful logging while unlocking server's console

When unlocking a Linux server's console there's no event indicating successful logging Is there a way I can fix this ? I have the following in my rsyslog.conf auth.info /var/log/secure authpriv.info /var/log/secure (1 Reply)
Discussion started by: walterthered
1 Replies

10. Windows & DOS: Issues & Discussions

Cygwin_openssh time stamps

I've installed cygwin_openssh on Windows 2012 R2 and it's working great. My issue is when a file is uploaded say from a different timezone, when it is uploaded, it doesnt pick up the sftp servers time.. Is there a way to fix that? i.e. When someone in PST uploads a file to this server in EST,... (0 Replies)
Discussion started by: MikeAdkins
0 Replies
mkpasswd(8)						      System Manager's Manual						       mkpasswd(8)

NAME
mkpasswd - Creates a version of the basic user database organized for efficient searches SYNOPSIS
/usr/sbin/mkpasswd [-v] [-s size] passwdfile DESCRIPTION
The mkpasswd command creates an auxiliary version of the basic user database in a form organized for efficient searches by the getpwuid subroutine and the getpwnam subroutine. The mkpasswd command reads the user attributes in the /etc/passwd file and creates a hashed pass- word database in the /etc/passwd.dir and /etc/passwd.pag files (see ndbm(3) reference page). If you specify a file other than /etc/passwd, the command reads the user attributes in that file and creates a hashed password database in the passwdfile.dir and passwdfile.pag files. It is important to know that the password file you designate must be in password file format (see the passwd(4) reference page). Note that if you use the vipw command to edit a password file, you do not need to use the mkpasswd command. This is because the vipw com- mand automatically invokes the mkpasswd command which in turn creates the /etc/passwd.dir and /etc/passwd.pag files. Only the root user should have execute access to the mkpasswd command. Files accessed: File /etc/passwd /etc/passwd.pag /etc/passwd.dir passwdfile passwdfile.pag passwdfile.dir The mkpasswd command may fail with a errno value of EFBIG if the password file is large (30,000 entries or more). This failure can be avoided by using the -s option to set a larger page block size for the hashed database. FLAGS
Specifies that each stored entry be listed on standard output Specifies the page block size to use in creating the hashed password data- base. The size argument is a value from 1 to 32, representing page block sizes from 1024 to 32768, respectively. The default page block size is 1024. EXAMPLES
If you have not used vipw to edit the /etc/passwd and wish to generate a hashed password database, enter the following: /usr/sbin/mkpasswd -v /etc/passwd An auxiliary version of the basic user database (/etc/passwd.dir and /etc/passwd.pag files) is created with a hashing algo- rithm. To create a hashed password database with a page block size of 8192, enter the following: /usr/sbin/makepasswd -s 8 /etc/passwd SECURITY NOTE
If enhanced security is running on your system, the passwords are stored in the extended attributes database. See the Security guide for more information about passwords in the enhanced security environment. RETURN VALUES
The mkpasswd command exits with a nonzero exit code if any errors are detected. ERRORS
If the mkpasswd request is not successful, the following error message is displayed: The passwdfile.dir and passwdfile.pag files already exist from a previous execution of the same mkpasswd command. FILES
Specifies the command path RELATED INFORMATION
Commands: adduser(8), passwd(1), passwd(4), vipw(8) Functions: getpwent(3), ndbm(3) Manuals: Security delim off mkpasswd(8)
All times are GMT -4. The time now is 03:57 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy