![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Can't create users in /home | sdspawankumar | SUN Solaris | 4 | 2 Weeks Ago 08:13 AM |
| Home Directory Jail for Users | mz043 | UNIX for Dummies Questions & Answers | 3 | 04-18-2007 10:14 AM |
| Home dir for users | qfwfq | HP-UX | 2 | 01-12-2007 10:18 AM |
| Monitor which users enter my home directory | mnpradeep | High Level Programming | 1 | 03-21-2002 01:08 AM |
| Restrict users to ther home directory | alfabetman | UNIX for Dummies Questions & Answers | 1 | 10-04-2001 11:31 AM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Profiles for users without home directory
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 |
| Forum Sponsor | ||
|
|
|
|||
|
There are 2 kind of profile file. The first one is the /etc/profile file that is common to all users. The second one is the /home/user/.profile file. That one is executed for that particular user. The home directory could be one of your choices. Let's say you decide that all users have the same home directory, let's say /home/users/, then you will have to modified the /etc/passwd file and also modify permissions on files too to suite your need. You will then edit /home/users/.profile file and fill it with your code.
Note: I don't suggest a common home directory for all users. Last edited by qfwfq; 02-01-2006 at 12:34 PM. |
|
|||
|
I don't want to create home directories for any of the users, actually I am creating users to access CVS(Version Control Tool) for which there is no need of home directory. So in this case when I created a User without home directory, still the user is able to login using the user-id provided for CVS (Only Read Permission)
|