I have just installed the KDE edition of linux mint 14.
I read on the internet how to join a windows workgroup, however when I try to edit the etc/samba/smb.conf file, I do not have the permission to save the changes. I don't know the administrator password (it didn't ask me during the installation).
If I go to the user management, It tells me that /usr/bin/kcmshell4 userconfig needs administrative privileges and asks mo for a password. The current (and only existing user) password does not work and no blank password.
How can I get the passwords?
user management password
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
user management password
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: user management password
The password is your login password. You are the administrator of your computer.
Re: user management password
It does not let me run the user management with my password, as if I was not the administrator
/EDIT/ after a few times it did let me in the user management, but I still kave the problem that I cannot change the smb.conf file.
/EDIT/ after a few times it did let me in the user management, but I still kave the problem that I cannot change the smb.conf file.
Last edited by gsx1100f on Thu Mar 14, 2013 1:02 pm, edited 1 time in total.
Re: user management password
To edit your smb.conf file. In Terminal:
Code: Select all
gksu kate /etc/samba/smb.conf
Re: user management password
I typed what you said and it gave me : "The program 'gksu' is currently not installed. You can install it by typing:
sudo apt-get install gksu"
When I typed: "sudo apt-get install gksu"
I got: "[sudo] password for ruben:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
gcr gnome-keyring libcap2-bin libgck-1-0 libgcr-3-1 libgcr-3-common
libgksu2-0 libgtop2-7 libgtop2-common libpam-cap libpam-gnome-keyring
Suggested packages:
libcap-dev
The following NEW packages will be installed:
gcr gksu gnome-keyring libcap2-bin libgck-1-0 libgcr-3-1 libgcr-3-common
libgksu2-0 libgtop2-7 libgtop2-common libpam-cap libpam-gnome-keyring
0 upgraded, 12 newly installed, 0 to remove and 419 not upgraded.
E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/cache/apt/archives/"
sudo apt-get install gksu"
When I typed: "sudo apt-get install gksu"
I got: "[sudo] password for ruben:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
gcr gnome-keyring libcap2-bin libgck-1-0 libgcr-3-1 libgcr-3-common
libgksu2-0 libgtop2-7 libgtop2-common libpam-cap libpam-gnome-keyring
Suggested packages:
libcap-dev
The following NEW packages will be installed:
gcr gksu gnome-keyring libcap2-bin libgck-1-0 libgcr-3-1 libgcr-3-common
libgksu2-0 libgtop2-7 libgtop2-common libpam-cap libpam-gnome-keyring
0 upgraded, 12 newly installed, 0 to remove and 419 not upgraded.
E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/cache/apt/archives/"
Re: user management password
Sorry its kdesu in KDE.
Code: Select all
kdesu kate /etc/samba/smb.conf
Re: user management password
I get "kdesu: command not found".
The problem is not editing the file (there is an editor "Kate" that edits the file). My problem is that I cannot save the changes
The problem is not editing the file (there is an editor "Kate" that edits the file). My problem is that I cannot save the changes
Re: user management password
That's because you edit it without administrator rights so you have to open it with super user priviligies. This one SHOULD work.gsx1100f wrote:I get "kdesu: command not found".
The problem is not editing the file (there is an editor "Kate" that edits the file). My problem is that I cannot save the changes
Code: Select all
sudo kate /etc/samba/smb.conf