Creating USERs with restricted Access


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Creating USERs with restricted Access
# 1  
Old 05-02-2008
Creating USERs with restricted Access

Hi There,
i need to creat USERS in UNIX with restricted access to different directories.

for example
user1 should have access to dir1 and dir2
user2 should have access to dir2 and dir3

Please help me
# 2  
Old 05-02-2008
i) Do your homework alone
ii) just googeling your question brings a million pages explaining exactly that homework
iii) even in here's FAQ subforum you'll find a comprehensive guide on that topic
# 3  
Old 05-02-2008
play with acls.
# 4  
Old 05-02-2008
Buddy,

In Unix, the users have been characterised into three groups:
Owner (you)
Group (a group of other users that you set up)
World (anyone else browsing around on the file system)

So you can put the users according to your conditions. Once this is done then u can provide permissions to those groups as a whole which will equally be applied on the users inside it.

This is the only way. We can't give permissions to users individually.
# 5  
Old 05-06-2008
Quote:
Originally Posted by Vicky Narayan
Buddy,

In Unix, the users have been characterised into three groups:
Owner (you)
Group (a group of other users that you set up)
World (anyone else browsing around on the file system)

So you can put the users according to your conditions. Once this is done then u can provide permissions to those groups as a whole which will equally be applied on the users inside it.

This is the only way. We can't give permissions to users individually.
This is incorrect. You can give permissions to users or groups with ACLs if your UNIX system supports it.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Programming

Creating a bash based restricted shell

Hello. I need to write a command line interface that can be invoked either directly from the shell (command sub-command arguments), or as a shell that can process sub-commands. i want to use bash auto completion for both scenarios. example: lets say my CLI module is called 'mycli' and there... (5 Replies)
Discussion started by: noamr
5 Replies

2. Ubuntu

Restricted access possibilities

Hi, I have given a laptop from company with Ubuntu 10.04 on it. I have restricted access over it, means I have been given sudo login on it. SO I am unable to so many major activities over it, Can you all people tell me the Terminal tricks that I can use to get my hands on it. (1 Reply)
Discussion started by: nixhead
1 Replies

3. AIX

A user with restricted ftp access to a folder

Hi, We have Oracle Database on AIX 5.3 server.We want to give ftp access to a user to a specific folder.He should be able to put and get files from that specific folder only.Moreover he should not be able to cd to any other filesystems also along with root directory. Please note that as per... (1 Reply)
Discussion started by: dwiravi
1 Replies

4. UNIX for Dummies Questions & Answers

/etc/sudoers - Restricted Access

Hi Expert, I have 2 questions. Scenario: Users login via ssh from other location, using putty. or any other equivalent ssh tunnel. All users has been assigned as sudoers due to testing environment. 1. How to disable sudoers from editing /etc/sudoers e.g $ sudo vi /etc/sudoers 2.... (3 Replies)
Discussion started by: regmaster
3 Replies

5. HP-UX

how to view restricted sam access

Hello everybody, i need to check which users have resticted sam access..can anybody please let me know how to check this..? Thanks in advance.. (4 Replies)
Discussion started by: laxmikant
4 Replies

6. Shell Programming and Scripting

To provide restricted access to certain user's on linux box

Hi, I need to provide execute access to certain users and not to all users For ex: if ther is a file /home/august/aug.sh. and there are user's like jan,feb,mar,april,May and jan is the owner of that box. I need to provide execute access to feb and mar only. I also know the root pwd for... (3 Replies)
Discussion started by: Ashok_oct22
3 Replies

7. UNIX for Dummies Questions & Answers

Local web cache for restricted users question

I am in charge of a project to teach 20 or so inmates basic computer skills. These people cannot have outside access to the web, but I need to show them how to do a basic Google search and search for articles on Wikipedia. (also needs to be Arabic and English) I was thinking of using a squid... (0 Replies)
Discussion started by: brazen1445
0 Replies

8. UNIX for Dummies Questions & Answers

replicating restricted sam users

I'm in the process of setting up two new HP-UX 11.23 i64 servers. On my existing server (HP-UX B.11.0) we have several users defined to have restricted sam access. I'm having trouble finding those definitions and copying them over to the new servers. Is this possible - to just copy over the... (1 Reply)
Discussion started by: LisaS
1 Replies

9. Linux

Can Telnet in Linux 8.0 be restricted for users

Hi, I want to create a user and allow its to be able to have telnet session like what you have in the ftp allow and deny. Is this possible Thanx. (3 Replies)
Discussion started by: kayode
3 Replies

10. UNIX for Dummies Questions & Answers

Restricted SSH Access

OS: FreeBSD 4.9-RELEASE I have ssh up and running. However, I need to restrict users to their home directory and to links withing those directories (i.e. htdocs/mysite and mysql/var). Is this possible? Any Suggestions? Thanks In advance. (2 Replies)
Discussion started by: ezekiel61
2 Replies
Login or Register to Ask a Question