TIP: Click on subject to list as thread! ANSI
echo: linuxhelp
to: Randall Parker
from: Adam
date: 2006-07-24 22:17:06
subject: Re: Get a command line logged in as root?

From: Adam <""4thwormcastfromthemolehill\"{at}the field.near
the bridge">

Randall Parker wrote:
> I do not want to normally be logged in as root. How can I from the bash
> command line log in as root for just that command line session?

su ?

su without a user name assumes root. Often distros come (like OSX) with sudo set up.

Adam

--- BBBS/NT v4.01 Flag-5
* Origin: Barktopia BBS Site http://HarborWebs.com:8081 (1:379/45)
SEEN-BY: 633/267 270 5030/786
@PATH: 379/45 1 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.