Can't su to root
- Vous devez vous identifier ou créer un compte pour écrire des commentaires
Just realised that I can no longer su into root, I get an authentication error.
Did do a recommended update a few days ago, would this be the cause?
You are typing the root's password and not your own, right? :)
I don't know if I'm having a funny turn here or not?
I can sudo fine, but I thought that Trisquel Mini was set up with root access? I'm sure that previously I could access root.
Does Trisquel Mini use su or sudo?
I don't know if I'm having a funny turn here or not?
I can sudo fine, but I thought that Trisquel Mini was set up with root
access? I'm sure that previously I could access root.
Does Trisquel Mini use su or sudo?
Maybe Trisquel has the disabled root user, just like Ubuntu.
Try
sudo su
or
sudo -s
http://askubuntu.com/questions/64178/why-is-sudo-s-better-than-sudo-su
https://help.ubuntu.com/community/RootSudo
Make sure you're still in the admin group with the command groups
your-user-name; you should replace your-user-name with your login username,
obviously!
If admin doesn't show up in the commands' output you'll have to add yourself
back to the admin group: shutdown your computer, boot with a liveCD, mount
the drive where the /etc/ folder is located and open the group file
(/etc/group).
In the group file there should be a line starting with admin:x: followed by a
number and :, something like admin:x:121: Now, all you have to do is to add
your username to the end of that line, like admin:x:121:myself
Then check if the sudoers file (/etc/sudoers) contains the following line:
%admin ALL=(ALL) ALL
If that line isn't there - create it.
sudo uses your password
su uses root's password
You can change roots password by
sudo su
passwd
exit
Maybe Trisquel has the disabled root user, just like Ubuntu.
Try
sudo su
or
sudo -s
http://askubuntu.com/questions/64178/why-is-sudo-s-better-than-sudo-su
https://help.ubuntu.com/community/RootSudo
Make sure you're still in the admin group with the command
groups your-user-name
You should replace your-user-name with your login username, obviously!
If admin doesn't show up in the commands' output you'll have to add yourself back to the admin group: shutdown your computer, boot with a liveCD, mount the drive where the /etc/ folder is located and open the group file (/etc/group).
In the group file there should be a line starting with admin:x: followed by a number and :, something like admin:x:121: Now, all you have to do is to add your username to the end of that line, like admin:x:121:myself
Then check if the sudoers file (/etc/sudoers) contains the following line:
%admin ALL=(ALL) ALL
If that line isn't there - create it.
--------------------------------------------------------------
UPDATE:
Oh! I've just realized that you have said that you can still sudo... Not shure if what i've said previously does you any good.
Yup, I'm in admin:
chris@chris-laptop:~$ groups chris
chris : chris adm dialout cdrom floppy audio video plugdev users lpadmin sambashare admin
I did a post recently about getting cpufrequtils working, had to install the cpufrequtils package, just noticed that this is no longer installed!
Last system update did include a kernel update, maybe this was it.
Anyways, I can sudo so panic over.
Yup, I'm in admin:
chris@chris-laptop:~$ groups chris
chris : chris adm dialout cdrom floppy audio video plugdev users lpadmin
sambashare admin
I did a post recently about getting cpufrequtils working, had to install the
cpufrequtils package, just noticed that this is no longer installed!
Last system update did include a kernel update, maybe this was it.
Anyways, I can sudo so panic over.
sudo asks your password
su asks root's password
You can change root's password by
sudo su
passwd
exit
- Vous devez vous identifier ou créer un compte pour écrire des commentaires