![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | 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 !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Can't create users in /home | sdspawankumar | SUN Solaris | 4 | 08-21-2008 11:13 AM |
| Home Directory Jail for Users | mz043 | UNIX for Dummies Questions & Answers | 3 | 04-18-2007 01:14 PM |
| Home dir for users | qfwfq | HP-UX | 2 | 01-12-2007 02:18 PM |
| Monitor which users enter my home directory | mnpradeep | High Level Programming | 1 | 03-21-2002 05:08 AM |
| Restrict users to ther home directory | alfabetman | UNIX for Dummies Questions & Answers | 1 | 10-04-2001 02:31 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | 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 |
|
||||
|
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 04: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)
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|