Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Granting user permission for public_html Post 302462888 by vbe on Friday 15th of October 2010 08:55:42 AM
Old 10-15-2010
On what OS are you?
I would not create users on a box just so they can access by http...

What http server are you using?
For instance, apache has htpasswd utility to create accounts to access http server ( and so there is no need to have unix accounts created...)
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

find a file or directory under public_html

Hi there, I have a quick question about the UNIX command find, if you can help me I will appreciate it... I am trying tho find a file which is under my 'public_html' directory. As I know, I am making the command > find ~ -name filename(or directory name) to find the file or directory... (4 Replies)
Discussion started by: milhan
4 Replies

2. UNIX for Dummies Questions & Answers

Granting User Access

I have two users, user1 and defaultuser. Whenever i logon to my unix session from a remote machine i log into defaultuser. Inside this "defaultuser" i have some setup files that i need to run from the other user that i have created myself i.e. "user1". The problem is even granting the ownership of... (3 Replies)
Discussion started by: awaismalik82
3 Replies

3. Shell Programming and Scripting

help with user permission

hi everyone. iīve been burning my head for a week now with this problem and i couldnīt find a solution. iīve been looking for an answer in this forum but nothing either. so i decided to ask. the thing is, i want to create a users with permission to kill just a group of users. i know how to write... (6 Replies)
Discussion started by: lucasmarin
6 Replies

4. UNIX for Dummies Questions & Answers

chmod for public_html ?

Hello! My web host has the public_html permission on my account set to 750. 1. Does this setting permit the world to use my submission forms (contained within contact.html and purchase_order.html)? 2. The "0" entry looks like it blocks the public from conducting all activity on my site.... (6 Replies)
Discussion started by: Texan
6 Replies

5. UNIX for Dummies Questions & Answers

User permission

Hi all, I created testuser. by following command. /usr/sbin/adduser -n test -d /disk05/collections/GET/testdata/ and then set its password by following command. passwd testuser When I login to system by testuser, it enters everything is ok. The problem is how to set permission to this... (3 Replies)
Discussion started by: mr_bold
3 Replies

6. AIX

Granting folder access

Hello, I need to allow a user the ability to create files in a directory that is owned by another user/group. How can I do this? Thank you. AIX version: 5.3.0.0 ~David (4 Replies)
Discussion started by: dkranes
4 Replies

7. UNIX for Dummies Questions & Answers

granting permission to file/directory to a specific user

hello, I would like to grant full access to a directory which is owned by root and the web application that created it. I have though of adding the permission to the whole world, but for security reason I would like to grant it to one more user. I have tried this 'chmod -U newUser+wrx... (2 Replies)
Discussion started by: run123
2 Replies

8. Web Development

$_SERVER['DOCUMENT_ROOT'] directs to /var/www not ~/public_html

Hi all, Exactly like my title says. I am learning PHP and MySQL and I used to use /var/www/ to host (contain or store) my files (.htm/.php) for testing. I could configure, finally, apache2 to use ~/public_html instead. Now I when I tried to use $_SERVER it still directs (I used echo to show... (7 Replies)
Discussion started by: faizlo
7 Replies

9. UNIX for Advanced & Expert Users

Granting access to specific user on a 700 file

Hello, I have a a directory dir1 with permissions 700 (yes wantedly) and is owned by user1:group1 rwx------ user1 group1 dir1I need to give permissions to user2 (belongs to group2) on dir1 and its files, so I granted the permissions using setfacl ; instead of adding the user to groups and... (3 Replies)
Discussion started by: karumudi7
3 Replies
DACSINFOCARD(1) 					       DACS Commands Manual						   DACSINFOCARD(1)

NAME
dacsinfocard - manage InfoCard accounts SYNOPSIS
dacsinfocard [dacsoptions[1]] DESCRIPTION
This program is part of the DACS suite. The dacsinfocard command manages accounts that are used by the local_infocard_authenticate[2] authentication module. This utility serves a similar purpose for these authentication modules that the dacspasswd(1)[3] command does for its local_passwd_authenticate[4] module. Apart from their use by local_infocard_authenticate, these accounts are completely separate from any other accounts. Security The digest algorithm used depends on the INFOCARD_DIGEST[5] directive in effect. Plaintext PPIDs are not stored. This makes it more difficult for an attacker that gains access to the InfoCard account file to discover PPIDs. Only a DACS administrator should be able to successfully run this program from the command line. Because DACS keys and configuration files, including the file used to store accounts, must be restricted to an administrator, this will normally be the case, but a careful administrator will set file permissions to deny access to all other users. An ordinary user is able to change his own InfoCard registration using the dacs_infocard(8)[6] web service. This program is also available as a DACS web service, dacs_infocard(8)[6]. OPTIONS
The dacsinfocard command recognizes these command line flags: EXAMPLES
To list all of the InfoCard accounts configured for the jurisdiction named INFOCARDS: % dacsinfocard -uj INFOCARDS -list DSS::INFOCARDS:bob managed,istatic,enabled,passwd DSS::INFOCARDS:alice managed,istatic,disabled,passwd To re-enable the alice account: % dacsinfocard -uj INFOCARDS -ena alice To test if alice's account is enabled: % dacsinfocard -uj INFOCARDS -test ena alice % echo $status 0 To test if there are accounts for usernames bob and carol: % dacsinfocard -uj INFOCARDS -test exists carol % echo $status 0 % dacsinfocard -uj INFOCARDS -test exists bob % echo $status 1 To get the private data for username bob: % set x=`dacsinfocard -uj INFOCARDS -pdg bob` % echo "$x" On vacation DIAGNOSTICS
The program exits 0 if everything was fine, and non-zero otherwise. A "false" outcome from the -test operation is reflected by an exit status of 1. An error condition is indicated by an exit status of 2. BUGS
As this is a relatively new and complicated feature, please test carefully. SEE ALSO
dacs_infocard(8)[6], dacsauth(1)[7], dacs_authenticate(8)[8], dacs_admin(8)[9], dacs.conf(5)[10], Using InfoCards With DACS[11] AUTHOR
Distributed Systems Software (www.dss.ca[12]) COPYING
Copyright2003-2012 Distributed Systems Software. See the LICENSE[13] file that accompanies the distribution for licensing information. NOTES
1. dacsoptions http://dacs.dss.ca/man/dacs.1.html#dacsoptions 2. local_infocard_authenticate http://dacs.dss.ca/man/dacs_authenticate.8.html#local_infocard_authenticate 3. dacspasswd(1) http://dacs.dss.ca/man/dacspasswd.1.html 4. local_passwd_authenticate http://dacs.dss.ca/man/dacs_authenticate.8.html#local_passwd_authenticate 5. INFOCARD_DIGEST http://dacs.dss.ca/man/dacs.conf.5.html#INFOCARD_DIGEST 6. dacs_infocard(8) http://dacs.dss.ca/man/dacs_infocard.8.html 7. dacsauth(1) http://dacs.dss.ca/man/dacsauth.1.html 8. dacs_authenticate(8) http://dacs.dss.ca/man/dacs_authenticate.8.html 9. dacs_admin(8) http://dacs.dss.ca/man/dacs_admin.8.html 10. dacs.conf(5) http://dacs.dss.ca/man/dacs.conf.5.html 11. Using InfoCards With DACS http://dacs.dss.ca/man/using-infocards-with-dacs.html 12. www.dss.ca http://www.dss.ca 13. LICENSE http://dacs.dss.ca/man/../misc/LICENSE DACS 1.4.27b 10/22/2012 DACSINFOCARD(1)
All times are GMT -4. The time now is 09:08 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy