The authentication tag has no wiki summary.
3
votes
1answer
2k views
Can't login as root even after resetting the password
We're running a small Centos 5 server in a virtual machine for a class assignment. For reasons unknown, starting about a week ago a number of services started failing. When we tried to investigate we ...
2
votes
1answer
1k views
Authenticating with x11vnc: what's the difference between -auth and -rfbauth?
I'm on xubuntu 11.10 trying to setup x11vnc server.
I followed instructions here and I can connect to VNC server - but it never asks me for password!
Is there a difference between these 2 options:
...
2
votes
0answers
465 views
nsswitch cache and nscd
I have an LDAP directory server installed that stores all the user data in one server and I have an ongoing authentication mechanism using pam to request user information from it. This works very ...
7
votes
2answers
383 views
iPhone type login screen?
The person that introduced me to Fedora had somehow made his login screen so that instead of typing in a password he used the "connect the dots" password that's popular on phones. Eg
On my ...
1
vote
1answer
3k views
Execute a script automatically through pbrun?
There is a Unix environment named sftwrk01, uatwrk01, intwrk01 and some more
I need to check the logs in each environment everyday by login in as below (through pbsu which is a wrapper for pbrun):
...
3
votes
1answer
206 views
What's the best way to install a system-wide certificate from a website?
I want to use the Cisco Easy VPN to connect to the OpSource cloud machines. When I open the app, it directly shows a certificate error message, I suspect that the certificate is not trusted from their ...
1
vote
2answers
524 views
SSH on my local network - problem with login
I'm having problem with logging into my local-network-linux (server) ssh with Putty (and with Linux terminal, too)
When my server shows me request to insert username, I insert "root" and I do press ...
1
vote
1answer
355 views
How to protect my anonymity and authenticity in Irc?
I use irssi for playing multiplayer/programming game with random people. Some people take the game a bit too seriously so I want to protect my identity in it. I do not want that someone misuses my ...
15
votes
4answers
3k views
Can I find out which ssh key was used to access an account?
Is it possible to find out which ssh key was used to access an account? I have an account on a server that I let several (trusted!) people have access to via ssh. I'd find it useful to be able to ...
4
votes
3answers
215 views
login and su internals
I am trying to understand how user permissions work in Linux. The kernel boots and starts init as root, right? Init then runs startup scripts and runs getty (agetty), again as root. Agetty just reads ...
4
votes
1answer
372 views
Custom PAM modules and security considerations
I am writing my own PAM module that will be part of an application that I am developing, but I'm not sure exactly where to put it. My module basically does network-level authentication (with other ...
1
vote
1answer
2k views
How to setup proxy authentication in the Debian shell?
I think that once I used
export http_proxy=http://user:password@address:port/
successfully. But now when I use wget it shows
Error parsing proxy URL http://user:passwordaddress:port/: Bad port ...
10
votes
3answers
806 views
How can I lock my own account from remote ssh login with password?
I don't want to disable remote login with password altogether, but I want to make it so that my account is only accessible with key pair authentication (there are other users who wants to use ...
1
vote
1answer
149 views
Setting up Samba to use AD server for authentication?
I am looking for howtos or instructions on setting up Samba to use an AD server for authentication instead of using a Samba password file. Pointers to documentation helpful, especially the right ...
1
vote
2answers
689 views
setting up ssh public key
Okay, so I'm trying to setup a login for logging in with ssh, using a public key.
First, I am using puttygen to generate a rsa-ssh2 public key using a passphrase. I followed the directions and ...
4
votes
3answers
3k views
ssh remote server on some port other than 22 without password
I am usually connecting to the remote server with
ssh user@server.com -p 11000
and then giving the password each time for user.
How should I avoid entering the password each time I connect ...
4
votes
1answer
586 views
Program to keep track number of login attempts
Is there any way to keep track of number of attempts made by a user to login into his system?
1
vote
2answers
177 views
ssh fails for an unix server due to dual layer of authentication
I have a server which has dual authentication layer. Meaning first a user has to login to the box using his userid and then use a group id to access the development folder (say). Now I have a script ...
7
votes
3answers
1k views
Why does my sudo ask for password only once but evaluate thrice?
$ sudo some_command
Password:
Sorry, try again.
Sorry, try again.
Sorry, try again.
sudo: 3 incorrect password attempts
$
This is what my shell prints when I enter a wrong password to a sudoed ...
5
votes
2answers
3k views
Not able to ssh in to remote machine using shell script in Crontab
Below is the script which i am trying to run, which runs without any issue
for i in `seq 200 2100`
do
usr=(`ssh -t -t -o ConnectTimeout=60 machine$1 finger | tail -1 | awk '{print$1}'`)
echo ...
2
votes
2answers
1k views
How to get hashed password in /etc/shadow using getpwnam()?
Apparently there is a function (getpwnam) that given a username, will return the appropriate entry in /etc/passwd with the other details for that user (shell, uid, gid, etc.).
However, I have no idea ...
1
vote
1answer
7k views
How to enable remote login?
Currently I can only login to my remote linux via the "ubuntu" user account, without a password (via SSH authentication). I have another user configured on the machine, and if I try to login with its ...
5
votes
3answers
1k views
How can I make a user able to log in with ssh keys but not with a password?
I would like to create a user and have no password. As in you cant log in with a password. I want to add keys to its authorized_keys by using root. This is for my automated backup system.
1
vote
2answers
796 views
How to send mail from a remote SMTP host?
I have Postfix suite installed locally on Ubuntu 10.10. I can send/receive mail to my local address, e.g. user@local.com. I'm given credentials to a remote mail server mailbox, e.g. ...
0
votes
1answer
709 views
What strings should I look for in /var/log/auth.log?
I wrote a bash command to scan /var/log/auth.log for messages occurring on the current day indicating unauthorised access. Currently it just fetches messages matching BREAK-IN and unauthorized.
What ...
4
votes
2answers
458 views
How to disable “Shake password dialog when authentication fails” of Gnome Screensaver?
Is there any way to disable the animation which occurs when attempting to unlock gnome Screensaver and failing? Currently the password dialog shakes back and forth and for some reason on some laptops, ...
30
votes
2answers
9k views
Why is there a big delay after entering a wrong password?
I notice a weird (well, according to me) thing about passwords. For example, if I type an incorrect password during login, there will be a few seconds' delay before the system tells me so. When I try ...
4
votes
6answers
797 views
Identity Management with ActiveDirectory
What is the best, or most reliable, way to manage my Unix/Linux user accounts with ActiveDirectory? Or, is this even feasible?