How to setup root login for Bionicpup8?

For discussions about security.
Post Reply
Message
Author
sankarv
Posts: 26
Joined: Thu 09 Mar 2006, 07:05
Contact:

How to setup root login for Bionicpup8?

#1 Post by sankarv »

i have installed bionic pup 8 in my harddisk. its really good.

since i need security, how to setup ask for password for root login.

someone please help.

also please let me know what is the default root password.
thanks a lot in advance.
[color=blue][i]Thanks,
Sankar.[/i] [/color] :)

User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

#2 Post by rockedge »

default password is -> woofwoof

to change for root, in a terminal use ->

Code: Select all

passwd
It will take some modifications to the start up process to force a user login which would be from the command line before the Xorg server starts.

I can tell you though that with the correct configuration and safe practices running as the root user poses very little in actual danger.

Does your security concerns include someone using the machine while you are away from it physically? There is always the "Lock" functions built into Puppy Linux which will require a password to access the desktop and file system.

Be patient there many members of this forum who really know a lot and can give you better advice and will more than likely offer you some good advice.

williams2
Posts: 337
Joined: Fri 14 Dec 2018, 22:18

#3 Post by williams2 »

Edit the file inittab in /etc
Change this:

Code: Select all

tty1::respawn:plogin
to this:

Code: Select all

tty1::respawn:getty 38400 tty1

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#4 Post by bigpup »

WARNING
Make sure you remember the password you make.


This is how to setup Xlock

Require password at boot to use desktop.

You could set up Xlock to start on boot and use a password to unlock screen.
Xlock (lock icon on desktop) is a screen lock that requires a password to unlock.

1. Click on lock icon on desktop (xlock) to set up your password, if you haven't already
2. Drag "xlock" from /usr/bin/ to the startup directory /root/Startup.
3. Choose "Link (absolute)" from the choices given in the pop-up menu.

Now, whenever you start Puppy, you will see the desktop only for a moment, then xlock will kick in to lock the screen.
You will have to use Xlock password to unlock screen and get usable desktop.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#5 Post by bigpup »

I am all worried about running as root.
Do you really understand what the difference really is by not running as root?
https://igurublog.wordpress.com/2010/01 ... -not-root/

Puppy Linux is a one user Operating System. (root)
It really does not offer other users to use it.

There is spot.
But spot is made to run web browsers, so they only can download to and access spot directory.
All other programs are being run as root.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

#6 Post by rockedge »

I create additional users all the time on Puppy Linux. To run web servers and mysql database servers, separate users are needed. In /home/www-data/.bashrc I can place this file to specify certain parameters while running as www-data if I decide to run programs from the terminal as www-data.

One can add and/or change the passwd for the user name and use /home/www-data as a FTP login directory when pure-ftpd is running for example

Skype will start directly in a terminal that has

Code: Select all

root# su www-data
www-data:root$/usr/share/skypeforlinux/skypeforlinux

B.K. Johnson
Posts: 807
Joined: Mon 12 Oct 2009, 17:11

#7 Post by B.K. Johnson »

what is the default login username?
[color=blue]B.K. Johnson
tahrpup-6.0.5 PAE (upgraded from 6.0 =>6.0.2=>6.0.3=>6.0.5 via quickpet/PPM=Not installed); slacko-5.7 occasionally. Frugal install, pupsave file, multi OS flashdrive, FAT32 , SYSLINUX boot, CPU-Dual E2140, 4GB RAM[/color]

User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

#8 Post by rockedge »

the root default password is 'woofwoof'

User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

#9 Post by rockedge »

overflow

B.K. Johnson
Posts: 807
Joined: Mon 12 Oct 2009, 17:11

#10 Post by B.K. Johnson »

@rockedge
Was "overflow" in answer to my question?
[color=blue]B.K. Johnson
tahrpup-6.0.5 PAE (upgraded from 6.0 =>6.0.2=>6.0.3=>6.0.5 via quickpet/PPM=Not installed); slacko-5.7 occasionally. Frugal install, pupsave file, multi OS flashdrive, FAT32 , SYSLINUX boot, CPU-Dual E2140, 4GB RAM[/color]

User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

#11 Post by rockedge »

no, the post somehow ended up being submitted twice quickly and the thread ended up with the same post doubled. I could have used 'deleted' but I thought I'd come back when I had more to add

B.K. Johnson
Posts: 807
Joined: Mon 12 Oct 2009, 17:11

#12 Post by B.K. Johnson »

My asking for the username may sound silly, but ...
I intended to post asking for both username and password then stumbled on this thread and got the password.
Here's why!

There have been quite a few posts. including mine, complaining about puppy freezing.
Because it has been a real PITA for me, repeatedly losing unsaved Composer files, and files temporarily saved to /, I started researching if it's a common Linux problem or unique to puppy or a problem that is Firefox related and a "portable" will solve.

It turns out not to be unique to puppy. I found a few suggestions related to to the GNOMe and XFCE desktops. When my computer froze yesterday, I remembered that one suggestion was Alt+F2. I didn't expect a miracle, but tried it. On a black screen, I got a prompt for login and password. My guesses all failed. I had to press the power-off button.

I wasn't aware of what I considered a backdoor to puppy. So, what is the secret login and password that I can use o my next ftrrze.

Ihad no idea this backdoor existed. Hopefully, peebee or someone elsr can shed some light on this.
Stay tuned.
[color=blue]B.K. Johnson
tahrpup-6.0.5 PAE (upgraded from 6.0 =>6.0.2=>6.0.3=>6.0.5 via quickpet/PPM=Not installed); slacko-5.7 occasionally. Frugal install, pupsave file, multi OS flashdrive, FAT32 , SYSLINUX boot, CPU-Dual E2140, 4GB RAM[/color]

williams2
Posts: 337
Joined: Fri 14 Dec 2018, 22:18

#13 Post by williams2 »

A Linux OS may start with a text terminal interface (video monitor and keyboard) called a console, to control the operating system.

A long time ago, computers were controlled from a console built into the front of the machine, consisting of switches and lights.

Many Linux OSs have more than one text console, so they are called virtual consoles, as opposed to a text terminal console connected directly to the machine.

My Puppy has 3 virtual text consoles.
You can switch to the first console by pressing ctrl+alt+F1
This is the console Puppy was using when it first started.
You can switch to the other 2 consoles by pressing
ctrl+alt+F2 and ctrl+alt+F3

You can switch back to the graphic interface by pressing ctrl+alt+F4

See /etc/inittab

You need to login to the shell (user user interface).

First type the user name, press <enter>
then type the password then press enter.

You probably want to login as root
The default root password is woofwoof

You can change or set a password by typing passwd

If you set a password for spot, you can login as spot,
though spot can't do much.

If you are logged in as root you can do things like kill processes that might need killing.

You could login as root in one virtual console and login as spot in another console.

sankarv
Posts: 26
Joined: Thu 09 Mar 2006, 07:05
Contact:

reg avoiding root login

#14 Post by sankarv »

thanks a lot folks for all suggestions. it worked. 8) 8)
[color=blue][i]Thanks,
Sankar.[/i] [/color] :)

Post Reply