For our project we are using Solaris box.
After our build completion we keep kits to one directory and let users to access it by FTP session.
So we create user account on Solaris and share this info. to respective group of user.
I want to change this part and implement it like,
1.- Let user to login to ftp server with its one of the property login as 'anonymous' ... but change is, user/password = 'anonymous/#client-server'
2.- When user login as 'anonymous' run some script to check for its password. Based on that update this to log file.
The main idea is to avoid creating new user on server and by just validating password, can process which user has logged in.
So is it possible to run any script on server when any user logged in through FTP server?
Thanks in advance.
Related
I have the following scenario:
In MySytem there are these actors: MyApp, Keycloak, LdapSystem.
In ExternalSytem there are these actors: User, FtpServer, FtpPasswordChangingSystem.
Currently, the operation is as follows:
User uses FtpPasswordChangingSystem to change the FtpServer access password whenever it wants.
User sends me the password in an email and I change it manually in MyApp.
MyApp is a server application that is running continuously and accessing FtpServer every hour.
But, I would like to change that behavior and my goal is the following:
I register User in LdapSystem.
Every time User wants to change the password, in addition to doing it in
FtpPasswordChangingSystem, User must log in (using LdapSystem) and register
the password in Keycloak.
MyApp connects to Keycloak to retrieve password and access the FtpServer with it.
Is it possible to get what I want with Keycloak?
Please, could someone give me some keys on how to implement it?
Thanks in advance.
I have a web server running, just that there is a problem when entering with any other user who is not an administrator in the system, requests access but does not let you enter because they do not have permission, and try with the permissions on the folder, the permissions for the iss user. And keep marking the same I leave here a screen.
Looks like the filesystem permissions on your server's home directory don't allow read access for other users.
On the server, bring up the Properties window for c:\inetpub\wwwroot, see who has the rights. In order to avoid the username/password prompt, a user needs at least Read.
I have a solution where I had a user1. I have add this user in the Admin group to give him access to the server. Then I change the name in admin and set the password to admin1234. Then ehn I start the server and it ask for the pass, I enter the new one but it doesn't work. So I remove my user and create a new one, still the same... I remove all the user and have only the default Admin group with no user, but still impossible to run anything. I always get ask for the admin pass when I have no user in the directory.
I have try to do a custom required.js function, I have try with the basic settings... I tried everything but I can't make my project to run.
Anybody have an idea of what should I do to fix this problem?
Try to remove the admin user, kill the server process and then create a new admin user.
I had the same issue a long time ago and this worked for me.
Is there any way I could execute a script that verifies if user is authorized to log in,after the user has logged in normally, but before he has shell access.
This is to solve a problem that we have with sharing server passwords.
Is it posible?
What I want to do?
We are using Yubikeys (OTP Generator). I would like to ask the user trying to log in to generate a new OTP then I, using a web service y created, check for two things:
1) If the owner of the Yubikey is authorized (in a MySql database)
2) If the OTP is valid.
I know I can use yubikeys as Second factor Authentication for Shell access, but I have a centralized system for all the permissions in the company.
What I have Done
Edited the ~/.ssh/rc file of the user I was trying to protect. This file makes the validation and then starts the shell only if the user is authorized.
I am unable to login inot WAS Admin console. So I am trying to reset the admin credential after disabling security(security.xml-enabled="false"), but unable to save the new password. Any idea what should I check and troubleshoot?
I tried entering the credentials on soap.clients.props, but no help. WAS version : 7.0
From
http://www-01.ibm.com/support/knowledgecenter/SS7JFU_7.0.0/com.ibm.websphere.messages.doc/com.ibm.ejs.resources.security.html?cp=SS7JFU_7.0.0%2F1-15-7-225
SECJ7342E: Failed to validate user/password
Explanation Failed to validate user password in WIM registry
Action None
The credentials that you entered do they exist in the WIM registry?
From the screen shot it appears that you are using the File Based registry. Check that the ID and passwords match the values in that File Registry.
If you disabled security, then restart your server, so it starts plain, unsecured and enable security again via console. There will be prompt to specify admin user and password (I'm assuming you are using default Federated repository with file based). Provide new password there and restart the server.
In the page you are showing now, leave Server user identity as default - Automatically generated. This is not page, where you change user password.
Settings in soap.clients.props are not related to password changing. Once you set new password via console, you can update that file, so you won't be prompted, when you stop server from the command line.
This technote is also helpful when forgetting your WAS Admin console password:
Forgot password and cannot access WebSphere Application Server administrative console
https://www.ibm.com/support/docview.wss?uid=swg21405302