The authentication tag has no wiki summary.
1
vote
1answer
14 views
What prevents RHEL7 default PAM config's “nullok” option from allowing empty passwords?
The config /etc/pam.d/password-auth is included by several PAM services including sshd. This is its auth stanza:
auth required pam_env.so
auth sufficient pam_unix.so nullok ...
1
vote
0answers
20 views
Cannot login to svn server
I have a SVN server on my Raspberry Pi (Raspbian).
It has a project under the directory /welcome, I want to add users to it.
My users would be admin with password admin and user2 with password ...
1
vote
1answer
38 views
Cannot login for one user, changing password have no effect
I have change the user's (user1) password using root
passwd user1
but when i tried to ssh user@localhost or through gdm or tty it always failed
the journalctl log shows
Failed password for user1 ...
0
votes
0answers
33 views
pam.d password hardening: nullok
In most all pam.d documentation or linux distributions that I saw, the recommend "secure" configuration for password is the following:
password required pam_unix.so sha512 shadow nullok ...
0
votes
0answers
19 views
log freeradius ip address with username
i configured a mikrotik with linux(freeradius+rsyslog+mysql) to authenticate and log users activity. now i want to log users visited urls, but only ip addresses of users and visited urls are logged. ...
0
votes
0answers
28 views
Authenticating To Multiple LDAP Servers
Owing to a corporate strategy I am moving human user authentication from an implementation of LDAP locally to a centralized Active Directory domain. The problem is that we have a tightly constrained ...
1
vote
0answers
75 views
Samba prompts for a password twice
I have a relatively new samba install configured to give Windows users access to some log files on a syslog server ("littleEngineer"). However it's prompting for a password to just get a share listing ...
3
votes
1answer
62 views
Use ssh without trying ssh-keys
If I try to connect to a certain server with
ssh example.com
ssh aborts with Too many authentication failures because I have more than 5 ssh keys in my .ssh folder and it loops through all those ...
0
votes
2answers
115 views
Authentication very slow (both with ssh and su)
I'm having a problem on one of our production servers where the login attempts become progressively slower as time passes. After roughly 5 days it becomes so slow that some critical processes/cron ...
0
votes
0answers
28 views
authenticate url with asked credentials
there is a URL
http://server,
when I open this url it ask for username and password (.htaccess authentication), this URL works fine in browser. This is the webpage not the browser which ask ...
0
votes
1answer
28 views
Howto Tell if a System authenticate with password only or through PAM
If my computer has the pam package installed and has the directory /etc/pam.d/sshd, does it mean for sure when I ssh to my computer, I am authenticated through pam modules? The /etc/pam.d/sshd looks ...
0
votes
0answers
27 views
Samba 3 file sharing access permission problem onWindows
I'm trying to set permissions on a server RHEL v5 whith Samba v3. The configuration of /etc/samba/smb.conf is
[project]
valid users = proyecto, admin
writeable = yes
...
2
votes
0answers
188 views
Setup LDAP client on RHEL 6.5
I am preparing for RHCSA exams and trying to setup LDAP client on my RHEL 6.5 box
I am connecting to the online testing LDAP server Here
I don't understand the relationship among following 3 files, ...
4
votes
1answer
44 views
How can I determine which SSH keyfile was used to authenticate a login?
We have a hosted CentOS 6.5 server in which we have a single user account. That account has been configured to use SSH keyfile authentication for the users who need to access it.
I would like to be ...
2
votes
1answer
113 views
SSH: public key authentication without authorized_keys file
I have a lot of ssh public key logins on a Linux server, e.g.:
Jul 25 11:41:01 host sshd[24594]: Accepted publickey for root from xxx.xxx.xx.xx port 33374 ssh2
This is strange for me since there's ...
3
votes
1answer
33 views
How to set an expired authentication in Apache?
Using a simple virtual host, I've to set a timeout after X minutes (same of set an expired authentication) to force the user to re-insert its credentials.
[...]
<Directory /home/user1/>
...
5
votes
1answer
161 views
2 Factor Authentication in SSH using public key and PAM
I'm trying to setup 2 Factor Authentication. I want the user to login successfully if:
The public private/public key matches (authentication method: publickey) or the password is correct
My pam ...
6
votes
1answer
198 views
Apache Authorization for the Allowed Users?
I have read the answer to this question:
http://stackoverflow.com/questions/4102763/apache-basic-authentication-except-for-those-allowed
It helped me understand how to not authenticate some users ...
2
votes
1answer
54 views
Does root not require a password to log in as a user?
Does root not require a password to log in as a user even though a password has been set for that user?
When I am logged in as "root", su user logs me in as "user". There is no prompt for a password. ...
1
vote
1answer
23 views
Apache authentication mutiple domain but same subdirectory
I've got several sites: example.com, example1.com, and example2.com in my wordpress. All of them point to my server's /public_html folder, which is my Apache root folder. What do I need to add to my ...
-1
votes
1answer
44 views
Password length and complexity
I am using CentOS and I want to set the minimum password length, minimum password expiry , maximum password expiry and password complexity in my system.
I have looked over some tutorials to change ...
1
vote
1answer
25 views
Replacing graphical sudo prompts with sudo command
I'm trying to replace gksudo, pkexec and its ilk with sudo. However, I'm told that using sudo <graphical_program> is a bad idea.
Would the following work as a decent replacement?
sudo -H ...
1
vote
0answers
91 views
Fedora 20. Authentication requires a different password from su
In Fedora 20 (using Mate desktop) I have tried to change the default keyboard layout from US English to UK English, but am asked for "Authentication". The password I have for su is not accepted, and I ...
2
votes
2answers
61 views
Making su ask for password multiple times
Is there some way to make su ask for the password again in case of a wrong password (just as sudo does)?
Initially I thought of this:
while ! su -c foo; do
read -n 1 -p "Retry(y/n)?" ch
if [[ ...
1
vote
1answer
40 views
Dynamic password authentication
I would like to know how can I (and if it's possible) create a dynamic authentication for a user in linux.
The server would change the user password periodically and the user would use a program ...
1
vote
1answer
277 views
PPTP VPN error: LCP terminated by peer
I cannot connect to my PPTP VPN server, even though the CHAP authentication succeeds.
This is from /var/log/syslog:
Jun 11 07:27:22 aspire pppd[32221]: CHAP authentication succeeded
Jun 11 07:27:22 ...
2
votes
3answers
153 views
Can sudo replace su?
There is much duplication of functionality on Linux-based systems, for example these do the same thing:
sudo --login --user <user>
sudo su - <user>
The sudo-only approach looks more ...
1
vote
1answer
139 views
A messagebox keeping popping up in my centos VNC server asking to change proxy settings?
I have included a screenshot of what it looks like. It keeps appearing and in the morning you to close it 50 times.
Could you please help me identify where the problem lies?
NOTE: It's CentOs 6 ...
2
votes
0answers
162 views
recover email from imap account using mailx
I am having problems fetching emails with mailx. My imap account uses ssl/tls connection with normal password authentication on port 993. I don't have any problems sending through smtp though. Here is ...
-1
votes
1answer
88 views
How do i deal with HP Device Manager requiring authentication to remove print jobs?
I have Fedora 20, with Gnome 3 Classic, and have installed Okular to read and, especially, print pages from, .pdf files. I want to print only a few pages, but in my frustrated attempts to set this up ...
1
vote
2answers
332 views
Why do my sshd logs show many trys on invalid ports?
My ssh daemon is setup to listen on port 2221. I have also disabled root login from ssh.
I don't understand why in auth.log I have attempts to log on other ports (example with 4627 here).
May 17 ...
1
vote
1answer
237 views
problem with unique ssh public/private key pair on second user
I have created an ssh key pair using ssh-keygen -t rsa for my main user and everything seems to be working well. Password login has been disabled.
I have a second user that I am trying to create a ...
0
votes
1answer
269 views
Creating MySQL database and user without password
I am building a set of bash scripts which basically prepare apache virtual hosts, git repositories and other stuff on a cloud server. So far so good, everything is working, but a big problem occurred: ...
0
votes
1answer
69 views
“NOT AUTHENTICATED” warning trying to install rdesktop on almost-fresh Mint 16 install
Linux Mint 16 (Ubuntu-based) 32-bit running on a netbook. Installed Wine and Skype, and all updates. Went to install rdesktop (typed rdesktop in the gnome menu search, chose 'install rdesktop'), and I ...
1
vote
1answer
36 views
How does the authentication process with the salted hash in shadow work
Does the supplied password during login get converted to a salted hash and then compared to the one in /etc/shadow? /what if the user is in LDAP but not in the shadow file? Would it use kerberos?
1
vote
2answers
84 views
Reset password for regular user who is locked out
I'm a complete noob in Linux and I'm stuck in a situation where I'm logged in an Linux box from putty but on of my colleague, who was trying to login on same machine from his machine blocked my user ...
1
vote
1answer
53 views
Connecting to Github from server
I am trying to connect to Github from a server running Jenkins.
To do this, I'm copying my public key from another server, into the authorized_keys on the new server.
All I'm getting is the ...
2
votes
1answer
91 views
login 'authentication failure' by non-root user, can login only by root [closed]
In my CentOS 6.0 system, working since months, suddenly stop authenticating non-root users, in graphical mode.
I have checked necessary /etc/pam.d/* files, but those are unchanged.
SELinux is ...
0
votes
0answers
34 views
Hit “sasl_decode error=-1” while sending mail via sendmail server on RHEL
Having installed sendmail and openwebmail on RHEL workstation 6.3, I can send email through webmail(cgi-bin/openwebmail/openwebmail.pl), but failed to interact with sendmail server in Perl script as ...
1
vote
0answers
38 views
How to get the authentication status from the last PAM module run
If I have the following PAM stack:
auth required default_pam.so
auth requisite my_custom_pam.so
....
How do you obtain the authentication status from the last/previous PAM module run for use in ...
0
votes
0answers
21 views
KRB5 auth with samba
I'm attempting to setup a samba share on RHEL6 for a group of users. There are quite a few of them with very little technical experience so having them SSH in to reset smbpasswd is asking a lot.
We ...
0
votes
0answers
91 views
Get user login name and address on bad login attempt [Dovecot]
Background
I am trying to develop a method to ban users who exhibit strange behavior when logging into Dovecot by obtaining their POP-ID/login name and IP address. I want to send that information to a ...
2
votes
1answer
65 views
Obtain pop-id or IP address when client logs into Dovecot server
Background
I have been doing some research on the Dovecot mail server documentation on ways to get client information when a client connects to the server. I am interested in using these to program an ...
0
votes
1answer
97 views
Authentication failure for FTP server [duplicate]
I followed this link to install ftp server.
And also added ftp user(ftpuser) and also added ftp password(1234567).
But when I am using this password in any wordpress site or any ftp software such as ...
3
votes
1answer
318 views
mod_authnz_ldap bind as authenticating user instead of anonymously
I'm attempting to move as close to single credential as possible. We have a web application that has a fairly limited set of available authentication mechanisms but will (luckily) allow admins to tell ...
0
votes
1answer
199 views
Apache mod_auth_kerb: “Key table entry not found”
I want to use the Apache Module "mod_auth_kerb" to implement SSO for a Webapplication.
With the following config:
<VirtualHost 10.5.3.200:443>
#Proxy
<Proxy *>
Order deny,allow
Allow ...
5
votes
1answer
221 views
Command line printing with a Samba printer requiring authentication
Is there a way to print to a Samba printer requiring authentication by providing the credentials on the command line (e.g., with lpr)?
I managed to store the credentials in GNOME Keyring and when I ...
0
votes
2answers
61 views
How to set Linux to ask for authentication when running potentially dangerous commands?
I've faced times when I accidentally ran dangerous commands and lost all my data. How do I set Linux to ask for current user password or root user password when running potentially dangerous commands ...
1
vote
2answers
2k views
Using curl to access basic auth protected website via proxy (polipo)
I am trying to download a file protected via basic auth:
curl "http://User:[email protected]/blub/bla.bin"
This is working fine.
As soon as I tell curl to use my locally installed polipo it fails:
...
2
votes
1answer
277 views
Gnome-shell authentication dialogue fails, how to debug which app is using it?
I am using ubuntu 13.10 with gnome shell 3.8.4.
I used to use gnome online accounts for empathy and other things, but then I stopped using them.
And then gnome shell started to show authentication ...