Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Kubuntu v5.10
- Date: Sun, 25 Dec 2005 10:20:42 +0100
- From: Godwin Stewart <godwin.stewart@example.com>
- Subject: Re: [tlug] Kubuntu v5.10
- References: <ea4e853e0512241908t260aeadbv4115aaf74a358e64@example.com><20051225040107.GA10573@example.com>
On Sun, 25 Dec 2005 13:01:07 +0900, Evan Monroig <evan.monroig@example.com> wrote: > When you need the root account you just need to type for > example "sudo apt-get install apache2" Just remember that by doing so you are gaining root privileges but retaining your unprivileged user's environment (including the $PATH variable). Most distributions don't have /{,usr/{,local/}}sbin in a normal user's $PATH, meaning that tools like insmod & co. are inaccessible without specifying a fully qualified pathname. One way round that is to use su instead of sudo: $ su - -c "insert your commands to be run as root here" This time it's the root password you'll be asked for. Note the "-" between "su" and "-c". This is what gets the system to basically log in as root temporatily and thus take root's environment for the duration of the commands to be executed. -- G. Stewart - godwin.stewart@example.com The most difficult years of marriage are those following the wedding.Attachment: pgp00019.pgp
Description: PGP signature
- Follow-Ups:
- Re: [tlug] Kubuntu v5.10
- From: Josh Glover
- References:
- [tlug] Kubuntu v5.10
- From: Lyle H Saxon
- Re: [tlug] Kubuntu v5.10
- From: Evan Monroig
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Kubuntu v5.10
- Next by Date: Re: [tlug] Kubuntu v5.10
- Previous by thread: Re: [tlug] Kubuntu v5.10
- Next by thread: Re: [tlug] Kubuntu v5.10
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links