On Saturday, December 24, 2011 01:59:00 PM yann jautard did opine:

[overdue chomp]
 
> I think here we are talking about another problem. The point is not to
> use root account to make all your admin stuff (even if it may be a
> better choice than sudo), but use it only the time needed to change your
> UID, or other special things like that you might need to do.
> 
> Gaining acces to real root account by setting a password for it does not
> mean you cannot continue using sudo for everything you are using it now.

But, having done that, I did not realize that you also needed to edit the 
sudoers file to add this new usernum, so once I can closed that root 
account, I was DOA.  Hence the re-install.
 
> And about using su, or su -, I don't think it is a good idea when making
> a UID change. Because using su, you are still logged in as the user you
> are changing the UID, and this _will_ bring problems. The initial login
> process or terminal might crash or something like that.
> Just log in a real root user on a terminal, without graphical interface,
> and do the stuff.
> 
> I have root account acces on my EMC machine as well as the shop file
> server, and my laptop(wich I'm writing from), the tree of them using
> ubuntu 9,04 10,10 and 11,04, and I don't experience any issues while
> using sudo.
> 
Sure, but its all *buntu. I'm finding that pclos, despite is usability 
being a huge plus ON THIS MACHINE, doesn't talk to other linuxes all that 
well.  And while I do run 10.04 on that box and a lappy I often use with 
it, generally speaking ubuntu is so damnedably difficult to configure, and 
is missing tons of usability features that Just Work(TM) on pclos.  For 
instance, if I want to access one of the other 9 workspaces on this 
machine, sure, I can find the pager and double click it, or I can leave the 
mouse pointing at an unused point on this screen & just roll the wheel, one 
screen up or down in the 10 screen count per click of the wheel detent.  On 
buntu, I have to first find the mouse as its up on a shelf due to space 
limitations at the operators console, then find the pager, click once on it 
to change the focus and click again on the screen I want to go to, and 
apparently the limit is 4 screens, which I find somewhat constricting even 
on a box with far less resources at its disposal than this one.

Another thing this usernum difference may be responsible for, I can 
remember when I could "ssh -Y shop" and run emc, with motor power off 
obviously, from this box to preview what the code I had just written might 
look like in the backtrace.  I think the last time I made that work I was 
running fedora 10 although its possible I made it work for mandriva 2008.  
It has never worked for pclos because the x server sees a request from an 
unknown user and bounces it.  The ssh session works great for running text 
based things like vim though.

IMO linux is growing up, and its time all distro's started using 1000 as 
the first usernum, leaving more privileged stuff below 1000.  Like that is 
going to happen on my remaining watch...

Merry Christmas folks.

Cheers, Gene
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
My web page: <http://coyoteden.dyndns-free.com:85/gene>
Hodie natus est radici frater.

[ Unto the root is born a brother ]

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to