LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices

Reply
 
Search this Thread
Old 09-02-2012, 09:28 PM   #1
lghizoni
Member
 
Registered: Dec 2011
Location: Brazil
Distribution: Ubuntu
Posts: 94

Rep: Reputation: Disabled
Change user permissions , wireless and bluetooth


Hello all,

I was a Debian user in the past, but started using Linux Mint MATE, and it works great! It recongizes everything! I'm very satisfied!

I just got three things to solve:

1. I would like to change the user permissions, as I had in Debian, in which only root could make changes. Mint gives almost all permissions to the user by default, and I would like to change it like it was in Debian, but I don't know how. Could someone help me?

2. Another thing is wireless, which by default works just fine. It's just that I disabled it once, and now I always have to enable it manually when I start the system;

3. Finally, Mint works with bluetooth by default, but today I tried to connect my cell phone and couldn't do it. It's a Nokia phone. I would like to pass some data from the computer to the cell phone.

Could someone help me with these 'problems'?

Thanks a lot!
 
Old 09-02-2012, 10:07 PM   #2
abrinister
Member
 
Registered: Dec 2010
Location: /home
Distribution: RL: Arch x64 VM: Debian
Posts: 460

Rep: Reputation: 38
Quote:
1. I would like to change the user permissions, as I had in Debian, in which only root could make changes. Mint gives almost all permissions to the user by default, and I would like to change it like it was in Debian, but I don't know how. Could someone help me?
What do you mean by this? Everything is given to sudo, which the user interface to the root account. If you want to enable the root account,

Code:
sudo su -

passwd root
Quote:
It's just that I disabled it once
How did you disable it?

Alex Brinister
 
Old 09-03-2012, 06:00 PM   #3
lghizoni
Member
 
Registered: Dec 2011
Location: Brazil
Distribution: Ubuntu
Posts: 94

Original Poster
Rep: Reputation: Disabled
I've already changed the root password. But the user still gets access to lots of things with his own password, and I would like to change that. I would like just the root can get access to updates, installations etc.

As the wireless, I disabled it manually with right-click on the connection icon. Now it doesn't connect automatically anymore. I always have to enable it with the keyboard.

Thanks in advance!
 
Old 09-03-2012, 09:59 PM   #4
abrinister
Member
 
Registered: Dec 2010
Location: /home
Distribution: RL: Arch x64 VM: Debian
Posts: 460

Rep: Reputation: 38
You can remove the line with your username in the /etc/sudoers file.

Alex Brinister
 
Old 09-26-2012, 11:52 AM   #5
lghizoni
Member
 
Registered: Dec 2011
Location: Brazil
Distribution: Ubuntu
Posts: 94

Original Poster
Rep: Reputation: Disabled
Sorry not to answer quickly...

That's exactly what I want, get the user out of the sudoers file, but I tried it once and I thing I've made some mess, because I had to reinstall the system to work properly.

I'll show the output of my /etc/sudoers here. Can you, please, tell exactly what to erase???

Thanks a lot!
 
Old 09-26-2012, 12:01 PM   #6
lghizoni
Member
 
Registered: Dec 2011
Location: Brazil
Distribution: Ubuntu
Posts: 94

Original Poster
Rep: Reputation: Disabled
#
# This file MUST be edited with the 'visudo' command as root.
#
# Please consider adding local content in /etc/sudoers.d/ instead of
# directly modifying this file.
#
# See the man page for details on how to write a sudoers file.
#
Defaults env_reset
Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"

# Host alias specification

# User alias specification

# Cmnd alias specification

# User privilege specification
root ALL=(ALL:ALL) ALL

# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL

# Allow members of group sudo to execute any command
%sudo ALL=(ALL:ALL) ALL

# See sudoers(5) for more information on "#include" directives:

#includedir /etc/sudoers.d
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] filesystem permissions question - making so user can't change permissions? c0pe Linux - Security 4 07-12-2010 09:06 AM
why a non root user can't change the permissions of /tmp ? raj_hcl1986@rediffma Linux - Newbie 4 11-09-2008 03:58 AM
Help with user permissions?-(So i can change grub) mitchell7man Linux - Software 5 03-15-2007 11:52 PM
Change my user to root permissions metalaid Linux - Newbie 5 01-19-2004 08:17 PM
How do I change permissions so I can mount cdrom as user? bearon50 Slackware 1 12-22-2003 05:43 PM


All times are GMT -5. The time now is 05:39 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration