Re: [OpenIndiana-discuss] Root role and root user

2010-12-10 Thread Harry Putnam
Roy Sigurd Karlsbakk  writes:

> # usermod -K type=normal root

Haa,   that was nice and simple ... and it make the needed edit to
user_attr as well

Thank you


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Root role and root user

2010-12-09 Thread Mads Worsøe Duun
2010/12/9 Harry Putnam 

> Mads Worsøe Duun  writes:
>
> Running root as user is dirty, and for
> > lazy persons.
>
> Exactly! ..  now you've got the idea.
>
>
> ___
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss@openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss
>

LOL! I'll buy you a beer in the airport :-)
___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Root role and root user

2010-12-09 Thread Harry Putnam
Mads Worsøe Duun  writes:

Running root as user is dirty, and for
> lazy persons.

Exactly! ..  now you've got the idea.


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Root role and root user

2010-12-08 Thread Mads Worsøe Duun
I really don't like the idea of running as root if I don't need it, not even
on my home setup. I really don't see the problem in ssh into my regular
user, and from there su into root. Running root as user is dirty, and for
lazy persons.

Cheers,
Mads Worsøe Duun
___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Root role and root user

2010-12-08 Thread Roy Sigurd Karlsbakk
# usermod -K type=normal root

- Original Message -
> I'm sure to get scolded for running as root quite often but it is my
> preferred method quite often. It's no doubt not a good idea but I
> still bull headedly, prefer it quite often.
> 
> I like to be able to ssh to root whenever I please. It makes lots of
> things easier... and since this is a home setup and I am not
> responsible for anyone elses data... Nor am I boning up to become a
> system administrator (other than my home lan).. It should be up to me.
> Not something enforced by my OS.
> 
> It probably makes sense to restrict root like that generally since the
> OS does go into production uses.
> 
> But is there not a way to make root a user rather than a role if I
> really want to do that?
> 
> On opensolaris one could just edit /etc/user_attr and remove the bit
> about root being a role. I don't have access to the file anymore so
> can't recall the exact wording but it is different under oi. Even
> then I still tried a similar edit:
> 
> Bits from /etc/user_atter as installed (wrapped for mail):
> 
> rootmin_label=admin_low;lock_after_retries=no;
> auths=solaris.*,solaris.grant;audit_flags=lo\:no;profiles=All;
> clearance=admin_high;type=role
> 
> I removed the last bit `;type=role'
> 
> My user's line in /etc/user_attr:
> readerroles=root
> 
> I removed the root role and replaced it with
> readerroles=zfssnap
> --- - ---=--- - 
> 
> That edit appeared to make the OS non-bootable (running in a vbox as
> guest on windows XP). Or maybe it was some other bumbling of mine
> that caused it... but at any rate it made me chicken to mess with the
> file.
> 
> I used the livecd to put the file back to it original condition and
> things started working again.
> 
> It was a bit of work to do that and I'd rather not bumble into it
> again.
> 
> Can anyone tell me how to change the setup so that root is not just a
> role but a real user?
> 
> Or some other way, if there is one, so that I can ssh to root readily,
> 
> 
> ___
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss@openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss

-- 
Vennlige hilsener / Best regards

roy
--
Roy Sigurd Karlsbakk
(+47) 97542685
r...@karlsbakk.net
http://blogg.karlsbakk.net/
--
I all pedagogikk er det essensielt at pensum presenteres intelligibelt. Det er 
et elementært imperativ for alle pedagoger å unngå eksessiv anvendelse av 
idiomer med fremmed opprinnelse. I de fleste tilfeller eksisterer adekvate og 
relevante synonymer på norsk.

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss