Sponsored Content
Full Discussion: Help with su
Top Forums UNIX for Advanced & Expert Users Help with su Post 302291737 by Corona688 on Thursday 26th of February 2009 09:07:26 AM
Old 02-26-2009
It is very difficult to redirect a password into su and this is intentional. Storing passwords and automatically logging into accounts is very dangerous and often a bad idea.

sudo can be configured to login without passwords, it is very flexible; but be careful to only give such permissions in a very limited and specific way.
 
ncsa_auth(8)						      System Manager's Manual						      ncsa_auth(8)

NAME
ncsa_auth - NCSA httpd-style password file authentication helper for Squid SYNOPSIS
ncsa_auth passwdfile DESCRIPTION
ncsa_auth allows Squid to read and authenticate user and password information from an NCSA/Apache httpd-style password file when using basic HTTP authentication. The only parameter is the password file. It must have permissions to be read by the user that Squid is running as (cache_effective_user in squid.conf). This password file can be manipulated using htpasswd. * MD5 - with optional salt and magic strings * DES - for passwords 8 characters or less in length OPTIONS
Only specify the password file name. EXAMPLE
ncsa_auth /etc/squid/squid.pass SECURITY
ncsa_auth must have access to the password file to be executed. KNOWN ISSUES
DES functionality (used by htpasswd by default) silently truncates passwords to 8 characters. Allowing login with password values shorter than the one desired. This authenticator will reject login with long passwords when using DES. SEE ALSO
htpasswd(1), squid(8) AUTHOR
Manpage written by Rodrigo Rubira Branco <rrbranco@br.ibm.com> Squid NCSA Auth helper May 16, 2006 ncsa_auth(8)
All times are GMT -4. The time now is 06:35 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy