The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
659 views

ssh login with mail address

I have an Ldap Server configured an running and another server listen to this users database. (Ldap client) I need to force users login on ssh with user as email (dc: mail=myself@anymail.com) ...
1
vote
2answers
427 views

How can I avoid hard-coding YubiKey user identities into the PAM stack?

The Yubico PAM Module seems to require changes to the PAM stack for each user that will be authenticated with a YubiKey. Specifically, it seems that each user's client identity must be added to the ...
0
votes
0answers
54 views

Switching user in openssh using PAM

I'm trying to write a PAModule which will use compare the inserted username against a file. If the username exists in the file, it will change the username to root (since the username does not really ...
4
votes
2answers
3k views

How do I permanently delete /var/log/lastlog?

My /var/log/lastlog file is huge. I know it's really only a few kilobytes, but tar isn't smart enough to know that, so when I image a virtual machine, my restore fails because it thinks I'm trying to ...
1
vote
1answer
872 views

Use user-installed shell? [duplicate]

How do I change my shell to one installed in my home directory? I installed a new zsh in my home directory, which is picked up: >> which zsh >> /home/myname/bin/zsh It's not listed in ...
3
votes
3answers
7k views

Why won't vsftpd let me log in with a virtual user account?

I would like to use vsftpd with virtual users and pam_pwdfile.so. I installed vsftpd and added two users (ramon and dragon) via htpasswd to my file /etc/vsftpd.passwd. The /etc/pam.d/vsftpd is ...
3
votes
1answer
633 views

limits.conf ulimits not being applied to chrooted processes

We allow users to execute scripts on our servers. Our security model involves chrooting them. We want to be able to apply ulimit restrictions to them, and the best way to do it would seem to be in ...
2
votes
1answer
5k views

How can i block su access to some users only in linux

I want to configure pam in a way so that my some users can su to only some user. In RHEL4, I used /etc/pam.d/su auth required /lib/security/$ISA/pam_stack.so service=system-auth auth ...
0
votes
2answers
1k views

authenticating linux client with active directory

I am attempting to setup a linux client to authenticate with active directory. I tried following this article, but have had no luck authenticating: ...
1
vote
0answers
180 views

Single sign on with remote SSH server

Is it possible to authorize user based on provided login and password by connecting to remote SSH server? If connection is successfully established and login-password pair is logged on the remote ...
0
votes
1answer
837 views

Using pam_exec.so for openvpn authentication

I've set up a PAM authentication config for OpenVPN. auth required pam_exec.so debug expose_authtok /opt/openvpn/bin/pamauth The script pamauth returns 0 on success. I verify this is true by also ...
1
vote
2answers
2k views

pam mount - my password prompt now says pam_mount password:

I am using pam_mount to mount users' home directory upon successfully logging into the system. It works; however, the password prompt says: pam_mount password: Instead of just: password: How can ...
4
votes
2answers
8k views

/etc/security/limits.conf for setting program limits in Linux

I have the following inside /etc/security/limits.conf (I have specified root separately because * will not include it.) user2 - core unlimited * - core 0 root ...
2
votes
2answers
865 views

Linux (Ubuntu) USB Auth

I want to be able to authenticate with PAM using a USB drive with a file on it. I've read about how to do this with a PAM module that reads the specific USB hardware ID of a device, but if the device ...
1
vote
2answers
1k views

GPG smartcards handling 4096-bit keys

are there smartcards that handle 4096-bit keys supported both by GPG and Enigmail (PAM would be additional benefit)? Preferably on USB.
2
votes
2answers
1k views

how to allow a certain group of useres to only login via LDAP while others can use LDAP or local login?

I managed to set up my system to use either LDAP or the local password (by adding "password sufficient pam_ldap.so" to PAM and calling "pam_unix2.so" afterwards). However I would like to restrict a ...
0
votes
1answer
831 views

Tweaking linux console: 1) display password 2) set background color

I want to alter background color since very first lines of kernel output, remember that there was an ability to change colors with echo'ing some special character, but waiting for /etc/init.d/* is too ...