|
Prev: The horror, the horror
Next: tcp_extra_priv_ports_add
From: sol_newbie on 29 Jun 2008 12:31 My understanding is: the login group for the Superuser must have GID 0. But, after building a solaris 8 box I see GID as 1 In the similar way I build a solaris 10 box and I see GID as 0 Any ideas? [q1] why the GID is different between 8 vs 10? [q2] is it acceptable to have GID as 1 for root? (will it cause any issues?) [q3] Do I have to manually edit the passwd file to change 1 to 0? TIA.
From: sol_newbie on 30 Jun 2008 08:37 On Jun 29, 12:31 pm, sol_newbie <muthuganes...(a)gmail.com> wrote: > My understanding is: > the login group for the Superuser must have GID 0. > > But, after building a solaris 8 box I see GID as 1 > In the similar way I build a solaris 10 box and I see GID as 0 > > Any ideas? > > [q1] why the GID is different between 8 vs 10? > [q2] is it acceptable to have GID as 1 for root? (will it cause any > issues?) > [q3] Do I have to manually edit the passwd file to change 1 to 0? > > TIA. Guys, if there are any 'RTFM' then please point me there. Google search is not helping so asking for your help ;-) TIA
From: Stefan Krüger on 30 Jun 2008 09:25 sol_newbie wrote: > My understanding is: > the login group for the Superuser must have GID 0. > > But, after building a solaris 8 box I see GID as 1 > In the similar way I build a solaris 10 box and I see GID as 0 > > Any ideas? > > [q1] why the GID is different between 8 vs 10? design decisions? software evolution? ;) > [q2] is it acceptable to have GID as 1 for root? (will it cause any > issues?) since root is only used rarely to do administration tasks, I don't think this will cause any issues > [q3] Do I have to manually edit the passwd file to change 1 to 0? mh no, see 8.7 in http://www.nsa.gov/notices/notic00004.cfm?Address=/snac/os/sunsol/I331-008R-2004.pdf on how to do it w/o editing all necessary files in /etc manually > TIA.
From: Michael Tosch on 30 Jun 2008 15:40 sol_newbie wrote: > My understanding is: > the login group for the Superuser must have GID 0. > > But, after building a solaris 8 box I see GID as 1 > In the similar way I build a solaris 10 box and I see GID as 0 > > Any ideas? > > [q1] why the GID is different between 8 vs 10? > [q2] is it acceptable to have GID as 1 for root? (will it cause any > issues?) > [q3] Do I have to manually edit the passwd file to change 1 to 0? > > TIA. Yep, getent passwd root shows :0:1: for Solaris 8 and 9 and :0:0: for Solaris 10. You better do not change it - might break some integrity checks (e.g. pkgchk). -- echo imhcea\.lophc.tcs.hmo | sed 's2\(....\)\(.\{5\}\)2\2\122;s1\(.\)\(.\)1\2\11g;1s;\.;::;2'
|
Pages: 1 Prev: The horror, the horror Next: tcp_extra_priv_ports_add |