From: unruh@invalid.ca   
      
   On 2013-05-01, Daniel47@teranews.com wrote:   
   > Jim Beard wrote:   
   >> On 05/01/2013 09:54 AM, Daniel47@teranews.com wrote:   
   >>> On this HP 6730b Laptop, I multi-boot   
   >>> Win7/MD2009.1/MD2010.1/MD2012/MG2 and have my Home in a separate   
   >>> mount (SD8) so that all the linux's can use it!   
   >>>   
   >>> Back on 16 Apr (my time), I started a thread called "Inode that   
   >>> were part of a corrupted orphan linked list found", and from   
   >>> those discussions, I fixed the problem and then I figured I'd   
   >>> re-install my MD2009 system, without touching my other   
   >>> installations or my Home set-up.   
   >>>   
   >>> I'm guessing I've done something wrong (see below) because,   
   >>> previously, to connect to the internet I'd run Network Centre and   
   >>> select my 3G Wireless connection then I'd open a terminal and   
   >>> run, as user, a script written by my ISP to actually make the   
   >>> connection. Since I fixed the previously mentioned problem, to   
   >>> run my ISP's script I've had to SU in the terminal to be able to   
   >>> run the script.   
   >>   
   >> ls -l /path/to/script   
   >>   
   >> Take a look at what the permissions are. You have have had the script   
   >> set to run with setuserid/setgroupid to root, or perhaps the script was   
   >> set to allow an ordinary user to run it.   
   >>   
   >> man chmod   
   >>   
   >> The script also may be trying to run something with permissions limited   
   >> to root. Check permissions if there are complaints about a command.   
   >   
   > I used to run the script just as User, so don't know why the permission   
   > might have changed.   
   >   
   >>> *Current situation* When I re-installed MD2009, I had set it up   
   >>> so that I got the little screen to select a User and enter a   
   >>> password, but I think I just hit enter (or may have selected the   
   >>> User but I didn't enter the password, I think), I then went into   
   >>> MCC and stopped the need to select User and enter a password.   
   >>   
   >> IIRC, 2009 (and later) can be set up to log in one user automatically.   
   >> I do not remember the details.   
   >   
   > Yes, it can, but (as usual) I stuffed up!   
   >   
   >>> By not entering User name and Password, am I effectively now   
   >>> logged in as a "Guest" user?? And if so, is there a simple way to   
   >>> get me back as User, or do I re-install system again??   
   >>   
   >> Two commands, in a terminal. First:   
   >>   
   >> whoami   
   >> who am i   
   >>   
   >> Then, if needed,   
   >>   
   >> su - useryouwanttobe   
   >> You should be prompted for the password if needed at this point.   
   >>   
   >> man su   
   >> for more details.   
   >>   
   >>> (I have held off on fixing this (using my Win7 installation,   
   >>> instead) as I waited for MG3 to be released in a day or two, but   
   >>> now that it's release has been delayed to 18th May, I figured I'd   
   >>> better try to fix my MD2009!!)   
   >>   
   >> Cheers!   
   >>   
   >> jim b.   
   >   
   > Thanks for the very quick response, Jim. I'll boot into MD2009 and see   
   > if I can get responses for your other suggestions and post back in the   
   > morning.   
   >   
   > Daniel   
   >   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|