Unix Technical Forum

Translate to Slackware

This is a discussion on Translate to Slackware within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> On Wed, 13 Jul 2005 10:31:25 +0200, Menno Duursma wrote: > I'd be cousins about setting $HOME to a ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #11 (permalink)  
Old 02-20-2008, 09:45 AM
Menno Duursma
 
Posts: n/a
Default Re: Translate to Slackware

On Wed, 13 Jul 2005 10:31:25 +0200, Menno Duursma wrote:

> I'd be cousins about setting $HOME to a device file rather then directory.


s/cousins/cautious/

--
-Menno.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 02-20-2008, 09:45 AM
+Alan Hicks+
 
Posts: n/a
Default Re: Translate to Slackware

Menno Duursma wrote:
> Normally i would set the home directory to the place where the service
> lives, this for two reasons: first is documentation again, second is some
> deamons chroot to thier home directory (so if that lives on an
> nodev,noexec mounted partition ( e.g.: /var ) this adds some security.


Most of the time when I'm installing a new daemon this is what I do, if
only because the daemon won't work properly if its $HOME isn't right.
But for POP3 and SMTP users I've always set /bin/false as the shell and
/dev/null as the home directory. IMAP users may or may not require a
home directory, depending on what sort of IMAP daemon you have.

--
It is better to hear the rebuke of the wise,
Than for a man to hear the song of fools.
Ecclesiastes 7:5
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 02-20-2008, 09:45 AM
Sylvain Robitaille
 
Posts: n/a
Default Re: Translate to Slackware

+Alan Hicks+ wrote:

> Anyone have any comments?


Since we're sharing, I would use vipw and add the line manually, using
a uid < UID_MIN (as set in /etc/login.defs) in order to clearly separate
the software accounts from user accounts.

I would edit the group file similarly, create the home directory (I
usually use /home/special/${user} for software accounts), set ownership
and permission accordingly, and add a mail alias to forward any mail
sent to the software account to the system administrator (or to
/dev/null, depending on requirements).

I usually use /bin/false as a shell for such accounts, though I don't
worry about listing it in /etc/shells: any account for which I've set
/bin/false won't need to login, use mail forwarding, or change its
shell.

--
----------------------------------------------------------------------
Sylvain Robitaille syl@alcor.concordia.ca

Systems analyst Concordia University
Instructional & Information Technology Montreal, Quebec, Canada
----------------------------------------------------------------------
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old 02-20-2008, 09:58 AM
+Alan Hicks+
 
Posts: n/a
Default Re: Translate to Slackware

+Alan Hicks+ <alan@lizella.network> trolled:

I am +Alan Hicks+ and I am a slimy piece of sauteed shit. Please
pulp my skull. Please fuck me in the eyehole. Please take my
miserable life away from me because I am +Alan Hicks+ and I am too
cowardly to live.

_________________________________________
Usenet Zone Free Binaries Usenet Server
More than 120,000 groups
Unlimited download
http://www.usenetzone.com to open account
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:00 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com