[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
Re: Adding user and security?
- Subject: Re: Adding user and security?
- From: V S Ashoka <vsashok@xxxxxxxxxxx>
- Date: Fri, 11 Jun 1999 21:33:25 +0530 (IST)
> What is the best way to add user in Linux with a seperate user home
> directory?
use `linuxconf' This is a configuration facility that works both in shell
as well as X.
> but where are the homepages for this user?
I guess the user has to create homepages in his/her respective directory
/home/xyz
> If the user opens a FTP session, what he gets is the comtent of /home/xyz
> and still he can see the contents of /etc and all other directories.
The default settings of Unix/Linux is that almost all of the system is
accesible for read-only by all users. If I am right (I only use Unix,
never studied about its structure), some of these have to be read-enabled.
A few of them can be disabled by `chmod' option (read the manual - man
chmod) Also use `man ls' to understand the meaning of the listing method
rwxrwx--- etc.
> How can I restrict him to only his directory? Atleast he should not have
> access to the system files.
I guess some system files (like /usr/bin and /usr/passwd) have to be read
by the user's process while running - you just can't cancel this access.
But any user cannot modify these files - only root can.
These are standard Unix features. Perhaps you can look a little more into
them.
Ashok
- --------------------------------------------------------------------
For more information on Linux in India visit http://www.linux-india.org/
Linux India is NOT a forum for Microsoft/India/Pakistan/US/UK bashing.
Flame baits will not be tolerated. If you can appreciate satire read
http://www.templetons.com/brad/emily.html
------------------------------
End of Linux India Digest V1 #39
********************************
--------------------------------------------------------------------
To unsubscribe send an email to majordomo@xxxxxxxxx with the word
'unsubscribe linux-india-digest' (without the quotes) in the body
of the email.