Ubuntu :: No SUDO Access When Admin User Created Through Kubuntu User Manager?

Jan 6, 2010

Original HOWTO can be found at: [URL]... So the other day I was in IRC and someone had brought up a problem where they created a new Administrative user, but didnt have rights to use sudo. Looked into the problem a little bit to figure out what was wrong, and it turns out that when you create a new user through the user manager (in kubuntu, anyways. Havent tested in Gnome.) the user gets added to the adm group, however, a quick look at the sudoers file shows that its looking for users in the admin group to allow the use of sudo. So, to solve the problem we do the following: If youre on the new admin user (which Im assuming you are) use the following commands:

Code:
su [insert username of old account without brackets]
sudo usermod -G admin [username of new admin account without brackets]
exit

Then simply logout, and then log back in (not always necessary, but the easiest way to flush the permissions.)

Code:
su [insert username of old account without brackets]
Means were going to Switch User to the old admin account
Code:
sudo usermod -G admin [username of new admin account without brackets]
This simply adds the admin group to the secondary group list for the new user
Code:
exit
Pretty self explanatory

View 4 Replies


ADVERTISEMENT

Security :: Ubuntu 10.10 Is Not Allowing Amin Privileges To Admin User, Even Tho Sudo Works?

Feb 21, 2011

i am relatively new to ubuntu. Just recenty i have not been able to access certain files(for example the history and bookmarks in the firefox folder), download files individually from the internet(music,fonts,etc), recieving an error message

Quote: Originally Posted by firefox error console

Error: [Exception... "Component returned failure code: 0x80520015 (NS_ERROR_FILE_ACCESS_DENIED) [nsIFileOutputStream.init]" nsresult: "0x80520015 (NS_ERROR_FILE_ACCESS_DENIED)" location: "JS frame :: file:///usr/lib/firefox-3.6.13/components/nsSessionStore.js :: sss_writeFile :: line 2944" data: no][code]...

i have sudo priveleges and can install via update manager. i read somewhere that compizfusion might affect access permissions and i do use compiz and emerald at the same time.

View 9 Replies View Related

Ubuntu Networking :: Admin Profile Can Access Websites While Standard User Cannot

Apr 20, 2011

First off, since this seems like a networking issue I put it here, but if it should be somewhere else, the powers that be should definitely move it over.

I'm using Ubuntu 10.10 on Dell Presario M2000 I have made sure that all updates have been done.

As the subject states, the admin account (mine which I'm posting to the forum with right now) can access the internet and see webpages. The user account on this laptop (my underaged sister who my parents don't want full access to the computer) will not access any webpages, it just continually looks like its loading.

I have made sure the wireless card drivers are installed and activated.

Also, I ran iwconfig and ifconfig and here are their results

p { margin-bottom: 0.08in; } Results of iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wlan0 IEEE 802.11bg ESSID:"myqwest4137"

[Code]....

These were both run from the user account. At this point it looks like its connecting to the internet through the wireless card as I was also able to run the update manager through the user account and have it download the updates (after putting in my admin password of course).

View 2 Replies View Related

Ubuntu :: Why The User Created At Installation Time Is A Custom User Instead Of An Administrator

Oct 31, 2010

why the user created at installation time is a Custom User instead of an Administrator.

View 4 Replies View Related

Software :: Access Denied : User Admin Is Not Allowed To Use The Webmin Configuration Module?

Apr 14, 2010

I keep receiving the error message in the title above whenry to enterebmin.abc.com/webmin. I'm on Ubuntu 9.10. Other errors I'll receive are "You do not have access to any Webmin modules". Wondering if anyone knew what settings our permissions on files I could change to avoid these error

View 1 Replies View Related

General :: Change Password For Newly Created User And Root User Using Graphical?

Jan 15, 2010

I am using mint 8 for a 2 weeks, I am noob to linux but I like Mint than any other linux distro which is great alternative to windows. I have a problem regarding password reseting.

1. My laptop automatically get logged in without asking user name and password.

2. I tried to change password for newly created user and root user using graphical way but it does not work.

2. I can perform administrator task using only OEM user which is default inbuilt user of mint.

How can make my laptop to ask password when mint get booted? How to change password for other users?

View 1 Replies View Related

Security :: Changing Home Directory Permission In User Management After User Created In Suse(KDE)?

Feb 2, 2011

created a user but i forgot to change the home directory permission.so after user created when i go to the user and group mangement i cant see that permission filed related to the home permission directory.my purpose is to stop accessing other user to my home directory,how it can be possible??

View 4 Replies View Related

Ubuntu :: Get Root User Access Without Using Sudo?

Apr 23, 2010

It's been a few years since I last installed Ubuntu. I searched the forums and can't seem to find the answer. I want to be able to do a "su root" and have root access. I know Ubuntu wants you to do the sudo command, and I know you can really mess things up being root. I know I got this to work before. What do I need to do?

View 3 Replies View Related

Ubuntu :: Only User Cannot Gain Sudo Access

May 11, 2010

I'm the only user, can login (meaning I know my pass). But cannot Sudo. I'm on Ububtu Studio, the latest release. Doesn't make any sense.

View 2 Replies View Related

Ubuntu :: Home Network - Media Drives Are Automatically Mounted To Allow Access If The Admin User Is Not Logged In?

Jul 9, 2010

This is the set up I have: PC downstairs by a tv, with 3TB of storage containing my media, connected to the tv too. HTPC upstairs by another tv and connected to it. A few laptops and other desktops around the house which are windows based

I want the downstairs pc to act as a file server and to run my torrent client, it is running Ubuntu desktop version and has xbmc installed too for use with the tv. The upstairs htpc has xbmc live on and will access the media from the file server. What I am looking to do is to be able to log into my ubuntu machine remotely from a laptop running windows so I can manage the files and add torrents for download etc, but for this to be a complete remote session, rather than taking control over what is already being shown on the downstairs pc, like VNC does in windows.

I have two user accounts set up on the main ubuntu machine, the admin account and a media user account which is set to go straight to xbmc after log in. Also how can I make sure that the media drives are automatically mounted to allow access if the admin user is not logged in?

View 9 Replies View Related

Security :: Sudo Access For An User To A Script?

Jan 18, 2011

I am trying to get a non-root account on one of our servers to run a script with sudo capability. To that end, I went into the /etc/sudoers file, and added the following syntax:

Code:
## Enable the nagios user to run the check_iptables.sh script as root
nagios ALL=NOPASSWD: /usr/local/nrpe/libexec/check_iptables.sh, /sbin/iptables

I restarted the nagios service, and tested the results. The results were the user account still could not run the script due to the user, nagios, not having permission to run the iptables binary.

Is there another step(s) that I need to take in order to get the sudo access available to the user account?

View 1 Replies View Related

General :: Provide Sudo Access To Oracle User?

Dec 9, 2010

I need to provide sudo access to Oracle User, run only this particular "SRVCTL" command.

Do I need to edit "sudoers" file .if so where do I need to add these two lines in sudoers file.

1. apps/opt/grid/bin/srvctl

2. /apps/opt/oracle/product/11.2.0/db_1/bin/srvctl

View 2 Replies View Related

Ubuntu Security :: Unable To Deny Sudo Access To Regular User Account.

Dec 19, 2010

I made a Desktop User account. When I went on that account, it allowed me to execute sudo as if I was an administrator. I don't know what might be causing this. I do have ufw set up and blocking incoming connections. Do you guys know what might be at the root of this?Also, when I used sudo from the user account (which I shouldn't have been able to do), I provided the password for my admin account.

View 9 Replies View Related

Ubuntu :: Access User Account 1 Home Directory From User 2 Work Space?

Jun 16, 2011

Do you think there is a way of accessing different user data from another account which I have set up.

Ie. user 1 = account has messed up

user 2 = account works fine

access user account 1 home directory from user 2 work space?

View 9 Replies View Related

OpenSUSE Network :: Root User Has Access To Remote Folders/files Of Any User?

Jan 21, 2010

Prelude: OpenSUSE 11.2 (2.6.31.8-0.1-desktop), installed Novell client 2.0 SP2 (novell-client-2.0-sp2-sle11-i586.iso).

I found that if any usual user is logged into a NDS-tree, then _local_ root has full access to user's network shares, including the user's home directory located on remote Netware-server. Is it by design or
have I missed something? Nevertheless in windows local admin has no access to network resources mounted of any other user. If you runas shell (as admin) then admin in principle can't "see" network shares which were mounted (connected) by other users - they are accessible ("visible") per session.

View 3 Replies View Related

OpenSUSE Network :: Laptop Samba PDC User And Local User Access Their Own Data?

May 30, 2011

Take a physical user FRED. FRED is a linux user ( known by linux on his laptop ) FRED is a Samba user ( Known by samba on the samba pdc server ) When he logs locally (with username/password) on its standalone laptop (with no network), he is known as FRED:user. He access his data in /home/FRED/. When he logs through samba (with username/password) on the domain MY_DOM, he is known as MY_DOMFRED:MY_DOMdomain user. He access his data in /home/MY_DOM/FRED/. ) Is it possible that the human FRED has only one repository and have full access to its repository regardless of how it was connected. If yes, how to do it

2) If not, Is it possible that the human FRED has full access to /home/FRED/.............. and /home/MY_DOM/FRED/.

View 4 Replies View Related

General :: Give User Access To Directory In Another User's Home

Mar 8, 2010

I'm developing an application in which one user must run java software that I'm compiling as another user. I wanted to give user A permission to see the bin direcory of my workspace, which is in the home directory of user B. I was wondering how can this be done? I gave the bin direcotry full read/execute premissions, but since it's in my home directory user A can't navigate to it.

I know there are a few ways I could get around the problem but they arn't very elegant. I was wondering if there is a simple method for giving a user access to a specific directory without giving access to all the parent directories. I tried symbolic link but user A still can't access it, and a hard link to a directory isn't allowed in Linux. I don't feel like making a hard link to every single file in the bin directory, and I'm not sure that would work anyways, since every recompile overwrites them.

View 7 Replies View Related

Ubuntu :: 3 User Accounts 1 Admin?

Feb 6, 2010

I'm installing a new laptop for a friend of mine and he wants 3 user accounts, similair to how he runs his windows setup.

1, an admin account, we have called this account peacemaker.
2. his account
3. an account for his girlfriend.

The problem we have is that if we want to do anything from the terminal that requires elevated priviledges, sudo does not accept his password or that of peacemakers. we have done sudo -i -u peacemaker but it still doesn't accept either password, stating his account is not in the sudoers list.

I'm not a massive expert here, but research brought me to this page:[URL]... But that then just means his account has admin rights, which is what we were trying to avoid. We wanted a setup similair to windows where if you want to run someting with elevated privledges if pops up asking for the admin password. This works in the gui, but not in the terminal.

So in short, my question is, is there anyway of having the terminal accept peacemakers user rights from the his normal user account? If I add the account to the sudoers list like it suggests, does this again just give his account the prilvedges rather than saying supply me with the password for peacemaker.

this is probably not really needed and he can just have his account as the main user, but coming from a windows background, he would prefer the 3 user accounts model (2 normal users, 1 admin)

View 4 Replies View Related

Ubuntu :: Make An Existing User Admin?

Sep 2, 2010

how would i make an existing user on kubuntu 8.10 an administrator with root access?

View 3 Replies View Related

Ubuntu Security :: Adding User To Admin Group

Jun 15, 2010

I'm trying to edit a "xl2tpd.conf" file but it always says I have no write permission tried to add my account to admin group but it says something about not able to lock on password try later.

View 3 Replies View Related

Ubuntu / Apple :: Admin - User And Groups Not Working?

Jan 22, 2011

After finally getting Ubuntu 10.10 PPC up and working on my Mac Cube with low capability graphics, I noticed that when I try to run the "User and Groups" from the Administration menu, the program looks like it is starting but then never actually displays.. It shows up at the bottom of the running programs bar and then disappears. Well after having to completely re-install Ubuntu PPC 10.10 and installing all of the updates, User and group Administration still isn't working.. another app that would let me add my wife to my G4 Cube so she could use it?

View 9 Replies View Related

Ubuntu :: Accidentally Deleted An Admin User Account?

Aug 9, 2011

I had two accounts. One was an admin and I set the other as an admin as well, but left it without a password since I wanted the new user to enter it themselves. I went into the new admin account and deleted the old, passworded one.

However, this new account doesn't have a password that I explicitly defined on it. How do I change that? The account is the only one and still 'disabled'.

View 8 Replies View Related

Ubuntu :: 10.04 - Truecrypt File Only Works On Admin User

Sep 14, 2010

A regular (non admin) user can create a Truecrypt 7.0a file, but it can't be mounted. The admin password is refused. If you try the regular user password, the error is that you are not on the sudo list.

View 1 Replies View Related

Debian :: Admin Can't Unlock User Account

Feb 7, 2016

I made the mistake of using the command 'adduser' on an already existing user. I was incrementing a name and mis-typed. Now the account refuses to recognize the users password. The user can get in.

I tried resetting the password as administrator (passwd 'user'), but when the user tries, the new password isn't recognized.

I tried expiring the account password (passwd -e user). The user gets prompted for a new password, but the new password still doesn't get recognized.

View 14 Replies View Related

Fedora :: How To Make Admin Old User Account

Dec 4, 2009

how to make a admnistrator account and change normal user role admin role i want to modify file system

View 3 Replies View Related

Fedora :: New Account (with Admin Privs) For The New User?

Jan 7, 2010

I just tried to change a user account by changing its name, password, and home directory. But first I had created a new account with the new name, pass, home directory. I tried to log into the new account but got a dead account. Nothing came up, and it didn't allow anything, complaining about "can't create Nautilus," and other such error messages.

Tried to go into the Constantine login screen and put in "root" and the original password. "Invalid Use..." Tried "root" with the new pass. "Invalid..." So what can I do at this point to get in and create a nice, clean, new account (with admin privs) for the new user?!

View 1 Replies View Related

General :: Create User With Non Admin Privileges?

May 6, 2011

i have centos5.3 i want to create user with non admin privileges he is unable to see contents of server only he will able to login nothing else

View 12 Replies View Related

General :: Ubuntu - Turn Into Admin Group A Regular User?

Apr 9, 2010

i've got a regular user i want to turn into admin group so he can have same privileges as a root. should i just change the GID in /etc/passwd and /etc/group or should i use usermod/groupmod?

View 3 Replies View Related

Ubuntu :: Prime User Suddenly Removed From Admin Group?

Mar 10, 2011

Twice today, and several times recently, I have had a sudo command rejected with the dreaded message "<user> is not in the sudoers file..." It's because my user -- which is the main user, the one you create on Ubuntu installation -- has "fallen out of" the admin group. I can fix it because there are other users defined which are still in the admin group and I can su to one of them and add myself back.But why is it happening? I'm doing software development, and use sudo mainly to do benign things like copying new versions of Perl programs into the application library: I'm not going anywhere near the security subsystem, for instance. I'm worried that one day whatever-it-is will choose to drop all the users out of admin and then I'll have to resort to live CD hacking to fix it.

View 3 Replies View Related

Server :: Giving AD User Local Admin Rights In Ubuntu

Jul 16, 2009

I'm having a bit of a problem after joining Ubuntu 9.04 to my company's Windows Domain. I can log in and use sudo just fine but I don't have access to certain things in my menu (i.e. "Add/Remove Software") and I can't open the User Manager. I manually edited the /etc/group file as root and added my username (username@domain) to the appropriate groups but still no luck.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved