Sponsored Content
Full Discussion: New user and restrict path
Operating Systems AIX New user and restrict path Post 302276703 by lo-lp-kl on Wednesday 14th of January 2009 12:05:32 PM
Old 01-14-2009
New user and restrict path

Hello

I have a question in Aix 5.3 can I create a user, that only can see a specify path.

I mean the user log in the default path its /home/newuser he type cd the path that need to check /example/directory_check but if he wants to go to / or any other path. we can not do this.

I only want that the user can move into this two path. or if there is a problem then can only see one path and only one.

I think that maybe in smitty user could be something to restrict but no

Thanks for your tips
 

10 More Discussions You Might Find Interesting

1. Solaris

restrict a user to certain command

Hi all, I am using Sun OS 5.10. I am new to Unix. Is there some way to restrict a specific user to certain command say "/usr/bin/more" ?? for example: I want that user1 can execute more command & user2 can't. Can we somehow edit .profile file in the home directory of user to achieve... (1 Reply)
Discussion started by: vikas027
1 Replies

2. Red Hat

restrict access of a user to two directories only

Hi all, I am using RHEL 5.0 I need a user say test to have full access to two directories, say /tmp1 & /tmp2 only other than his home directory. I do not want to change his login shell which is ksh or bash by default. Moreover, he should not even have read access of other directories. ... (10 Replies)
Discussion started by: vikas027
10 Replies

3. Shell Programming and Scripting

Executing Commands From Non-Standard Path (Changing user's PATH secretely???)

Hi: I have a requirement as below: I have some standard Unix commands modified and kept them in a directory say /usr/clsh/bin. For example I have a script named "ls" kept here which is modified version of "ls" (say it always gives long listing i.e. ls -l). When any user logs on and types... (2 Replies)
Discussion started by: ramesh_samane
2 Replies

4. UNIX for Dummies Questions & Answers

Restrict command for an user ?

Hi everyone ! I got "viewer" and "root" user on a *nix computer. When i log in using "viewer" I only can use "df" command. When I try another command like "ls" it say : -bash: ls: command not found I checked permission of "/bin/ls" file, it has excute permission for everyone. Inside home... (4 Replies)
Discussion started by: camus
4 Replies

5. Red Hat

Restrict user to a particular directory

Hi I have a Fedora10 server and i need a particular user to view files only in a particular folder. All other files in other folders having "read" permission for all shouldn't be accessible to this user. Please let me know if ther's a way. Thanks, HG (5 Replies)
Discussion started by: Hari_Ganesh
5 Replies

6. UNIX for Dummies Questions & Answers

Restrict user access.

Hi All, How can we restrict a particular user access to a particular shell in solaris 10. Thanks in Advance. (5 Replies)
Discussion started by: rama krishna
5 Replies

7. Red Hat

Restrict user access

Hi there I have an application user on my system that wants accesses to these file systems as such: rwx: /SAPO /SAPS12 /R3_888 /R3_888B /R3_888F /R3_888R r: /usr/sap these are the existing FS permissions:ownerships: # ls -ld /SAPO (9 Replies)
Discussion started by: hedkandi
9 Replies

8. AIX

How to restrict user to a particular directory?

hi, I want to restrict some user access to only 1 directory (including all sub-directories/files in it). can you please explain me, how can we do this? example; Filesystem GB blocks Used Free %Used Mounted on /dev/hd4 2.61 1.02 1.59 40% / /dev/hd2 ... (7 Replies)
Discussion started by: aaron8667
7 Replies

9. UNIX for Dummies Questions & Answers

Restrict a user from Executing particular command

hi how to restrict a user ro run rm command. In this scenario we have a user/group has below in sudoers user ALL=(ALL) ALLis there a way to restrict the user from just executing rm command (9 Replies)
Discussion started by: robo
9 Replies

10. HP-UX

Restrict ssh for particular user

Dear Concern, We want to restrict ssh for particular user "oracle". Our HP UX version is as below. Please advise. # uname -a HP-UX tabsdb02 B.11.31 U ia64 2963363594 unlimited-user license (2 Replies)
Discussion started by: makauser
2 Replies
GFUSER(1)																 GFUSER(1)

NAME
gfuser - Gfarm user maintenance command SYNOPSIS
gfuser [ -P path ] [ -l ] [ user ... ] gfuser [ -P path ] -c username realname homedir gsi_dn gfuser [ -P path ] -m username realname homedir gsi_dn gfuser [ -P path ] -d username DESCRIPTION
gfuser manages Gfarm global users in Gfarm file system. Default action displays all registered users. When user names are specified, specified users are displayed. Gfarm administrator can creates, modifies, and deletes a Gfarm user by -c, -m, and -d options, respec- tively. OPTIONS
-P path This option specifies a pathname or a Gfarm URL to identify a metadata server which will be accessed by this command. If not speci- fied, "/" is used as the default value. -l Displays verbose information of registered users. -c Creates a user by specifying a global username in Gfarm file system, a real username, a home directory in Gfarm, and a Subject DN used in GSI. When the real username or the Subject DN includes spaces, it is needed to be quoted. This option can be used by Gfarm administrators. -m Replaces a user information of the specified global user with specified real name, home directory and Subject DN. This option can be used by Gfarm administrators. -d Deletes a registered user. This option can be used by Gfarm administrators. -? Displays a list of command options. SEE ALSO
gfgroup(1) Gfarm 20 January 2010 GFUSER(1)
All times are GMT -4. The time now is 06:42 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy