Linux Debian support - permissions help

This is Interesting: Free IT Magazines  
Home > Archive > Linux Debian support > September 2006 > permissions help





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author permissions help
Hadron Quark

2006-09-06, 7:17 pm



If I have my /home on its own permission, when I resinstall
debian/dapper, is it sufficient to just create users with the same login
ID for the permissions on the "safe home partition" to match the newls
created user?

e.g I have /home/reg

nice & safe and most of the permissions of the files in /home/reg are of
the form "reg 755".

On the new install, when I create "reg" is he the "same" reg as before?
Bill Marcum

2006-09-06, 7:17 pm

On Thu, 07 Sep 2006 00:38:08 +0200, Hadron Quark
<qadronhuark@geemail.com> wrote:
>
>
> If I have my /home on its own permission, when I resinstall
> debian/dapper, is it sufficient to just create users with the same login
> ID for the permissions on the "safe home partition" to match the newls
> created user?
>
> e.g I have /home/reg
>
> nice & safe and most of the permissions of the files in /home/reg are of
> the form "reg 755".
>
> On the new install, when I create "reg" is he the "same" reg as before?


If you create users in the same order, they should be the same. Each
user and group is identified by a number. You could save copies of
/etc/passwd, /etc/shadow, /etc/group and /etc/gshadow, then you wouldn't
have to create the users again.


--
Rules for Academic Deans:
(1) HIDE!!!!
(2) If they find you, LIE!!!!
-- Father Damian C. Fandal
Jeremy Boden

2006-09-07, 1:13 am

On Wed, 2006-09-06 at 19:35 -0400, Bill Marcum wrote:
> On Thu, 07 Sep 2006 00:38:08 +0200, Hadron Quark
> <qadronhuark@geemail.com> wrote:
>
> If you create users in the same order, they should be the same. Each
> user and group is identified by a number. You could save copies of
> /etc/passwd, /etc/shadow, /etc/group and /etc/gshadow, then you wouldn't
> have to create the users again.


I assume that the uid and guid are what "drives" the security system.
If I put an entry in the passwd etc files, is this equivalent to
actually creating a new uid/gid?

--
Jeremy Boden


Bill Marcum

2006-09-07, 7:15 am

On Thu, 07 Sep 2006 04:40:04 +0100, Jeremy Boden
<jeremy@jboden.demon.co.uk> wrote:
> On Wed, 2006-09-06 at 19:35 -0400, Bill Marcum wrote:
>
> I assume that the uid and guid are what "drives" the security system.
> If I put an entry in the passwd etc files, is this equivalent to
> actually creating a new uid/gid?
>

Yes.


--
Sacher's Observation:
Some people grow with responsibility -- others merely swell.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com