Server :: Disabling Of Ssh Prompting For Password
Jul 19, 2011
There are over a dozen of servers that I need to monitor for services running on them. Hence, I have created a separate VM on which I am hosting scripts for various purposes. I have written a script (bash) that checks the status of the services running on those servers. Since my script has this line of command (for example):
Code: /sbin/service vsftpd status I have created a user (let's name it user_monitor) and added it to /etc/sudoers file by issuing "visudo" on all the servers. Since I need to execute the command remotely from the VM so I have generated a Public RSA Key (ssh-heygen) and added it to "authorized_keys" file on all the servers. But on some servers when issue a command such as the following:
[Code]....
View 4 Replies
ADVERTISEMENT
Jun 1, 2011
I have configured a FTP (VSFTPD) Server in RHEL 5.6, which resulted me a default directory /var/ftp/pub. Even i have cerated another Directory /var/ftp/accounts. Where Accounts Directory is owned by user x in my server. I have a issue with this, It prompts me User and Password while accessing this ftp 192.168.5.20 in Linux Servers. But while i am trying this through a windows machine by ftp://192.168.5.20 it gets directly accessed without prompting me any User and Password.
I need to have FTP environment same like windows. where it must prompt me user name and password, and i must be able to upload and download data from my windows clients.
View 1 Replies
View Related
Sep 28, 2010
actually i have generated public and private key using "ssh-keygen" command.i have appended it to the ~/.ssh/authorized_keys file in the other netowork system.still it's prompting for password.all the systems in my network are using fedora12 and fedora13.i dont know what's wrong with it.does it need to change any configuration files ..if so what are all the changes to be made?i am trying to login using the same user for whom i created the pub key..no impersonation
View 1 Replies
View Related
Oct 26, 2010
I have been connecting to ssh but now it takes longer time to prompt for username and also password.Can any one tell what is the reason why it takes time
View 3 Replies
View Related
May 19, 2010
i have just installed latest centis annd when i leave my system and lock it using ctrl + alt + L when i try to loggin it doesn't prompt me for any password for loggin and i am at the desktop without any authentication.
View 5 Replies
View Related
Apr 5, 2010
I'm having problems setting up an email client. Tried both Evolution (which looks good) and Thunderbird but both of them will not prompt for my password when connecting to my mail servers. I've quadruple checked my settings and everything looks OK however I do not get the password prompt.Creating an account in Evolution is almost the same as that shown in the documentation but I do not get prompted for the time zone. Checking where Evolution stores the passwords also comes up with different results on my computer as the location specified does exist but is empty.Evolution is running at 2.28.1 and Thunderbird is 2.0.0.24
View 5 Replies
View Related
May 1, 2010
I have installed Ubuntu three times now, and I'm running into same problem all the time, both with Karmic Koala (9.10) and now also Lucid Lynx (10.04):
When I configure Evolution for IMAP access to my GMAIL account, it never prompts me for a password. Instead, I guess Evolution tries to connect without any password and fails every time. Switching to Thunderbird didn't do the trick either, so I think it might have something to do with the Keyring daemon. My Internet connection is fine, as I can access my account under other operating systems.
Things I've tried so far:
"Forget passwords" in the evolution menu
Forcing shutdown of evolution and deleting the ~/.evolution folder (as suggested by https://bugzilla.redhat.com/show_bug.cgi?id=221112)
Accessing the keyring and deleting the default keyring
[code]....
View 3 Replies
View Related
May 27, 2010
I have 4 machines running 10.04 32 bit Intel--- all use SSH to connect to a remote server drive (disk). All except one of the machines work just fine when accessing the remote drives. The fourth PC keeps asking for a password with every directory change.
If I select cancel three times (on the troublesome unit), the desired directory opens but then the same routine occurs with the next directory change.
View 5 Replies
View Related
Mar 10, 2010
Its taking too much time to prompting me to enter password after boot-up and it is asking me to enter PAM_MOUNT password.
I entered the password which i use to login to my computer and it is not letting me to log-in.
I tried using safe mode and am not able to login through command line.
View 2 Replies
View Related
Mar 14, 2010
ive installed adobe AIR on my ubuntu karmic x64 distro as per the instructions on adobe's website, but whenever an adobe air app launches it prompts me for a password. I remember (before gnome-keyring-manager was replaced with seahorse) I found a way around it, but i gather that gnome-keyring-manager has been replaced now
View 3 Replies
View Related
May 12, 2011
I am using CentOS 5.6 and recently, well since I updated to 5.6 when I login through ssh/telnet I am prompted to change the password of any account which is my LDAP directory. Local accounts are unaffected. I haven't tried the console as this server is tucked away in a tiny room. This is really annoying because I don't want to run password expiry on that server and I'm sure that there's nothing in LDAP to indicate password expiry is on. My shadowmax is 9999 by default for every account..which is over 27 years I think. It's only started recently. I'd like to know how I can turn the expiry message off. I'd like to get rid of cracklib as well.
my etc/pam.d/sshd is
#%PAM-1.0
auth include system-auth
account required pam_nologin.so
account include system-auth
password include system-auth
session optional pam_keyinit.so force revoke
session include system-auth
session required pam_loginuid.so
View 6 Replies
View Related
Aug 16, 2011
I am suddenly not prompted for my password when I run any command as sudo on a few of my Ubuntu servers.
if I run sudo -K, the session is cleared, and I am prompted again for my password, however it saves/caches it until I run sudo -k again even if I log out and back in. I want it to prompt me for my password, as it should (and did) by default, for security.
Any ideas what could be causing this?
Here's my /etc/sudoers file code...
View 2 Replies
View Related
Apr 20, 2011
In order to save power,I want to leave the default(blank) screensaver active,in case I forget to close my monitor when the computer is running.However,the screensaver is,by default,password protected and I would like to disable this annoying feature(which is,anyway,useless for me).If I go to System>Preferences>Screensaver and uncheck "Lock screen when scrensaver is active",will this remove password protection from the screensaver?
View 2 Replies
View Related
Aug 24, 2010
I once disabled my login password, and now I would like to set a password again by using the terminal. So, in the terminal I write:
sudo passwd myuser
I'm asked for my current password, but since I don't have one I press enter. I get: Sorry,try again.... hat's the correct way of doing this?
View 10 Replies
View Related
Nov 9, 2010
I've set up a media box for mythtv based on OpenSUSE 11.3 and LXDE. By default, the screen gets locked prior to a suspend. On resume, therefore, the screen is locked and requires a password to unlock. I need to disable this action. In KDE4, I can do that by going to the power management settings and un-selecting the appropriate check box. In LXDE, however, I can find no such settings. There must be a config file somewhere that I can tweak to turn off the screen lock prior to suspend, but I have no idea what it is.
View 5 Replies
View Related
Nov 24, 2010
Two questions concerning the "insert your password screen" that pops up after some minutes of inactivity: 1) How can I disable it, if I don't want it to pop up anymore? (maybe on startup, but not after inactivity) 2) If it is not disabled: During the installation of Ubuntu, it is asked whether the password chosen will be used only to unlock the screen or also to unencrypt the user's home folder. Supposing the user chose the former option, how can he currently go back and choose to also have encryption? Also: is this encryption good? Is encrypting the home folder enough to protect personal data from eventual laptop theft?
View 5 Replies
View Related
Mar 21, 2010
I'm trying adjust my proftpd server's settings, that anonymous users could download what they need smoothly.
A small problem made me so bemused:
In the configuration file of proftpd, I place the following setting section in the <anonymous> section,
Code:
After restarting the proftpd server and applying the configuration, I try downloading a file in IE browser. Sometimes, it prompts a saveas dialog, and everything was okay.
However, it occasionally prompts a login form instead of a SaveAs dialog. This makes our customers confused greatly.
So, how could I prevent browser from prompting login form when anonymous users try to download files from our ftp server?
Quote:
OS: CentOS 5.3
Server: ProFTPd 1.3.1
View 1 Replies
View Related
Mar 17, 2011
I have set up a nis slave server on Fedora 14. It was set up on a laptop so that the user can log in when he is at home (no NFS, local home dir). However, whenever the eth0 is disconnected, ypbind fails.
I have tried the same setup on a RHEL 4 (configured it as a slave server) against the same master nis as on the Fedora 14. Disabling eth0 on it however does not fail ypbind.
View 4 Replies
View Related
Jun 6, 2011
I can't figure out how to prevent Zend Server starting at boot up. My temporary solution is to issue the following after boot-up:
Code:
sudo /usr/local/zend/bin/zendctl.sh stop
I'd like to:
1. Prevent it from starting during boot
2. Create two launcher icons to Start and Stop Zend Server
View 1 Replies
View Related
Dec 3, 2010
I�m installing fail2ban to improve the security of a home asterisk server which from time to time becomes the target of some sip account cracker and/or ssh brute force attack.For those not familiar with fail2ban, this utility monitors log files to find matches with user specified expressions to identify the presence of a brute force attack. Then configures iptables rules to block the offending IP.Here�s an example:
Code:
NOTICE[1734] chan_sip.c: Registration from '"613"<sip:613@xx.xxxx.xxx.xxx>' failed for 'yyy.yyy.yyyy.yyy' - No matching peer found
[code].....
View 1 Replies
View Related
Feb 23, 2011
I wanted to know if it is possible to turn off readdirplus calls at the server side. I am currently using a fedora core 8 server.
View 1 Replies
View Related
Mar 31, 2011
I'm using CentOS 5 and just found out that there are people using my Apache Web Server as proxy (version 2.2.3 the OS's default).
I've checked out that my mod_proxy is already disabled but the unauthorized incoming request is still very large.
So I tried to compile an Apache from raw (2.2.17) just enabling mod_rewrite and then found out that the 'proxy' request is still there.
Tried httpd -l and here are the modules inside the Apache :
Code:
# /opt/apachew/bin/httpd -l
Compiled in modules:
core.c
mod_authn_file.c
[Code]....
There should be no mod_proxy but why should it still accepting proxy request? I checked the access_log file and still found [URL] and so on.
My question is : - How to block all the proxy request and only accepting the normal web server request? I also have tried to enable proxy in the previous Apache and then setting up "ProxyRequest Off" and Proxy * only from localhost but the request is still there.
I tried by myself using the webserver as proxy in browser and all the URLs I opened including the false URL will be redirected to my index.php and this should show me that 'you-can't-use-this-as-proxy-anymore' right?
Insane people still believe they could use my server and they keep trying and trying.
I couldn't block the IP addresses because some of them are using the mobile data (GPRS/UMTS) and that is our market for the website.
View 5 Replies
View Related
Apr 2, 2010
I have a Centos NIS server that is working fine with other linux clients. i need to have a Solaris 8 client bind to the NIS domain and found out that Sol8 does not support MD5 format passwords that the NIS master is generating. so i am trying to disable the MD5 encryption on the nis master and it does not seem to work. i run this command
authconfig --disablemd5 --enablenis --nisdomain=lab --updateall
and it restarts portmap and nis services ok. on the master server i then do a yppasswd username and a make passwd and it still uses the 34 char password format. what do i need to do to disable MD5 passwords in a centos nis server?
View 2 Replies
View Related
Feb 4, 2010
We are having 12 windows computers xp which are connected to a linux machine which has samba server installed on it for backup purposes of these 12 windows users. We want the like this , that a user copy a folder from their local machine and paste it to the samba server . but they cannot delete this folder once the backup is there at linux machine.
So this is working fine. But our users are able to Rename the folder they have pasted at linux machine which we dont want . and even they are able to cut and paste files from 1 folder to another folder in the samba server. We just want them to copy a file or folder from their local windows machine and paste to samba server and they can also read it (copy and paste back to their windows computer)whenever they want . but we dont want them to cut and paste within linux machine and rename that file as well.
View 1 Replies
View Related
Jul 23, 2009
I am an absolute Linux Beginner who is being required to do a bit of admin work because the boss just fired the old linux admin. Unfortunately, one of our employees cannot remember her password to her email account and as such I need to reset it on our linux server.What I want to check is that this email account is actually a linux user account and I simply will reset the password for it using the passwd command from the root login. Is that correct?
View 1 Replies
View Related
Nov 24, 2010
I want to give my users option of logging to the system. They should have posibillity for choosing option betweend logging to the system with their default password or one-time password OTPW. I installed OTPW in my Debian. Here is my /etc/pam.d/sshd file:
[Code]....
View 12 Replies
View Related
Jun 18, 2011
My bose ask me to convert a CentOS system password like "LMPQSMTE0nHlQ" to postfix MySQL MD5 Hased password, I find CentOS seems has 2 kinds of password form, one is shorter and the other is very long like"$1$C2MSk16n$WT5JWnzYH7XpCCjsiE2bd1", however I find postfix is exactly the later long one, so does any one know how to convert the short form to the later one
View 1 Replies
View Related
Jun 24, 2010
I have NIS setup to manage all my users, and I have samba set up to share out a directory to the users windows computers - which are part of a corporate domain. I have a requirement to synchronise the NIS password to the Samba password so that when a user changes their password in the Linux environment it automatically updates the Samba password so that the user can simply update the password stored by Windows Explorer.
View 1 Replies
View Related
Sep 18, 2009
Recently i am having an issues with my fedora11. Whenever i got the login screen when i start up my OS, i entered the password and press enter, it will bring me back to the same screen as i never entered any password.It is always repeating the same tasks (inserting my password and enter) for about 6 times then only success to login to my computer
View 1 Replies
View Related
Apr 20, 2010
I've been fiddling with Ubuntu for the first time ever today and eventually managed to get the drivers for the network adapter installed. Now, I'm trying to get the computer running it onto my home network; I set it up to connect automatically, entered the WEP key, and hit apply, marveling at how convenient it was.
...So far it's still caused me less trouble than some of the the bizarre problems I've had trying to get a Windows computer on a network, but...it just won't connect. At all. It says it is connecting, eventually prompts me for the key again, says it is connecting again, etc, repeat on infinite loop. Except for the occasional times that it stops trying and then, oddly enough, proceeds to state that it is not connected to e of neighbor's network*, which it wasn't trying to connect to in the first place
View 2 Replies
View Related