Re: [newbie] FILE PERMISSIONS!

2000-02-11 Thread R_Yeo

On Fri, 11 Feb 2000, vishal bansal wrote:
 Hi folks;
 
 I am using linux mandrake 6.1. As a user I cannot write to files, but as a 
 root I can. How do I assign permissions for the users to do so?

As a general rule, users are only allowed to write to files within the
$HOME and subdirectories.  This makes good sense from a security point
of view; that is why you seldom see *nix viruses.
To change permissions, "man chmod".  BUT, be aware of the
security implication before going about it blindly.  There are lots of
directories that users SHOULDN'T be allowed write access.  Not only are
there security implications, this should prevent "fingering problems".
Imagine a user issuing "\rm -r *" from /.
End preaching mode.


  
 -Vishal.
 __
 Get Your Private, Free Email at http://www.hotmail.com
--
Ronald



Re: [newbie] FILE PERMISSIONS!

2000-02-11 Thread SPECTRE

use the chmod ??? [filename], or the chown [username] [filename], or chgrp
commands.

--
 From: vishal bansal [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: [newbie] FILE PERMISSIONS!
 Date: 10 February 2000 22:43
 
 Hi folks;
 
 I am using linux mandrake 6.1. As a user I cannot write to files, but as
a 
 root I can. How do I assign permissions for the users to do so?
 
 -Vishal.
 __
 Get Your Private, Free Email at http://www.hotmail.com
 



[newbie] FILE PERMISSIONS!

2000-02-11 Thread vishal bansal

Hi folks;

I am using linux mandrake 6.1. As a user I cannot write to files, but as a 
root I can. How do I assign permissions for the users to do so?

-Vishal.
__
Get Your Private, Free Email at http://www.hotmail.com




Re: [newbie] file permissions and pppd

2000-02-02 Thread Ribbo

On Tue, 01 Feb 2000, Bobby Welch wrote:

 issue the command ./usr/sbin/pppd i get the following error:  ./pppd:
 must be root to run ./pppd, since it
 is not setuid-root.  Now, i have tried giving the user permission to
 execute the pppd command using
 chmod 555 .. but I can still not execute the command as the user.  I
 then tried to create a group by


# chmod +s /usr/sbin/pppd

man chmod




-- 
Rib
[EMAIL PROTECTED]



Re: [newbie] file permissions and pppd

2000-02-01 Thread Peter Heckert

Bobby Welch wrote:
 
 Hello,
  I would like for a user to be able to use the /usr/sbin/pppd command ..
 this is so that the user can
 connect to the internet via a modem using custum scripts.  Now .. when i
 am logged in as user and I
 issue the command ./usr/sbin/pppd i get the following error:  ./pppd:
 must be root to run ./pppd, since it
 is not setuid-root.  Now, i have tried giving the user permission to
 execute the pppd command using
 chmod 555 .. but I can still not execute the command as the user.  I

Hi Bobby,

so far I understand it,pppd must have root permissions when it is
running.
So the "s" permission for pppd should be set.

Im not an expert,please look at http://www.mandrakeuser.org,they
have detailled instructions,how to do this.

Regards,

Peter

-- 
My humble homepage -- under construction
http://home.arcor-online.de/peter.heckert



[newbie] file permissions and pppd

2000-01-31 Thread Bobby Welch

Hello,
 I would like for a user to be able to use the /usr/sbin/pppd command ..
this is so that the user can
connect to the internet via a modem using custum scripts.  Now .. when i
am logged in as user and I
issue the command ./usr/sbin/pppd i get the following error:  ./pppd:
must be root to run ./pppd, since it
is not setuid-root.  Now, i have tried giving the user permission to
execute the pppd command using
chmod 555 .. but I can still not execute the command as the user.  I
then tried to create a group by
editing the /etc/passwd file and the /etc/group giving both root and the
user permission to execute this
file .. i then changed the group for the file by typing in the following
command: chgrp .newgroup
pppd .. i still could not execute the pppd as user .. i then tried chgrp
newgroup .newgroup pppd .. i still
could not execute pppd.  I do have linuxconf installed on my system ..
now after i had changed the
group settings manually and then started linuxconf .. when i went to
exit linuxconf it said that it
wanted to set the group settings for pppd back to root.root.  Is there
some sort of file that linuxconf
keeps that is overriding what i am doing .. or am i doing somehthing
wrong???
any help would be greatly appreciated =)






RE: [newbie] file Permissions

1999-03-08 Thread Jeff Watkins

.profile is the shell script that runs once each time you log in. there will
be an example in the /etc/skel filesystem.  (same as .login in C-SHELL or
.bash_profile in bash)  do a man on umask.  It sets the file permissions on
all files that you create in your unix session.

set it with the following:
 umask 027

This will create files with permissions set to 750 or RWXR-X---.

- Jeff

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Clay
 Sent: Monday, March 08, 1999 5:22 PM
 To: [EMAIL PROTECTED]
 Subject: Re: [newbie] file Permissions


 what .profile ? is that just the name of the file or is that just the
 extentsion? i am pretty much a total linux newbie sorry :) ...i
 have used linux
 slackware but didn't really like x-windows enviroment and had
 trouble getting
 kde up and running on it so i decide to give linux mandrake a try :)

 Jeff Watkins wrote:

  Try the umask environment parameter in your .profile.
 
  - Jeff
 
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED]]On Behalf Of Michael Doyle
   Sent: Friday, March 05, 1999 5:47 PM
   To: [EMAIL PROTECTED]
   Subject: Re: [newbie] file Permissions
  
  
   On Sat, 06 Mar 1999, you wrote:
I figured out why all my files were not working right it wasn't that
they were text files  but the permissions are messed up...
 everytime i
try to install something the permissions for it are always
 messed up! is
their some setting i can change to stop this... i am not
 telling it to
save permissions i don't think but apparently it is! anyone have any
idea why it is doing this...i am using linux mandrake 5.3
 if that has
anything to do with it
   

   
  
   G'day
  
   Try this on the win box use WINZIP to zip all the RPMs into one
   zip file, then
   place this in your linux /home/dir or where you want and use KFM
   to find the
   zip file, right click and you should see Archiver as one of the
   options unzip
   with this and you should find all is well, works here for me :-))
--
   Michael Doyle
   Adelaide, South Australia
   ICQ #2635762
   http://landofoz.apana.org.au
  

 
 NetZero - We believe in a FREE Internet.  Shouldn't you?
 Get your FREE Internet Access and Email at
 http://www.netzero.net/download.html




RE: [newbie] file Permissions

1999-03-07 Thread Jeff Watkins

Try the umask environment parameter in your .profile.

- Jeff

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Michael Doyle
 Sent: Friday, March 05, 1999 5:47 PM
 To: [EMAIL PROTECTED]
 Subject: Re: [newbie] file Permissions


 On Sat, 06 Mar 1999, you wrote:
  I figured out why all my files were not working right it wasn't that
  they were text files  but the permissions are messed up... everytime i
  try to install something the permissions for it are always messed up! is
  their some setting i can change to stop this... i am not telling it to
  save permissions i don't think but apparently it is! anyone have any
  idea why it is doing this...i am using linux mandrake 5.3 if that has
  anything to do with it
 
  
 

 G'day

 Try this on the win box use WINZIP to zip all the RPMs into one
 zip file, then
 place this in your linux /home/dir or where you want and use KFM
 to find the
 zip file, right click and you should see Archiver as one of the
 options unzip
 with this and you should find all is well, works here for me :-))
  --
 Michael Doyle
 Adelaide, South Australia
 ICQ #2635762
 http://landofoz.apana.org.au




[newbie] file Permissions

1999-03-05 Thread Clay

I figured out why all my files were not working right it wasn't that
they were text files  but the permissions are messed up... everytime i
try to install something the permissions for it are always messed up! is
their some setting i can change to stop this... i am not telling it to
save permissions i don't think but apparently it is! anyone have any
idea why it is doing this...i am using linux mandrake 5.3 if that has
anything to do with it


NetZero - We believe in a FREE Internet.  Shouldn't you?
Get your FREE Internet Access and Email at
http://www.netzero.net/download.html