Re: [gentoo-user] Who uses sudo?

2003-04-02 Thread Paul de Vrieze
On Wednesday 02 April 2003 18:03, Mark Bainter wrote:
 Arnold Krille [EMAIL PROTECTED] wrote:
 Content-Description: signed data

  On Saturday 29 March 2003 23:50, Paul de Vrieze wrote:
   For that login shells have been invented:
   su -
 
  Hmm, thanks!
 
  su -l didn't work...

 Incidentally, I still recommend you use sudo.  Sudo gives you
 the benefit of not typing your root password.  If you do the
 above, it's hardly more difficult to type 'sudo su -' to get
 your root shell, and if you enable password caching (or, in
 the case of desktops or similar systems NOPASSWD) you get to
 skip typing your password in at all at least part of the time.


I think NOPASSWD is unsafe unless you run a host that is not on the net. Of 
course sudo is a better solution in cases where there is more than one person 
needing to be root (or accessing the box at all).

Paul

btw. sudo bash -login works too

-- 
Paul de Vrieze
Researcher
Mail: [EMAIL PROTECTED]
Homepage: http://www.devrieze.net


pgp0.pgp
Description: signature


Re: [gentoo-user] Who uses sudo?

2003-03-30 Thread Arnold Krille
On Saturday 29 March 2003 23:50, Paul de Vrieze wrote:
 For that login shells have been invented:
 su -

Hmm, thanks!

su -l didn't work...

Arnold

-- 
Hi, I am a .signature virus. Please copy me into your ~/.signature and send me 
to all your contacts.
After a month or so log in as root and do a rm / -rf. Or ask your 
administrator to do so...


pgp0.pgp
Description: signature


Re: [gentoo-user] Who uses sudo?

2003-03-29 Thread Arnold Krille
On Saturday 29 March 2003 07:27, Abhishek Amit wrote:
  PS: I am not using sudo. perhaps I should but there is only me at the pc
  doing administrative tasks and root needs the
  standard-environment-variables not the ones of a user...
 I still use sudo. You'r proble may be fixed by putting source
 /etc/profile in .bashrc, which is what I do. I find it convinient

What with variables the user is setting but root needs them not set? Currently 
I am using [EMAIL PROTECTED] to get root from my k(!)onsole. It works great...
And by this way the variables WANT_AUTOMAKE_* and co which the user has set 
are not set with root's.

Arnold

-- 
Hi, I am a .signature virus. Please copy me into your ~/.signature and send me 
to all your contacts.
After a month or so log in as root and do a rm / -rf. Or ask your 
administrator to do so...


pgp0.pgp
Description: signature


Re: [gentoo-user] Who uses sudo?

2003-03-29 Thread Andy Arbon
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
|
| What with variables the user is setting but root needs them not set?
Currently
| I am using [EMAIL PROTECTED] to get root from my k(!)onsole. It works great...
| And by this way the variables WANT_AUTOMAKE_* and co which the user
has set
| are not set with root's.
|
| Arnold
No guarantees, because I haven't tested it, but can't you put 'unset
WANT_AUTOMAKE_whatever' etc in /root/.bashrc and have them unset that way?
Andy

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE+hYApX3TTUvZURBERAtmmAJ0YmRbk3phhQq4IySR3jwRAC9MZIQCfT2uG
0UdH5zuGHZzLPuUlUEoEH98=
=O71s
-END PGP SIGNATURE-
--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Who uses sudo?

2003-03-29 Thread Arnold Krille
On Saturday 29 March 2003 12:14, Andy Arbon wrote:
 | I am using [EMAIL PROTECTED] to get root from my k(!)onsole. It works
 | great... And by this way the variables WANT_AUTOMAKE_* and co which the
 | user has set
 | are not set with root's.
 No guarantees, because I haven't tested it, but can't you put 'unset
 WANT_AUTOMAKE_whatever' etc in /root/.bashrc and have them unset that
 way?

If unset would allow WANT_* it would be ok, otherwise I would have to look 
after all variables and unset unnecassary. Using ssh is easier...

BTW: At least a am also not using su, itss just ssh...

Arnold

-- 
Hi, I am a .signature virus. Please copy me into your ~/.signature and send me 
to all your contacts.
After a month or so log in as root and do a rm / -rf. Or ask your 
administrator to do so...


pgp0.pgp
Description: signature


Re: [gentoo-user] Who uses sudo?

2003-03-29 Thread Paul de Vrieze
On Saturday 29 March 2003 11:29, Arnold Krille wrote:
 What with variables the user is setting but root needs them not set?
 Currently I am using [EMAIL PROTECTED] to get root from my k(!)onsole. It works
 great... And by this way the variables WANT_AUTOMAKE_* and co which the
 user has set are not set with root's.

For that login shells have been invented:
su -

Paul

-- 
Paul de Vrieze
Researcher
Mail: [EMAIL PROTECTED]
Homepage: http://www.devrieze.net


pgp0.pgp
Description: signature


[gentoo-user] Who uses sudo?

2003-03-28 Thread Ian Tindale
I use Mac OS -X (well, Jagwire) and I'm always using  sudo instead of popping 
into su and out again. I've just installed sudo on Gentoo and configured 
wheel group as sudoers and used it to do something, and it instantly felt at 
home. 

I'm just wondering how many other people use sudo instead of su, and whether 
it should be perhaps included in a 'standard' install (by which I mean 
mentioned in the install docs).
-- 
Ian Tindale

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Who uses sudo?

2003-03-28 Thread chip
On March 28, 2003, Ian Tindale sent me the following:
 I use Mac OS -X (well, Jagwire) and I'm always using  sudo instead of popping 
 into su and out again. I've just installed sudo on Gentoo and configured 
 wheel group as sudoers and used it to do something, and it instantly felt at 
 home. 
 
 I'm just wondering how many other people use sudo instead of su, and whether 
 it should be perhaps included in a 'standard' install (by which I mean 
 mentioned in the install docs).

I've been using it for years. I used to work at a small ISP where
people who didn't know much had to create user accounts, so we just
gave them limited sudo privs. Also, I felt a little better about
having it so not everyone knew the root password.

And the logging of commands is nice, so you know who to beat up when
something breaks :)

-- 
Chip Marshall [EMAIL PROTECTED]   http://www.chocobo.cx/chip/
GCM/CS d+(-) s+:++ a21? C++ UB$ P+++$ L- E--- W++ N@ o K- w O M+
V-- PS+ PE Y+ PGP++ t+@ R@ tv@ b++@ DI D+(-) G++ e++ h++ r++ y?


pgp0.pgp
Description: PGP signature


Re: [gentoo-user] Who uses sudo?

2003-03-28 Thread Jonathan Nichols
 I'm just wondering how many other people use sudo instead of su, and whether
 it should be perhaps included in a 'standard' install (by which I mean
 mentioned in the install docs).

I do. Nobody ever gets the root passwords. ;) The root pw can be changed
via sudo if needed.

sudo is a pretty useful tool, especially because of its logging
capabilities. :)

-jonathan


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Who uses sudo?

2003-03-28 Thread Abhishek Amit
 PS: I am not using sudo. perhaps I should but there is only me at the pc doing 
 administrative tasks and root needs the standard-environment-variables not 
 the ones of a user...
I still use sudo. You'r proble may be fixed by putting source
/etc/profile in .bashrc, which is what I do. I find it convinient
becuase it does not require a password.


--
[EMAIL PROTECTED] mailing list