Operating System - HP-UX
1826215 Members
2879 Online
109691 Solutions
New Discussion

Create a user with limited priveleg

 
nightwich
Valued Contributor

Create a user with limited priveleg

HI gurus

I Have the following situation.

ls -al /xpt/data
drwxr-xr-x 14 ixn teste 512 Mar 27 10:13 /xpt/data

ls -ald /xpt
drwxrwxr-x 19 ixn teste 1024 Apr 8 12:56 /xpt

I can't change the owner or group of the directorys.
And i need to create a user that have only permissions to read and execute teh directory /xpt/data. He can't see anything else

Can you have any idea.
Any help would be aprecieted.

Regards
Angelo Sousa.
6 REPLIES 6
Dennis Handly
Acclaimed Contributor

Re: Create a user with limited priveleg

Jeeshan
Honored Contributor

Re: Create a user with limited priveleg

Hi Angelo

>>...... I can't change the owner or group of the directorys

From which user you want to change the permissions of the directories?

If you are not member of that goup or superuser you can't mpodify the permissions.

>>And i need to create a user that have only permissions to read and execute teh directory /xpt/data

try with ACL
a warrior never quits
Yogeeraj_1
Honored Contributor

Re: Create a user with limited priveleg

hi angelo,

see also:
http://docs.hp.com/en/5992-2146/ch09s05.html


kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Aashique
Honored Contributor

Re: Create a user with limited priveleg

Hi,
your question is little bit confusing.

already the directrory /xpt/data have permission for any other user can read and execute.

drwxr-xr-x 14 ixn teste 512 Mar 27 10:13 /xpt/data

So, which thing you want post clearly.

Thanks & Regards

Aashique
nightwich
Valued Contributor

Re: Create a user with limited priveleg

My problem is that i wan't that the user can only access and see only the directory and sub-directorys /xpt/data/*.

I already solve my problem, I configure a ftp group in file /etc/ftpd/ftpacess and a user that belong to that especifique group.

The user acount should be something like this:

guest1:x:100:92:Guest FTP:/export/home/guests/./guest1:/bin/true

Regards;
Thanks for the posts.
nightwich
Valued Contributor

Re: Create a user with limited priveleg

Thanks one more time, see you soon

Regards
Angelo