1) Talking about nobody -- what should be his/her shell ?
 My distro decided on /bin/sh  whereas some system accounts are assigned
to /bin/false (or true), neither giving them much power.
 I guess I could try and wait until some application using nobody
breaks... but maybe you folks wanna spoil that sort of learning experience???

2) What is the recommended entry for the 2nd field (password
indicator) for users that can't log in (like my proxie for root mail) ?
 My guess is 'x' in passwd and '!!' in shaddow -- whereas Mandrakes
utilities decided on '*' in passwd and didn't make and entry in shadow(!?)

3) HowTo? Normally I use the general tools useradd, usermod and not some
distro-specific tools -- any comments? (other than manually editing the
files in /etc/ -which I used to do in the past)

 grep nobody /etc/passwd
nobody:x:65534:65534:Nobody:/:/bin/sh
 grep nobody /etc/shadow
nobody:*:12069:0:99999:7:::

 grep postfix /etc/passwd
postfix:x:77:77:system user for postfix:/var/spool/postfix:/bin/false
 grep postfix /etc/shadow
postfix:!!:12069:0:99999:7:::

 - Horst

On Tue, 4 Feb 2003, Jacob Meuser wrote:

> On Tue, Feb 04, 2003 at 07:07:24AM -0800, P Casper wrote:
> > It's not much less clunky, but as a newbie, I let root's mail go to the
> > default 'user' == "nobody" and created an alias in .bashrc so that I
> > could pull up mail for that user without much trouble. *shrug* It works.
> 
> Be careful about 'nobody'.  It can mean 'everybody'.  For example,
> services than anyone can use sometimes run as 'nobody' (ie, the
> service "owns" root's mail), and you probably don't want to make
> it any easier for 'everybody' to read root's mail, as it may contain
> sensitive info.
> 


_______________________________________________
Eug-LUG mailing list
[EMAIL PROTECTED]
http://mailman.efn.org/cgi-bin/listinfo/eug-lug

Reply via email to