05-11-2011
Quote:
Originally Posted by
catalint
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
If it's in a user's home directory, the user pretty much has permissions to do anything they want with it.
IIRC about the only thing a user can't do to finles and directories in a directory the user owns is delete a directory owned by another user that has the setgid-bit set on it.
What problem are you trying to solve?
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 ULTRIX
passwd
passwd(5yp) passwd(5yp)
Name
passwd - password file description with the Yellow Pages service implemented
Description
The file stores initial login information, including passwords for each user in the system. Regardless of whether or not the system has
the Yellow Pages service implemented, the file contains the following information:
Name (login name, contains no uppercase)
Encrypted password
Numerical user ID
Numerical group ID
User's real name, office, extension, home phone.
Initial working directory
Program to use as Shell
The name can contain an ampersand (&), meaning insert the login name. This information is set by the command and used by the command.
This is an ASCII file. Each field within each user's entry is separated from the next by a colon. Each user is separated from the next by
a new line. If the password field is null, no password is demanded; if the shell field is null, the system defaults to the shell.
This file resides in the directory. Because of the encrypted passwords, it can and does have general read permission and can be used, for
example, to map numerical user IDs to names.
Appropriate precautions must be taken to lock the file against simultaneous changes if it is to be edited with a text editor. The command
does the necessary locking.
In a Yellow Pages environment, the file can also have a line beginning with a plus (+), which means to incorporate entries from the Yellow
Pages data base. There are three styles of + entries: by itself, + means to insert the entire contents of the Yellow Pages password file
at that point; +name means to insert the entry (if any) for name from the Yellow Pages at that point; +@name means to insert the entries
for all members of the network group name at that point. If a + entry has a nonnull password, directory, gecos, or shell field, it will
override what is contained in the Yellow Pages. The numerical user ID and group ID fields cannot be overridden.
Examples
Here is a sample file:
root:q.mJzTnu8icF.:0:10:Privileged Account:/:/bin/csh
jcj:6k/7KCFRPNVXg:508:10:JC Javert:/usr2/jcj:/bin/csh
+john:
+@documentation:no-login:
+:::Guest
In this example, there are specific entries for users root and jcj, in case the Yellow Pages are temporarily out of service. Alterna-
tively, a user may need specific login information on a given system that differs from the information contained in the Yellow Pages map
for that user. The user, john, will have his password entry in the Yellow Pages incorporated without change. Anyone in the netgroup docu-
mentation will have their password field disabled, and anyone else will be able to log in with their usual password, shell, and home direc-
tory, but with a gecos field of Guest.
Files
See Also
chfn(1), finger(1), login(1), passwd(1), crypt(3), getpwent(3), group(5), adduser(8), vipw(8)
passwd(5yp)