Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Could someone please tell me the uid/shell/etc info for mail
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Jebus
n00b
n00b


Joined: 10 Apr 2002
Posts: 11
Location: Calgary, Canada

PostPosted: Mon May 27, 2002 5:26 pm    Post subject: Could someone please tell me the uid/shell/etc info for mail Reply with quote

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
View user's profile Send private message
kerframil
l33t
l33t


Joined: 19 Apr 2002
Posts: 712

PostPosted: Mon May 27, 2002 5:51 pm    Post subject: Like this: Reply with quote

/etc/group:
Code:
mail::12:mail

/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
View user's profile Send private message
Jebus
n00b
n00b


Joined: 10 Apr 2002
Posts: 11
Location: Calgary, Canada

PostPosted: Mon May 27, 2002 6:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
FINITE
Guru
Guru


Joined: 10 May 2002
Posts: 449

PostPosted: Mon May 27, 2002 6:12 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum