<html><body><span style="font-family:Verdana; color:#000000; font-size:10pt;"><div>Davide,<br></div><div><br></div><div>Cool!</div><div><br></div><div>Login as "root" and execute the commands</div><div><br></div><div>chown root /bin/su</div><div>chmod 4755 /bin/su</div><div><br></div><div>This will give you "su" back.<br></div><div>--</div><div>Julie Haugh<br>Senior Design Engineer<br>greenHouse Computers, LLC // jfh at <a href="http://greenhousepc.com">greenhousepc.com</a> // greenHousePC on Skype</div><div><br><br></div>
<blockquote id="replyBlockquote" webmail="1" style="border-left: 2px solid blue; margin-left: 8px; padding-left: 8px; font-size:10pt; color:black; font-family:verdana;">
<div id="wmQuoteWrapper">
-------- Original Message --------<br>
Subject: Re: [Voyage-linux] setgid: Operation not permitted<br>
From: "<a href="mailto:themrorange@gmail.com">themrorange@gmail.com</a>" <<a href="mailto:themrorange@gmail.com">themrorange@gmail.com</a>><br>
Date: Wed, October 12, 2011 10:24 am<br>
To: voyage linux Mailing List <<a href="mailto:voyage-linux@voyage.hk">voyage-linux@voyage.hk</a>><br>
<br>
Yes, I have root access to the machine.<br>
<br>
Problems started when I tried to disable ssh root login. I created a new user, with it came a new group. Then I logged via ssh as the new user and I tried su but from that user I cannot access to su becaouse of permissions.<br>
<br>
I can still login as root...<br>
<br>
Thanks<br>
<br>
Davide<br>
<br>
<br>
<br>
On 12 Oct 2011, at 13:20, <<a href="mailto:jfh@greenhousepc.com">jfh@greenhousepc.com</a>> <<a href="mailto:jfh@greenhousepc.com">jfh@greenhousepc.com</a>> wrote:<br>
<br>
> Davide,<br>
> <br>
> Are you able to login as root?  If you can't login at all as root, you're out of luck.  The only "under 20 minute" fix is to remove the CF or whatever Voyage is installed on, mount it on that Linux machine, use the "chown" command to change the ownership on the "/bin/su" command, the put it back and restart.<br>
> <br>
> But if you're, as you put it, a "wannabe" (don't be so hard on your -- real wannabes don't get as far as you have), the best solution is to create a new installation image on another CF or disk drive, and put that in.<br>
> <br>
> And for the rest of y'all, I do sell fully assembled and installed ALIX.2C and 3D boxes.  Shipping within the United States and Canada is at pretty reasonable rates.<br>
> --<br>
> Julie Haugh<br>
> Senior Design Engineer<br>
> greenHouse Computers, LLC // jfh at <a href="http://greenhousepc.com">greenhousepc.com</a> // greenHousePC on Skype<br>
> <br>
> <br>
> -------- Original Message --------<br>
> Subject: Re: [Voyage-linux] setgid: Operation not permitted<br>
> From: "<a href="mailto:themrorange@gmail.com">themrorange@gmail.com</a>" <<a href="mailto:themrorange@gmail.com">themrorange@gmail.com</a>><br>
> Date: Wed, October 12, 2011 5:38 am<br>
> To: <a href="mailto:voyage-linux@voyage.hk">voyage-linux@voyage.hk</a><br>
> <br>
> Unfortunately I cannot reinstall voyage since that machine is running some tests for my WSN and I cannot stop it for more than 20 min<br>
> <br>
> Adrian, I installed voyage using the help script so I think that I did the mess when I started creating users and groups to differentiate access trough ssh. I think I'm the only one to blame, I'm newbe and, in this case a wannabe...<br>
> <br>
> Anyway I want to fix the problem so I need a better understanding of the matter in case. Can you please suggest me any wiki or tutorial where I can learn how to manage access permission?<br>
> <br>
> Many thanks<br>
> <br>
> <br>
> Davide <br>
> <br>
<br>
<br>
_______________________________________________<br>
Voyage-linux mailing list<br>
<a href="mailto:Voyage-linux@list.voyage.hk">Voyage-linux@list.voyage.hk</a><br>
<a href="http://list.voyage.hk/mailman/listinfo/voyage-linux">http://list.voyage.hk/mailman/listinfo/voyage-linux</a><br>

</div>
</blockquote></span></body></html>