user management password

All Gurus once were Newbies
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. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

user management password

Postby gsx1100f on Thu Mar 14, 2013 12:28 pm

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?
gsx1100f
Level 1
Level 1
 
Posts: 6
Joined: Thu Mar 14, 2013 10:00 am

Linux Mint is funded by ads and donations.
 

Re: user management password

Postby cecar on Thu Mar 14, 2013 12:41 pm

The password is your login password. You are the administrator of your computer.
cecar
Level 4
Level 4
 
Posts: 364
Joined: Tue Aug 24, 2010 2:47 am
Location: Stenungsund, Sweden

Re: user management password

Postby gsx1100f on Thu Mar 14, 2013 12:53 pm

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.
Last edited by gsx1100f on Thu Mar 14, 2013 1:02 pm, edited 1 time in total.
gsx1100f
Level 1
Level 1
 
Posts: 6
Joined: Thu Mar 14, 2013 10:00 am

Re: user management password

Postby cecar on Thu Mar 14, 2013 12:57 pm

To edit your smb.conf file. In Terminal:
Code: Select all
gksu kate /etc/samba/smb.conf
cecar
Level 4
Level 4
 
Posts: 364
Joined: Tue Aug 24, 2010 2:47 am
Location: Stenungsund, Sweden

Re: user management password

Postby gsx1100f on Thu Mar 14, 2013 1:07 pm

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/"
gsx1100f
Level 1
Level 1
 
Posts: 6
Joined: Thu Mar 14, 2013 10:00 am

Re: user management password

Postby cecar on Thu Mar 14, 2013 1:10 pm

Sorry its kdesu in KDE.

Code: Select all
kdesu kate /etc/samba/smb.conf
cecar
Level 4
Level 4
 
Posts: 364
Joined: Tue Aug 24, 2010 2:47 am
Location: Stenungsund, Sweden

Re: user management password

Postby gsx1100f on Thu Mar 14, 2013 1:13 pm

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
gsx1100f
Level 1
Level 1
 
Posts: 6
Joined: Thu Mar 14, 2013 10:00 am

Re: user management password

Postby cecar on Thu Mar 14, 2013 1:18 pm

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


That's because you edit it without administrator rights so you have to open it with super user priviligies. This one SHOULD work.

Code: Select all
sudo kate /etc/samba/smb.conf
cecar
Level 4
Level 4
 
Posts: 364
Joined: Tue Aug 24, 2010 2:47 am
Location: Stenungsund, Sweden

Re: user management password

Postby gsx1100f on Thu Mar 14, 2013 1:24 pm

Thx
gsx1100f
Level 1
Level 1
 
Posts: 6
Joined: Thu Mar 14, 2013 10:00 am

Linux Mint is funded by ads and donations.
 

Return to Newbie Questions

Who is online

Users browsing this forum: Bing [Bot], mattfaria12, Mute Ant and 38 guests