05-11-2011
As i understand, restricted means that the user john from /export/home/john doesn't have access to this file(when i say access this means , doesn't have rights to execute, modify or read the file).
It is possible to be wrong related to the understanding of "restricted file". What do you think about...do you have other opinion about it?
regards,
catalin
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi
I want to know which profile will be called when a user without home directory is created.
When I created a user without home directory(by setting in /etc/default/useradd), the user is able to login directly into the main "/" folder but with only read permissions.
Thanks
naina (3 Replies)
Discussion started by: naina
3 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I am looking for a shell script (or any other way), that puts a user in a home directory jail. So for example, I have a user named richard and I don't want him wandering outside /usr/users/richard. I don't want him to cd to anywhere including cd ..
Somebody said you can do that with... (3 Replies)
Discussion started by: mz043
3 Replies
3. UNIX for Dummies Questions & Answers
I'm using HPUX 11i. The other day a user logon to the workstation and was not able to find the /home/directory (tom is the directory) I login myself and it is the same thing.
The home directory is on the server, so I was thinking of using sam to map it again. does anyone know how to do it... (5 Replies)
Discussion started by: blizzgamer
5 Replies
4. Solaris
How to find al the user's home directories? (2 Replies)
Discussion started by: a2156z
2 Replies
5. Solaris
Hi Guys,
I have a problem with configuring a server. this is a solaris 10 with sparc platform.
I have setup so that the server is Authenticating through NIS but I dont want the server to Mount the Home directories. The users need to logged in through the CDE/display.
I have over 200 users... (2 Replies)
Discussion started by: Luky
2 Replies
6. Solaris
# ls -l
total 10
-rw-r--r-- 1 dummy2 other 140 Jun 19 21:37 local.cshrc
-rw-r--r-- 1 dummy2 other 136 Jun 19 21:37 local.cshrc~
-rw-r--r-- 1 dummy2 other 157 Jun 19 21:37 local.login
-rw-r--r-- 1 dummy2 other 178 Jun 19 21:37 local.profile... (6 Replies)
Discussion started by: chidori
6 Replies
7. AIX
Hello,
I must close ssh users to the home directory.
It means the users musn't see anything inside their home directory.
For example after login to the os and type this command "cd .."
or "cd /" it musn't work.
How can I implement it?
(Probably chroot or rootsh but how?) (1 Reply)
Discussion started by: jeszi
1 Replies
8. Emergency UNIX and Linux Support
Hi all,
So I have created two Centos machines. One is configured as a NIS master and the second is a NIS cleint. The NIS configs are all working perfectly.
I created a user nisuser on NIS Master and I can use it on the client. BUT it doesnt show a home directory . Ive been told there is... (9 Replies)
Discussion started by: Junaid Subhani
9 Replies
9. UNIX for Advanced & Expert Users
Hi,
I have created a shared directory on /home, where all users on a certain group have read, write and execute permissions.
I did this using
chmod -R g+rwx /home/shared/
The problem is, when a particular user creates a directory within /home/shared, other users are not able to write to... (8 Replies)
Discussion started by: lost.identity
8 Replies
10. HP-UX
Hi
I need to set $HISTFILE for a user with no home directory. How to go about it because this user does not have a .profilefile. (5 Replies)
Discussion started by: fretagi
5 Replies
LEARN ABOUT OSF1
removeuser
removeuser(8) System Manager's Manual removeuser(8)
NAME
removeuser - Deletes user accounts interactively
SYNOPSIS
/usr/sbin/removeuser
DESCRIPTION
Security Note
If you have enhanced security installed on your system, you should use the dxaccounts command to remove users. See the Security manual and
the dxaccounts(8) reference page for more information.
The removeuser command is an interactive command for deleting user accounts from your system. It also gives the option of deleting the
user's home directory, files and mail. The command prompts you for specific information and informs you of its activity and error condi-
tions.
The removeuser command invokes /usr/sbin/userdel to delete the user account information from /etc/passwd and the hashed password database
(if present).
Only the superuser can execute this command.
The command performs the following tasks: Asks for a login name for the user to be deleted. Enter the login name. If this entry does not
exist in the /etc/passwd file, the command informs you of this and exits. If the entry does exist, the command continues. Displays the
entry for the user from the /etc/passwd file and asks if this is the entry you want to delete. If the answer to this query is no, the com-
mand indicates that the user was not deleted and then exits. If the answer to this query is yes, the command deletes the user's entry from
the /etc/passwd file and any occurrences of the user from the /etc/group file. It then states that the user was deleted. Searches several
administrative directories and files for occurrences of the user and informs you if they exist. If so, it suggests that you may want to
delete these occurrences when the command is finished. If no occurrences of the user are found in these directories and files, the command
indicates so. Asks if you want to delete the home directory, all subdirectories, and all mail files for the user. If the answer to this
query is no, the command indicates that the user's home directory was not deleted and then exits. If the answer to this query is yes, the
command continues.
As a precaution, the command reminds you that you should have backed up the files for the user before removing them if you do not
want to lose them. It then asks if you are sure that you want to delete the files for this user. If the answer to this query is
no, the command indicates that the user's home directory was not deleted and then exits. If the answer to this query is yes, the
command states that it is removing the user's home directory, its contents and the user's mail file. It then deletes these items.
At this point, the command ends.
NOTES
Users are advised to migrate to the /usr/sbin/userdel utility or the dxaccounts utility as this command may be removed in a future version
of the operating system.
EXAMPLES
Enter a login name to be removed or <Return> to exit: john This is the entry for (john) in the /etc/passwd file:
john:VSh6/xbMqPDcY:5006:15:sdf:/usr/users/john:
Is this the entry you want to delete (y/n)? y Working ... Entry for (john) removed. Searching relevant directories and files for (john)
... None found. Do you want to remove the home directory, all subdirectories, files, and mail for (john) (y/n)? y The files for (john)
will be lost if not backed up. Are you sure you want to remove these files (y/n)? y Deleting /usr/users/john Deleting
/usr/spool/mail/john
FILES
Specifies the command path Group file Password file
SEE ALSO
Commands: addgroup(8), adduser(8), dxaccounts(8), finger(1), mkpasswd(8), passwd(1), useradd(8), userdel(8), vipw(8)
Files: group(4), passwd(4)
removeuser(8)