Re: [Trisquel-users] users group

2018-10-11 Thread zonyon
Thanks for replying, but when I tried the first command it spits out this  
denial message "Operation not permitted". It gives me that message because I  
need administrative approval, but I can access the computer only on Guest  
Session. 


Re: [Trisquel-users] users group

2018-10-10 Thread zonyon
I have the same problem. I can only access my laptop on guess session, I have  
lost my administrator privilege.
I have pressed all the keys (Shift, Esc, Spacebar ...) nothing works for me.   
I have read all the links posted on that thread and tried multiple time over  
and over again, nothing works. I am also new to GNU/Linux, how can someone  
help me, please?


Re: [Trisquel-users] users group

2018-08-21 Thread enduzzer
Indeed, encrypted disk cannot be accessed without a valid passport even if  
the computer allows booting from a USB live system.


All disks should be encrypted automatically and by default.


Re: [Trisquel-users] users group

2018-08-20 Thread enduzzer
Yes, my drive is encrypted. Grub console asks for decryption key before  
anything can be done with it. Trisquel 8 Grub has no password set, contrary  
to Trisquel 7.


However, MBanana's admonishment has already been echoed in the link I  
provided.


"Grub allows you to password protect its config and console, as well as  
individual operating system entries. Please note that this will not stop  
dedicated individuals, especially the ones that know what they are doing. But  
I assume you know that. Lets get started."


Re: [Trisquel-users] users group

2018-08-20 Thread enduzzer
For those concerned that Grub lets drop to root shell prompt so easily,  
there's a way to generate a password for Grub.


https://askubuntu.com/questions/656206/how-to-password-protect-grub-menu

Generate hash:

$ grub-mkpasswd-pbkdf2

Edit Grub configuration:

$ sudo nano /etc/grub.d/40_custom

Type this and save, filling in your user name and the hash just generated by  
the first command:


set superusers="username"
password_pbkdf2 username hash




Re: [Trisquel-users] users group

2018-08-19 Thread jp

YES THAT IS WHAT I SAW. THANKS FOR ALL YOUR HELP, SAVED MY LAPTOP.


Re: [Trisquel-users] users group

2018-08-19 Thread jp
I would like to thank everyone for your help, It is working again. would not  
been able to do this without everyone involved help.


THANKS AGAIN


Re: [Trisquel-users] users group

2018-08-19 Thread enduzzer

If you added the new user correctly, this is what you see:

myaccount@trisquel:~$ sudo adduser newuser
[sudo] password for myaccount:
Adding user `newuser' ...
Adding new group `newuser' (1002) ...
Adding new user `newuser' (1002) with group `newuser' ...
Creating home directory `/home/newuser' ...
Copying files from `/etc/skel' ...
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
Changing the user information for newuser
Enter the new value, or press ENTER for the default
Full Name []:
Room Number []:
Work Phone []:
Home Phone []:
Other []:
Is the information correct? [Y/n] y
myaccount@trisquel:~$

After this the new user 'newuser' can be selected at the login screen. It  
shows up.


Re: [Trisquel-users] users group

2018-08-19 Thread jp
would not let me add peter says already exists, true but not in log in, I  
added Josef-Peter with pw but when I log in it does the same as before it  
returns to log in?




Re: [Trisquel-users] users group

2018-08-19 Thread jp

Peter does not show up on the login as new user
 


Re: [Trisquel-users] users group

2018-08-19 Thread jp

I input #adduser peter there was no reaction? is that OK?


Re: [Trisquel-users] users group

2018-08-19 Thread enduzzer
You should see all the account names on the login screen. If you want to  
leave TTY1 and go to X, press ctrl+alt+F7.


Re: [Trisquel-users] users group

2018-08-19 Thread enduzzer

You don't type the hashtag.

just type 'adduser peter' (without quotes)

# = root prompt
$ = user prompt


Re: [Trisquel-users] users group

2018-08-19 Thread enduzzer

Create a new account

# adduser peter


Re: [Trisquel-users] users group

2018-08-19 Thread jp
I can Log in to my name on the tty1 screen but on the login page I had  
changed the name to the person who was buying the laptop with no log in that  
is when all the problems started. is there a way to change the name to peter  
on tty1?


Re: [Trisquel-users] users group

2018-08-19 Thread jp
Also am I able to leave the tty1 screen and go to the computer without  
logging in again? since the log in name is not mine on the log in page?


Re: [Trisquel-users] users group

2018-08-19 Thread enduzzer

Are you in Grub or TTY? TTY is completely different.


Re: [Trisquel-users] users group

2018-08-19 Thread enduzzer

--Grub menu access shift or escape at boot
--Advanced options --> recovery mode --> drop to root shell prompt
--mount -o remount,rw /
--passwd user_name
--reboot

Exact command mount:

'mount -o remunt,rw /' (without quotes)

Set passoword:

'passwd your_user_name' (without quotes & type your own user name)

It will ask for your new UNIX password, give it (won't echo = show). That's  
done twice.


Then type 'reboot' (without quotes).


Re: [Trisquel-users] users group

2018-08-19 Thread jp

Do I leave the Screen on that let me log in under tty1?


Re: [Trisquel-users] users group

2018-08-19 Thread jp

how do I write the exact command to have log in go back to PW?



Re: [Trisquel-users] users group

2018-08-19 Thread jp

How do I change back to a password on log in?


Re: [Trisquel-users] users group

2018-08-19 Thread enduzzer
What do you mean "change back"? You must have set your password. If you did  
that in Grub recovery, then at the login screen, type your password and log  
in.


Re: [Trisquel-users] users group

2018-08-19 Thread enduzzer

Did you set the password?

# passwd your_user_name


Re: [Trisquel-users] users group

2018-08-19 Thread jp
It seems to have worked, what do I do next it is still on the mate screen  
what do I do now?


Re: [Trisquel-users] users group

2018-08-19 Thread enduzzer

Post #13

https://trisquel.info/en/forum/users-group#comment-134976

To be sure, is your screen similar? Grub menu and options.


Re: [Trisquel-users] users group

2018-08-19 Thread jp
Thanks I tried all kinds of combinations of Log in and PW, I did that and it  
came up welcome to Trisquel GNU/Linux. still on the screen now what?


Re: [Trisquel-users] users group

2018-08-19 Thread enduzzer

Futile, it won't let the man in. Not without a password.

The only way in is to set the password. Recovery mode is the easiest way to  
do this.


Re: [Trisquel-users] users group

2018-08-19 Thread threepsion
Artisde, when you boot your pc and you are on the log on screen if you press  
Ctrl and Alt and F1 at the same time your screen should change to a terminal  
and you are prompted for a user name enter it and press return or enter you  
should then be prompted for your password enter it and press return or enter.  
If successful you will have logged on to your pc. If that works I can talk  
you through changing your user preferences back to requiring a password.


Re: [Trisquel-users] users group

2018-08-19 Thread enduzzer
Every GNU/Linux needs a boot loader (Grub is a boot loader). Grub's there and  
it has a rescue option in its menu. You'll just have to remain calm and keep  
your cool and press esc/shift at the right time. Try multiple times in a  
sequence.


Re: [Trisquel-users] users group

2018-08-18 Thread calmstorm

Nope, you can always reinstall the system if you think your locked out.

That's just one way, if you don't know how to burn an iso, just buy one from  
thinkpenguin.com


It is extremely easy to reinstall even when I was a noob to gnu/linux, it was  
easier than fedora.


Re: [Trisquel-users] users group

2018-08-18 Thread jp

i GUESS ALL i CAN DO IS THROW THE THING IN THE TRASH



Re: [Trisquel-users] users group

2018-08-18 Thread jp
I have tried it with every button, nothing brings up what it shows on the  
Utube video. I am using Trisquel 8. 


Re: [Trisquel-users] users group

2018-08-18 Thread jp

there is no boot rescue mode to choose


Re: [Trisquel-users] users group

2018-08-18 Thread enduzzer
Reboot and press shift or esc before Trisquel loads. Try to press it multiple  
times in a sequence after BIOS.


Re: [Trisquel-users] users group

2018-08-18 Thread jp
You'll have to use Grub boot rescue mode to gain root privileges. Select  
Grub's entry "Advanced" at boot.


No idea how to get to that above?



Re: [Trisquel-users] users group

2018-08-18 Thread jp
Thanks for your replies, but I#m new to using GNU/Linux, when it boots up it  
goes to sign in and the only way I can sign in is on guest which all is  
temporary. Mate won't change anything because it is guest only.






Re: [Trisquel-users] users group

2018-08-18 Thread enduzzer
You'll have to use Grub boot rescue mode to gain root privileges. Select  
Grub's entry "Advanced" at boot.


With full disk encryption, edit /etc/default/grub --> comment out (prepend  
with #) line 'GRUB_HIDDEN_TIMEOUT=0'. After changes to Grub, reload grub  
configuration 'sudo update-grub'.


Then select drop to prompt and proceed to change your account's password. If  
the drive is mounted read only, permissions must be changed and partitions  
remounted.


# passwd

https://askubuntu.com/questions/16042/how-to-get-to-the-grub-menu-at-boot-time

https://askubuntu.com/questions/826282/full-disk-encryption-how-to-boot-in-as-runlevel-1

https://wiki.ubuntu.com/RecoveryMode


Re: [Trisquel-users] users group

2018-08-17 Thread calmstorm

Do you have a password for when the laptop first boots up?

I think there is a way, but I will post if nothing else to keep thread alive.