Well yeah, i was told that apache/php runs with my user as a security precaution.
Maybe i din't explained it very well, im not very skilled..
Anyway, from what i understood, such behavior is common practice on shell accounts where multi user environment is in place.
I can't switch to myusername-www, it gives me authentication failure
Could you please elabore on how do i add myself to group with proper permissions?
I need to print to file , a listing of all files below a certain directory.
Example: I need to print to file a listing of all files below the etc dir (including the subdirectories) with their full path. Any ideas on how to do this with one command. Or is this something I need to do on all... (4 Replies)
I am using unix via telnet ssh and i have a problem
I was testing the server.
I made a directory.
Transfered a file from an ftp to it.
Opened the file with the vi text editor
--This where my problem came.....
I tried deleting the file using rm somefile.htm
when is typed ls i noticed that... (2 Replies)
I have unix sco server. I have created one application for client server communication. On this I have creted some fifos/pipes.
The reader.123 fifo is used by one process for reading and writing. I haven't deleted that fifo. But ls or find command doesn't show it. It is giving error as file or... (1 Reply)
I have a directory which is /home/mark/files/ , inside this particular I have a bunch of filles (see examples below)
TST_SHU_00014460_20090302.txt
TST_SHU_00016047_20090302.txt
TST_SHU_00007838_20090303.txt
TST_SHU_00056485_20090303.txt
TST_SHU_00014460_20090303.txt... (2 Replies)
Hey all.. This should be simple but stoopid here can't get head around it! I have many directories, say 100 each with many files inside. I need a script to traverse through the dirs, find most recent file in each dir and add it to a tar file.
I can find the files with something like
for... (1 Reply)
Hi everybody.
I need a command to print the absolute path of files which name starts always with a pattern (MOD03), independently on where they are in the filesystem.
I have tryedls -ld ${INPUTPREFIX}/*/*/* | grep MOD03 | awk '{ print $8 }'but I have to use "/*/*/*" in this case to have the... (5 Replies)
Hi,
I have a script to retrieve data files from server and store them in a directory on local disk. The script runs everyday as cron job. But now those files are too many so my boss wants me to put the files into different directories base on dates.
Those files look like this:
... (4 Replies)
Hi,
I'm writing some start of day checks for my work. I want to check some dirs for files that have been created longer than 10 mins ago and not been transfered. I've already used a find command to write a list of files that meet this criteria to a log called sod.log
i.e. ... (1 Reply)
I am trying to find a way to move files into corresponding date files.
i=0
while read line
do
array="$line"
(( i++ ))
done < <(ls)
cd $(echo ${array})
echo ${array}}
pwd
#cd "$(array}"
] || mkdir 2015
cd "2015"
] || mkdir 02-February
] || mkdir 03-March
] || mkdir... (10 Replies)
Hello,
I need to replace xml version='1.1' with xml version='1.0' in all xml files under /app/jenkins/ in all dir and sub dirs in my CentOS VM, I tried below command but it didn't help, looks like I'm missing a character somewhere.
grep -rl "xml version='1.1'" . | xargs sed -i 's/"xml... (2 Replies)
Discussion started by: mahesh Madpathi
2 Replies
LEARN ABOUT HPUX
pam_authenticate
pam_authenticate(3) Library Functions Manual pam_authenticate(3)NAME
pam_authenticate - perform authentication within the PAM framework
SYNOPSIS
[ flag ... ] file ... [ library ... ]
DESCRIPTION
is called to authenticate the current user. The user is usually required to enter a password or similar authentication token depending
upon the authentication service configured within the system. In the case of smart card authentication this token would be a (Personal
Identification Number). The user in question should have been specified by a prior call to or The following flags may be set in the flags
field:
Authentication service should not generate any messages
The authentication service should return
if the user has a null authentication token
APPLICATION USAGE
Refer to pam(3) for information on thread-safety of PAM interfaces.
NOTES
In the case of authentication failures due to an incorrect username or password, it is the responsibility of the application to retry and
to maintain the retry count. An authentication service module may implement an internal retry count and return an error if the module does
not want the application to retry.
If the PAM framework can not load the authentication module, then it will return This indicates a serious failure and that the application
should not attempt to retry the authentication.
For security reasons, the location of authentication failures is hidden from the user. Thus, if several authentication services are
stacked and a single service fails, requires that the user re-authenticate to all the services.
A null authentication token in the authentication database will result in successful authentication unless was specified. In such cases,
there will not be any prompting for the user to enter an authentication token.
The authentication can be done through a smart card. In this case the user plugs their smart card in the smart card reader and is required
to enter their smart card PIN.
RETURN VALUES
Upon successful completion, is returned. In addition to the error return values described in pam(3), the following values may be returned:
Authentication failure.
Can not access authentication data due to insufficient credentials.
Underlying authentication service can not retrieve authentication information.
User not known to the underlying authentication module.
An authentication service has maintained a retry count which
has been reached. No further retries should be attempted.
SEE ALSO pam(3), pam_start(3), pam_open_session(3), pam_setcred(3).
pam_authenticate(3)