Re: su question

2000-07-08 Thread John Pearson
On Fri, Jul 07, 2000 at 11:22:38PM +0200, [EMAIL PROTECTED] wrote > On Fri, Jul 07, 2000 at 03:14:55PM +0200, tom wrote: > > howdy guys, > > > > This is one of those things that has > > been pestering me. while logged in as a user in x, how can I > > edit files that require su privilages? (like /

Re: su question

2000-07-08 Thread Ethan Benson
On Sat, Jul 08, 2000 at 01:51:49AM -0400, Ben Collins wrote: > > But of course that's why sudo allows you to restrict usage to certain > commands defined in /etc/sudoers. Obviously this limits the compromise > even further. Being able to give certain users access to specific > commands, without gi

Re: su question

2000-07-08 Thread Ben Collins
On Fri, Jul 07, 2000 at 08:55:57PM -0800, Ethan Benson wrote: > On Fri, Jul 07, 2000 at 05:28:54PM -0400, Ben Collins wrote: > > > sudo alleviates the need for this. I suggest using that where you are > > interested in an easier method. Also, sudo requires a password just like > > su, but caches t

Re: su question

2000-07-07 Thread Ethan Benson
On Fri, Jul 07, 2000 at 05:28:54PM -0400, Ben Collins wrote: > sudo alleviates the need for this. I suggest using that where you are > interested in an easier method. Also, sudo requires a password just like > su, but caches that access. This means that you can use sudo again within > like 15 minu

Re: su question

2000-07-07 Thread Ben Collins
On Fri, Jul 07, 2000 at 11:22:38PM +0200, [EMAIL PROTECTED] wrote: > On Fri, Jul 07, 2000 at 03:14:55PM +0200, tom wrote: > > howdy guys, > > > > This is one of those things that has > > been pestering me. while logged in as a user in x, how can I > > edit files that require su privilages? (like

Re: su question

2000-07-07 Thread gianluca
On Fri, Jul 07, 2000 at 03:14:55PM +0200, tom wrote: > howdy guys, > > This is one of those things that has > been pestering me. while logged in as a user in x, how can I > edit files that require su privilages? (like /etc/fstab). I > usually su from eterm and "jed filename". can I su from within

RE: su question

2000-07-07 Thread Bruce Sass
On Fri, 7 Jul 2000, Bruce Sass wrote: > How much would this break? > > chown -R operator /etc/* ; adduser someluckyguy operator Doh! Forget it, please :). I guess one cup'o'coffee ain't enough. - Bruce

RE: su question

2000-07-07 Thread Bruce Sass
Sorry for messing up the thread, I accidentally deleted the original post. I was going to suggest "chgrp"ing everything to "staff" then add yourself to group staff, but that would mess with stuff in groups: dip, shadow, ... and result in breakage. How much would this break? chown -R oper

RE: su question

2000-07-07 Thread Walter Williams
When you bring up your xterm window you first have login as "su" then give the root password. The system is done this way because Linux is a secured system, that and you don't want regular users messing with necessary system files like /etc/fstab in a LAN environment. Walt -Original Messag

Re: su question

2000-07-07 Thread Ron Rademaker
Perhaps sudo can help you, with sudo you just do: sudo and it's executed with root privileges (after ofcourse you have given the user permission to use sudo). Ron Rademaker On Fri, 7 Jul 2000, tom wrote: > howdy guys, > > This is one of those things that has > been pestering me. while logged