Right, unless you are using csh or some other shell at the time.

Also, you can bypass the password with the "NOPASSWD: ALL" option in the
/etc/sudoers file.

Sudo is always handy for quick hcp queries, commands, etc.

If just using the "su" command (e.g. not "sudo su"), then the root password
will need to be entered, in this case.

Doug Ponte

----------------------------

Probably nothing, if root's default shell is bash.



Mark Post

-----Original Message-----
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
McKown, John
Sent: Tuesday, June 07, 2005 2:09 PM
To: [email protected]
Subject: Re: Will SUDO work for every admin task?



-snip-
What is the difference between:

sudo su -

and

sudo bash -l

??

---------

-----Original Message-----
From: Linux on 390 Port
To: [email protected]
Sent: 6/7/05 1:32 PM
Subject: Re: Will SUDO work for every admin task?

If you give your system administrators the ability to "sudo su - " then
absolutely.  Most, if not all of the tasks I've ever needed to execute
on SUSE and Red Hat via their tools prompt for the root password if
you're not logged in as root.  That's just about as good, since you're
only doing what you need to do as root, and then you're reverted back to
a non-privileged state.


Mark Post

-----Original Message-----
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Dave Myers
Sent: Tuesday, June 07, 2005 1:07 PM
To: [email protected]
Subject: Will SUDO work for every admin task?


Just curious...will SUDO work for ALL zLinux admin tasks (SuSE and
Redhat) ? Or, is root ID needed for certain tasks?

Thanks,
Dave




----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions, send
email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit http://www.marist.edu/htbin/wlvindex?LINUX-390

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390



The contents of this e-mail are intended for the named addressee only. It
contains information that may be confidential. Unless you are the named
addressee or an authorized designee, you may not copy or use it, or disclose
it to anyone else. If you received it in error please notify us immediately
and then destroy it.

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to