Tagged Questions
3
votes
1answer
70 views
How to enable or disabled a user?
I'm uing ubuntu 12.04 desktop. I have 3 users: user1(administrator), user2(standard) and guest. I wanted to disable user1 and enable user2 which auto logs on with no password but after I did that I ...
1
vote
2answers
169 views
What to do if I can no longer become the user root? [duplicate]
Possible Duplicate:
How do I reset a lost administrative password?
How can I give admin permissions to my account?
I have no root password and I accidentally removed the sudo privileges ...
3
votes
1answer
60 views
Bash - Get Sudoer Username?
Say I have the following bash script:
#!/bin/bash
echo $( whoami )
This is what it outputs with and without sudo:
alix@netbook:~$ ./test.sh
alix
alix@netbook:~$ sudo ./test.sh
root
The script ...
23
votes
5answers
2k views
How to NOT become a root user? Are administrators root?
I installed Ubuntu on my PC. To log in, I use the username and password I created during installation. Does this mean I am a root user? If yes, then how do I become non-root? It looks like non-root ...
2
votes
2answers
137 views
How to reset configuration for Compiz for another user?
After modify something in cssm the display manager in MyPersonalAccount doesn't work.
So I login in my root account and it is fine but I want to reset the Compiz configuration of MyPersonalAccount to ...
4
votes
1answer
5k views
Default groups for user in Ubuntu 12.10?
Installed HP Linux Imaging and Printing by using install script and something crashed. Now I'm only member of my own group and lp.
Which are the default groups for users in Ubuntu 12.10? Same as ...
4
votes
1answer
51 views
Is it advisable to become root in Ubuntu to work with other users' files?
When I moved to Ubuntu I worked hard to get out of the habit of working as root. However, is the situation below an example of one of the few times that a user should become root?
- neptune:~$ cd ...
1
vote
2answers
241 views
Why can root still edit files with a permission of 0?
I just wanted to delete most files from an external HD except some certain ones. So I chmod these ones to 0 and did a sudo rm -r ./*. Painfully, the result was that everything got deleted.
Why is ...
2
votes
2answers
438 views
what happens if all users are set as standard while root password not set
I don't dare to do as in the title.
So I set root password first with sudo passwd root, and then I change all other users to be standard user, none administrator, so no user can sudo.
If I want to set ...
1
vote
2answers
119 views
Why the need for sudo when I have only one account on machine? [duplicate]
Possible Duplicate:
Why is it bad to run as root?
I am bit confused about the need for sudo when I have a single user account set up on my machine. At install time I tried to call the name ...
1
vote
1answer
74 views
Configuring permissions with Bastille
I was using Bastille to improve the security of my OS. To set this software properly, it ask you several questions related to security rules and you respond it (Y-N). I'm stuck at this question that I ...
2
votes
4answers
2k views
I can't su as root, my account type is admin BUT am I root? [duplicate]
Possible Duplicate:
su command + authentication failure
i installed ubuntu successfully, but then i tried "su" on terminal and entered my password, authentication failed! and I don't think ...
1
vote
2answers
6k views
Admin password authenticates to log in, but not to install apps or change user accounts
I just installed Ubuntu 12.04. Then I changed my own user profile to not require a password and log me in automatically. What happened is, I'm still asked for a password once the desktop diplays. Once ...
9
votes
5answers
2k views
Why does Ubuntu force users to create a password upon installation?
There's been one problem I've had since I installed Ubuntu to run alongside Windows, I assume this would also be the same if it was installed to replace the other operating system as well, the ...
1
vote
1answer
301 views
How to Run files and open folders as an administrater 11.10
Solved!!!
Enable open as administrator in nautilus!
To get started, press Ctrl – Alt – T on your keyboard to open Terminal. When it opens, run the commands below:
enter code here
sudo apt-get ...
1
vote
4answers
3k views
Unable to login to super user from normal user
I have installed ubuntu 11.10 with no problem. But after login as a normal user, I am unable to switch to super user(using "su" command). Its showing "Authentication failure"
plz help me..
0
votes
0answers
58 views
how to back to be the administrator in ubuntu 11.10? [duplicate]
Possible Duplicate:
How to know my root password?
how to back to be the administrator in ubuntu 11.10
i was exploring in the users account. and i have changed my account rom administrator ...
0
votes
2answers
377 views
Missing password [duplicate]
Possible Duplicate:
How do I reset a lost Administrative(root) password?
I just installed again ubuntu 11.10 because ubuntu asked me for a password that I didn't have... And now again... ...
2
votes
2answers
345 views
Root Script Execution at Non-Root User LogIn/LogOut
A script that requires root privileges needs to be executed when a non-root privileged user signs in/out. How do I handle this?
8
votes
3answers
547 views
When Ubuntu asks for an admin user's password, how does it decide which administrative user to ask for?
I am setting up an Ubuntu (10.10) machine that will be used by several people. It is a shared machine in a small office. Its primary roles are hosting virtual machines with VirtualBox and serving ...
3
votes
4answers
4k views
Deleted Myself from Admin Group - Now Getting Error usermod: cannot lock /etc/passwd; try again later [duplicate]
Possible Duplicate:
Cannot lock '/etc/group' in recovery mode
I have a laptop with Ubuntu 11.10 that is shared between myself and two other family members. My user id was setup as ...
1
vote
0answers
151 views
How to become administrator again [duplicate]
Possible Duplicate:
How do I add myself back as a sudo user?
Well I was messing around with the user accounts and I noticed that my account was listed under "administrator".
I knew that ...
2
votes
0answers
146 views
How can I restrict changing of the keyboard layout to root users only? [closed]
Is there any way by which I can disable "changing the keyboard layout" so that only a user with root privileges can change the layout.
3
votes
1answer
339 views
How do I edit a file / launch an app without having to worry about “permission denied” messages?
When I need to edit a file (e.g. the httpd.conf file or the php.ini file) I start a terminal and open it with:
sudo vim /etc/apache2/httpd.conf
Most of the times, in order to be able to edit the ...
16
votes
6answers
13k views
How to enable root login?
I would like to enable the root account on my Ubuntu installation.
I realize the security implications of this.
9
votes
4answers
10k views
Change owner of internal hard drive partition from root to user
I have a number of drives internal and external. Some are partitioned. Most mount automatically at boot (all did at one point).
One partition is owned by root and therefore does not mount ...
3
votes
1answer
548 views
How to prevent a file under user folder to be deleted?
How can I make some file impossible to be deleted by user even if it is under his/her home folder?
3
votes
3answers
9k views
How to create a user with root privileges in bash?
I have run the following commands:
sudo groupadd -r testgroup
sudo useradd -g testgroup -M -r testuser
Notice the -r option, which according to the man page:
-r
...
5
votes
2answers
805 views
Can't perform regular sudo commands, have to use su now
I'm an ubuntu newbie I just installed 10.10 and I don't know what I did but now to perform actions that required sudo privileges (open synaptic, mount device, run apt-get install, etc) the OS won't ...
0
votes
1answer
623 views
How to work around the home directory changing to /root when using sudo?
With Natty coming out soon, I've been at work updating my deployment and self-config script to make my desktop on 11.04 run and look the way I want it to.
One bummer is that dbus seems to have ...
0
votes
2answers
852 views
Ubuntu user credentials, file permissions
I am using Ubuntu 10.10 for web development by using the symfony framework.
Normally I install Ubuntu Lamp (Turnkey edition), log in as root and configure all the necessary software in the server ...
7
votes
3answers
2k views
Should I enable root account for rsync?
How can I enable the root account? I know it is not usually recommended but I'd like to setup a non-interactive script to backup my server using rsync. I could use --rsync-path="sudo rsync" but then I ...
54
votes
17answers
5k views
Why is it bad to run as root?
I've often come across posts on forums or other websites where you see people joking in such a manner about running/logging in as root as if it's something awful and everyone ought to know about it. ...


