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] server installation best practices/ worksheet
- Date: Sun, 27 May 2007 10:50:08 +0900
- From: "Keith Bawden" <keith@example.com>
- Subject: Re: [tlug] server installation best practices/ worksheet
- References: <4F9DBC6A-C926-4369-A9B0-05A2078F91CE@miyazaki-mic.ac.jp> <46528A96.6050903@gmo.jp> <979F1B40-7425-41B2-8E4E-0D49890697A5@miyazaki-mic.ac.jp> <46539705.1010601@gmo.jp> <4656ECBB.3060100@runbox.com> <4656FE51.9090301@gmail.com> <1180107401.26169.4.camel@musuko.uchicago.edu> <d8fcc0800705251646v759b9fa5g70f7420258aa05ab@mail.gmail.com> <46578B18.70605@dcook.org>
That feels wrong, but I cannot work out why. Does each user get /root as their home directory, or do they get their own .bash_history, etc?
A users home directory is not defined by their uid. The home directory is defined in the "directory" field of the /etc/passwd file. "man 5 passwd" will give you more info.
The first (and in fact only) thing I do when I "only" have sudo access is "sudo bash". The first time I tried it I was amazed it worked, but it is so much easier than typing in a password every time (it is rare that if I need root that I only need to run one command).
sudo is normally set to cache passwords for 5 minutes. If you keep using sudo the 5 minutes begins from the last usage of sudo.
I also agree with a point made somewhere in this thread by Josh. Prepending sudo to a command often helps to remind you that you are running something as root, and therefore should make you think a bit more about the possible effects of what you are about to do.
For example I did something like "chown -R keith.keith /" as root on a production DNS server once :-( Left a dot out of that one...
Regards, Keith
- References:
- [tlug] server installation best practices/ worksheet
- From: Micheal Cooper
- Re: [tlug] server installation best practices/ worksheet
- From: Erin D. Hughes
- Re: [tlug] server installation best practices/ worksheet
- From: Micheal Cooper
- Re: [tlug] server installation best practices/ worksheet
- From: Erin D. Hughes
- Re: [tlug] server installation best practices/ worksheet
- From: Sigurd Urdahl
- Re: [tlug] server installation best practices/ worksheet
- From: Patrick Kellaher
- Re: [tlug] server installation best practices/ worksheet
- From: Stuart Luppescu
- Re: [tlug] server installation best practices/ worksheet
- From: Josh Glover
- Re: [tlug] server installation best practices/ worksheet
- From: Darren Cook
Home | Main Index | Thread Index
- Prev by Date: [tlug] Re: TLUG BBQ
- Next by Date: Re: [tlug] TLUG Web Site
- Previous by thread: Re: [tlug] server installation best practices/ worksheet
- Next by thread: Re: [tlug] server installation best practices/ worksheet
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links