User permission


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers User permission
# 1  
Old 04-06-2007
User permission

Hi all,

I created testuser. by following command.
Code:
/usr/sbin/adduser -n test -d /disk05/collections/GET/testdata/

and then set its password by following command.
Code:
passwd testuser

When I login to system by testuser, it enters everything is ok.
The problem is how to set permission to this user not do anything out of its home directory. it is /disk05/collections/GET/testdata/
How can I do this permission?

Thank you
# 2  
Old 04-06-2007
Please check if this solution will be good for you.
# 3  
Old 08-05-2008
solution

hi

is any one can help me in this issue. i also want to know it

Quote:
Originally Posted by mr_bold
Hi all,

I created testuser. by following command.
Code:
/usr/sbin/adduser -n test -d /disk05/collections/GET/testdata/

and then set its password by following command.
Code:
passwd testuser

When I login to system by testuser, it enters everything is ok.
The problem is how to set permission to this user not do anything out of its home directory. it is /disk05/collections/GET/testdata/
How can I do this permission?

Thank you
# 4  
Old 08-05-2008
biswagit, please check the solution given by "sysgate". Its again depend on your requirements. If you want your user to be restricted to system file system then chroot jail is the only option.

- nilesh
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Setting write permission for particular user

Hi All, We have a scenario in production where we want only one user from a group to modify the file. The file is not set to write permission for application manager. -r--r--r-- 1 amgr u00 15661716 Aug 30 00:06 DCI.dat So here amgr will have permission to edit the file. We want a... (10 Replies)
Discussion started by: arunkumar_mca
10 Replies

2. Red Hat

User permission access

Hi folks, I am trying to grant the access like below items using the setfacl command, but i couldn't achieve as what I required. any other possibility. username : testing Readonly access in /form_dl/system/prd/logs Write only access in /form_dl/system/prd/deploy No access to other... (0 Replies)
Discussion started by: gsiva
0 Replies

3. UNIX for Dummies Questions & Answers

Special Permission for a user

Hi, I'm newbie to unix. There is a directory, say Testing/ under /home/user1. I have created a user by the name check. I was looking for a way to give the above user read & execute access only to this directory Testing/ while for other remaining files,directories,etc this user... (2 Replies)
Discussion started by: penqueen
2 Replies

4. Shell Programming and Scripting

Need help with user rights (Permission denied)

I have a script that do read data for Munin Graph. My problem is that it have some reading problems, and I do not know how to fix it. script traf.sh (its not the complete script)#!/bin/sh PORT="80" NETDEVICE="eth0" IPTRAFlogdir="/var/log/iptraf" ... (8 Replies)
Discussion started by: Jotne
8 Replies

5. Solaris

User want to full root permission

hi guys.. how to give root permission for particular user tel me step by step (2 Replies)
Discussion started by: coolboys
2 Replies

6. UNIX for Dummies Questions & Answers

Granting user permission for public_html

I have problem giving user access to his public_html directory. While when I am logged as root I can access my files by going to www.myserver.com/file.htmlwhere file.html is actually on this path... var/www/file.htmlBut when user tries to access his file.html on this path.... ~user/file.html it... (10 Replies)
Discussion started by: joker40
10 Replies

7. AIX

Permission to a external user to a file

Is there any possible way to give permission to a user to a file whose not a member of that group. Also the permission of the file shouls be given only to that USER but not all OTHERS. Thanks in Advance for ur replies/suggestions... (5 Replies)
Discussion started by: ksailesh
5 Replies

8. Shell Programming and Scripting

start a program with other user's permission

I have some of programs in unix system which are to started with one_user say "xxxx". I have sudo permission if i start these programs with sudo it shows root permission. But i want these programs permession should be "xxxx". I tried "su user_name -c Program_name" but it is not... (3 Replies)
Discussion started by: srikanthus2002
3 Replies

9. 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

10. UNIX for Dummies Questions & Answers

How to give permission for a specified user

Hi All, How can i give permission for a specific user ( eg. admin ) ? I tried with chmod admin+r prog.sh which doesnt work. Is there any way i can specify a user's name and give the permission? Thanks in advance. Saneesh Joseph. (1 Reply)
Discussion started by: saneeshjose
1 Replies
Login or Register to Ask a Question