Skip to main content

Posts

Showing posts from August, 2013

Add a user with root privileges on a linux system running busybox

The problem with busybox is that it doesn't support a whole bunch of useful stuff that would help in this situation, such as sudo, and therefore the wheel solution proposed in other posts, in /etc/sudoers , can't be done. Likewise, usermod is not available, and even adduser -u 0 doesn't work because it complains that "UID 0 is already used". What you have to do is simple: adduser user vi /etc/passwd and modify the uid of user . /etc/passwd will look something like this: root:x:0:0:root:/home:/bin/sh daemon:x:1:1:daemon:/usr/sbin:/bin/sh sampleUser:x:1000:1000:Linux User,,,:/home/sampleUser:/bin/sh to give sampleUser root privileges, edit like this: sampleUser:x:0:0:Linux User,,,:/home/sampleUser:/bin/sh I.e. set sampleUser's uid = 0 Done.

Lake Sylvia and Lyons Lake in Desolation Wilderness, plus how to get up Pyramid Peak

Took a 3 day trip staying two nights at Lake Sylvia with side trips to Lyons Lake and an aborted attempt to bag Pyramid Peak. The hike in is moderate. Distance is short at 5 miles, but pretty constant elevation gain from around 6800 to 8100. The trail is very scenic, and a nice mix of easy elevation gain, bits of moderate, and short stretches of steeper. We got into the Lake Sylvia area around 4pm and ran into the very nice ranger keeping tabs on people camping. We asked for camping spot recommendations and he showed us a fantastic site somewhat uphill on the south shore of the lake. Most of the sites are on the western shore; this one was totally private and has two very nice, level spots for tents. For camping, Lake Sylvia is a better choice than Lyons Lake ... there are a number of comfortable spots 100+ ft away from the lake on the northern and western shore, and the single, fantastic site we stayed at on the southern shore. Lyons Lake is more scenic, and better for swimming d...