Search found 14 matches

by FossLab
Mon 11 Jan 2016, 01:05
Forum: HOWTO ( Solutions )
Topic: How to surf as user fido
Replies: 11
Views: 4926

Sorry for the typos but too tired right now to go back and edit previous posts. It would be nice if some people could try the procedure and report back with any findings. There are many little things to do and it's easy to miss one item. It took me at least two runs from booting with the Slacko CD t...
by FossLab
Mon 11 Jan 2016, 00:54
Forum: HOWTO ( Solutions )
Topic: How to surf as user fido
Replies: 11
Views: 4926

Extra Thoughts This procedure is rather rough and may be difficult to follow but instead of waiting for user-friendly script files and documention to be produced, a decision is made to release the raw ideas so that experienced users could start testing the process of using X/JWM as a non-root user. ...
by FossLab
Mon 11 Jan 2016, 00:45
Forum: HOWTO ( Solutions )
Topic: How to surf as user fido
Replies: 11
Views: 4926

Step 10 Start JWM (as fido) whoami # First ensure logged in as fido /tmp/runx # to start X/JWM This idea bypasses a traditional login procedure. If the xwin set of files are modified in the future then perhaps this procedure might require little or no change. Now some applications do not work as exp...
by FossLab
Mon 11 Jan 2016, 00:42
Forum: HOWTO ( Solutions )
Topic: How to surf as user fido
Replies: 11
Views: 4926

Step 9 Exit to command line

Now run the command

su -l fido # switch to fido with login shell
by FossLab
Mon 11 Jan 2016, 00:41
Forum: HOWTO ( Solutions )
Topic: How to surf as user fido
Replies: 11
Views: 4926

Step 8 Create a file that fido uses to start X/JWM The file name /tmp/runx is suggested The following commands might help echo '#!/bin/bash' > /tmp/runx echo $(ps -o cmd -C xinit | tail -1) >> /tmp/runx # change /root/ to $HOME/ (not /home/fido) in /tmp/runx chmod 755 /tmp/runx The command root used...
by FossLab
Mon 11 Jan 2016, 00:39
Forum: HOWTO ( Solutions )
Topic: How to surf as user fido
Replies: 11
Views: 4926

Step 7 Modify permissions in /dev

The following commands are required so fido can open urxvt windows

chmod 755 /dev/pts 2>/dev/null
chgrp tty /dev/ptmx
by FossLab
Mon 11 Jan 2016, 00:39
Forum: HOWTO ( Solutions )
Topic: How to surf as user fido
Replies: 11
Views: 4926

Step 6 Create a home directory for fido Start by $(mkdir -p /home; cp -R /root /home/fido) Some files (like anything spot related) should be deleted. The links in /home/fido/.jwm/root_menus must be modified (should be obvious where the links point) In /home/fido/.jwmrc change all occurrences of /roo...
by FossLab
Mon 11 Jan 2016, 00:34
Forum: HOWTO ( Solutions )
Topic: How to surf as user fido
Replies: 11
Views: 4926

Step 5 [Optional] Modify permissions for /bin/busybox Readers who wish to be able to $(su root) as fido from any urxvt window may have to chmod 4755 /bin/busybox # change setuid bit However, readers must appreciate that doing so may open some security holes. If using this step then readers are highl...
by FossLab
Mon 11 Jan 2016, 00:31
Forum: HOWTO ( Solutions )
Topic: How to surf as user fido
Replies: 11
Views: 4926

Step 4 Manually edit the /etc/passwd file ***** Do not try this step in a production environment! ***** This step assumes that the reader fully understands the /etc/passwd file format and the implications of manually editing this file. Manually editing the file is a very quick and dirty way to make ...
by FossLab
Mon 11 Jan 2016, 00:29
Forum: HOWTO ( Solutions )
Topic: How to surf as user fido
Replies: 11
Views: 4926

Surfing As fido Step 3

Step 3 Manually edit the file /etc/group (using geany, nano, vi, etc.) ***** Do not try this step in a production environment! ***** This step assumes that the reader fully understands the /etc/group file format and the implications of manually editing this file. Manually editing the file is a very ...
by FossLab
Mon 11 Jan 2016, 00:27
Forum: HOWTO ( Solutions )
Topic: How to surf as user fido
Replies: 11
Views: 4926

Surfing As fido Steps 1 and 2

Step 1 Start the computer using the Puppy-Slacko-6.3.0 CD/DVD This would be a good time to copy any extra script files from hard drive or usb. Customize the desktop as normal. Step 2 Connect to the internet (if not done automatically) and setup the firewall. Use the Puppy Package Manager (select Sla...
by FossLab
Mon 11 Jan 2016, 00:25
Forum: HOWTO ( Solutions )
Topic: How to surf as user fido
Replies: 11
Views: 4926

How to surf as user fido

Surfing As fido How To Surf As Any Non-root User in Puppy-Slacko-6.3.0 The following steps outline a procedure for how to surf as user fido starting from the Puppy-Slacko-6.3.0 CD/DVD (32 bit version - the 64 bit or any Puppy-Tahr versions have not yet been tested) This procedure is a drop-down proc...
by FossLab
Wed 06 Jan 2016, 01:59
Forum: Package Collections / Repositories
Topic: Looking for Slackware su utility
Replies: 3
Views: 6679

Update

OK, took longer than expected but found su in the shadow-4.2.1* package (go to slackware-current) It works but not as I wanted. If you install the shadow-4.2.1-i486-1.tgz package you also get the following /bin/su /bin/login /sbin/nologin /sbin/sulogin /usr/bin/passwd /usr/sbin/adduser /usr/sbin/chg...
by FossLab
Tue 05 Jan 2016, 01:27
Forum: Package Collections / Repositories
Topic: Looking for Slackware su utility
Replies: 3
Views: 6679

Looking for Slackware su utility

Hello: I'm looking for the Slackware su utility. Slacko 6.3.0 uses busybox and I would like to avoid having to chmod 4755 /bin/busybox so that another user can $(su root). Background: can now surf as user fido but want to be able to $(su root) from urxvt window. If I could find su then I could chmod...