View previous topic :: View next topic |
Author |
Message |
Jebus n00b
Joined: 10 Apr 2002 Posts: 11 Location: Calgary, Canada
|
Posted: Mon May 27, 2002 5:26 pm Post subject: Could someone please tell me the uid/shell/etc info for mail |
|
|
I deleted the user mail by accident, and i need to recreate it. what does the mail user line in /etc/passwd look like? and what groups does it belong to in /etc/group? is there a mail group as well? thanks in advance! _________________ The only difference between a brown-noser and a shithead is depth perception. |
|
Back to top |
|
|
474 l33t
Joined: 19 Apr 2002 Posts: 714
|
Posted: Mon May 27, 2002 5:51 pm Post subject: Like this: |
|
|
/etc/group:
/etc/passwd
Code: | mail:x:8:12:mail:/var/spool/mail:/bin/false |
Keep a backup of your /etc folder, it's too important to lose
Someone submitted a script to the Tips'n'Tricks section for that very purpose. |
|
Back to top |
|
|
Jebus n00b
Joined: 10 Apr 2002 Posts: 11 Location: Calgary, Canada
|
Posted: Mon May 27, 2002 6:11 pm Post subject: |
|
|
thankya,
I actually cleaned out my /etc/passwd file of all unused users earlier, and now it seems the new version of exim i am trying to emerge needs mail whereas the old one did not.
Anyhow, works fine now! _________________ The only difference between a brown-noser and a shithead is depth perception. |
|
Back to top |
|
|
FINITE Guru
Joined: 10 May 2002 Posts: 449
|
Posted: Mon May 27, 2002 6:12 pm Post subject: |
|
|
The lat script posted there for this is sweet. It backs up 3 generations or /etc and when the 4th is reached the 1st is overwritten so that you don't end up with more than 3 in the /etc backup folder. The backp is done apon booting into gentoo. |
|
Back to top |
|
|
|