The "root" account is the most privileged account on a Unix system.
2
votes
2answers
61 views
Finding root password
I installed a Ubuntu and it only has a user. I can login to the system without login. It doesn't ask me for un/pwd. but when I am in, and I want to run some commands as root (sudo), it ask for ...
1
vote
3answers
55 views
Shell script to become root
How can we write a shell script to become root?
That is I donot want to input the password at prompt it should be within the script itself. I was trying to make but failed to do so.Is it possible, if ...
3
votes
1answer
70 views
Why is it a bad idea to run as root? [closed]
Possible Duplicate:
Concern about logging in as root overrated?
I often hear that it's a bad idea to use root for general use.
Why is this a bad idea?
2
votes
3answers
68 views
Added bin directory to my path, can't execute commands in it with 'sudo command'
I made a bin directory in my home folder where I place all my scripts. Then in my .bashrc I added the following:
export PATH=$PATH:/home/myusername/bin
So I could access files I placed in there ...
3
votes
2answers
147 views
How do I find out if I am sudoer?
How does Linux system behave when I am not sudoer?
Here is what happens if I try to use sudo:
server:/tmp>$ sudo cal
[sudo] password for user:
Sorry, try again.
Is it possible that I just don't ...
1
vote
2answers
126 views
How to remove root password on Debian?
I'm running Debian in a virtual machine and for convenience I would like to remove the password on root (since it doesn't really matter what happens to this box). Internet hasn't been too helpful on ...
1
vote
2answers
59 views
Another account with same uid as root gets prompted to set new password for root, not itself
After upgrading the os from 5300-06 to 5300-11, this weird behaviour happened.
My system had another unix account, let's call it "abc", purposely configured its uid to 0 for working as a root with ...
0
votes
1answer
100 views
su authentication failure after setting new password
I compiled a new kernel(3.2) and I have it running on an ARM board.
I wanted to enable some params on the /proc directories. Therefore I have to be logged in as root.
Hence I did the following on my ...
11
votes
4answers
346 views
How universal is sudo?
I was writing some instructions on how to install something (TeX-related - if you don't ask, I won't ruin your day by supplying more details) and used sudo to install system-wide. Someone commented ...
2
votes
1answer
69 views
How do I get simple scripts which seem to need root priveliges to run via the www-data user?
I am programming a small webinterface to control samba on Debian (kernel 2.6.32-5-686). I started by writing simple scripts to add users, create folders, etc. They worked fine when run as root. ...
1
vote
3answers
130 views
Root permission - username ALL=(ALL) ALL does not work
I'm a beginner.
I'm trying to give my user root permissions, so I edited the sudoers file like this:
black ALL=(ALL) ALL
"black" is my username.
But I still don't have root permissions, and ...
2
votes
1answer
53 views
Can I lock the root account during an install of Debian GNU/Linux 6 “squeeze”?
By default, Ubuntu locks account root; can I do the same, in Debian GNU/Linux 6 "squeeze", during install?
1
vote
0answers
60 views
Automatically start named pipe reader on startup?
I'm trying to run a script with root access from PHP. I can't do that because Apache's user, www-data, don't have root access because of security reasons. To fix that, I was advised to use a named ...
0
votes
1answer
107 views
How to operate as root in GUI?
Following the standard recommendation I use my Linux system with a normal account and switch to root only in special cases.
When browsing the file system using GUI sometimes an error pops up - You do ...
3
votes
2answers
257 views
How to give user root permissions?
I just installed Arch. Works great. I created a new user, logged in with it and now I'm trying to install several thing with pacman. But I keep getting the error: error: you cannot perform this ...