The "root" account is the most privileged account on a Unix system.
-1
votes
1answer
19 views
Why CentOS 6.3 (x86_64) is not loading after reboot?
I have CentOS 6.3 (x86_64) VM on my ESXi (4.0.1)
I've installed some third party software (That is working fine without any problem)
After some times later i just rebooted my CentOS VM, but its not ...
1
vote
1answer
71 views
Running program as root without using sudo with normal user account
Is there a way to force to run program as root (with normal user) when there's no sudo on the machine (and can't be added)?
0
votes
1answer
38 views
can't ssh into remote host with root, password incorrect
I have a remote host,
previously I can ssh into it with root and password
ssh root@remote_host
or I ssh into it first using a regular user account
ssh esolve@remote_host
and then su root and ...
-3
votes
1answer
35 views
Invalid cross-device link while Hardlinking in the same file system
I have /home/myuser/Desktop/rc/.netrc file that i want hardlink to /root, ie home directory of root user.
When i do:
ln /home/user/Destkop/rc/.netrc /root
it gives the following error:
ln: ...
1
vote
2answers
28 views
Prevent root password change in ldap - debian
After setting up ldap authentication with pam in debian, evertything works fine.
Using the passwd command change the ldap password of the current user.
The problem is my ldap has been set up with an ...
0
votes
1answer
32 views
Ninja privilege escalation problem
I have a problem with ninja. I think I have configured it correctly. However, when I type in su test to login as test and then run sudo -i the log shows that test is in the ninja group when in reality ...
-4
votes
3answers
56 views
Linux prompt missing brackets
I'm using centos in my VPS server and guest system. There're two logins for a guest system. One is root and one is regular. After I mounted the guest system and chroot to the mounting directory, I ...
2
votes
3answers
49 views
I have installed Linux distribution. Do I need to set root account or the user account is enough?
I have these credentials that I am using for logging in with my Linux distribution (Ubuntu 13.04) when starting the computer:
james
myawesomepassword123
I type the password on the login screen and ...
2
votes
1answer
88 views
How to change the forgotten root password?
I am very new to Debian linux, I forgot my root password...actually I think I know what it is because it is the same password I have for pretty much everything but in the Terminal in tell me "Sorry, ...
-1
votes
3answers
81 views
Get environment variable of other user [closed]
Is there a way I can see the environment variable of an other user? I want to do that as root, so permissions won't be a problem I guess.
For the user himself, I use echo $PATH or set | grep PATH ...
0
votes
1answer
48 views
Unable to delete a directory even as root
I am unable to delete a directory even as root. The command rm -rf kdyiyv.pif
returns nothing. Then I tried the command, touch kdyiyv.pif for which there was an error: touch: setting times of ...
4
votes
2answers
113 views
Why cannot find read /run/user/1000/gvfs even though it is running as root?
Can someone tell me what I'm doing wrong, what this is, or how to fix it? I'm running Fedora 18 and getting the error shown
[root@servername /]# find . -name ngirc
find: `./run/user/1000/gvfs': ...
2
votes
2answers
60 views
Command added to visudo still is failing on permissions?
My sudo file has two commands in it right now that are allowed to run without logging in as root.
It looks like this:
user ALL=(root) NOPASSWD: /home/user/prog1.py
user ALL=(root) NOPASSWD: ...
0
votes
1answer
29 views
Which tasks/commands can't be executed with user gid=0 but not uid=0 on Linux [duplicate]
In a Linux server I will have an user with gid=0 but it's uid won't be 0. As there are many commands with root:root and execute permissions for group I know there will be a lot of administrative task ...
1
vote
2answers
38 views
Cannot remove /log/var/snort as root
I am using Ubuntu 11.10 Gnome.
I uninstalled snort in order to install a more recent version. The new installation initially failed because the system would not let be rm or modify /var/log/snort ...
2
votes
3answers
82 views
Privilege escalation detection?
I am not a linux/unix expert but everytime when I read about some local privilege escalation exploit (e.g. this),
I wonder if an OS can detect that there is someone logging in as root (or new root ...
-1
votes
1answer
38 views
disabling root permissions [closed]
From Linux From Scratch build a minimal system for running my application. but struck on disabling root permission.
Need my minimal lfs as ubuntu.
when ubuntu boots login-screen displays when we ...
1
vote
1answer
35 views
New Terminal not works when we use su root
When I use
su root
and then use
gnome-terminal
I get warning
** (gnome-terminal:2677): WARNING **: Failed to connect to the session manager: None of the authentication protocols specified ...
6
votes
1answer
220 views
Can I launch a process as root without launching root's login shell?
I tried to change the login shell.
Here's what the first line of /etc/passwd looks like (on a Debian Wheezy install):
rootx:0:0:root:/root:/:zsh
When I try to login as root:
Cannot execute zsh: ...
6
votes
4answers
229 views
How do I stop the root user from deleting a file?
I'd like to know if I can prevent the root user from deleting a file.
Is it possible?
1
vote
1answer
31 views
Readonly in mounted partition's root
/etc/fstab
UUID=<someuuid> /mnt/data ext4 defaults,relatime,data=ordered 0 2
and
/mnt$ ll
drwxr-xr-x 2 manuel users 4096 15. Apr 18:25 data
/mnt$ mount -a
/mnt$ ll
drwxr-xr-x 4 root root ...
0
votes
1answer
56 views
Android - what's the permission difference on normal and rooted devices
I have two android phones, one rooted the other not. When I run following code without asking for root permission on the two phones,
system("echo \"abc\" > /data/a.txt\n");
the rooted phone ...
1
vote
3answers
267 views
Using sudo in openSUSE without actually changing to root user (i.e., like in Ubuntu)
I recently started trying openSUSE 12.3 after having used Ubuntu for a few years. I'm still getting used to openSUSE's treatment of su (and sudo) vs. Ubuntu's use of sudo. I've been reading the ...
1
vote
1answer
146 views
Running rsh command under the root account
I have two machines running Solaris 9 (192.168.2.9) and Windows XP (192.168.2.5). I need to run the following command on the Windows machine:
rsh 192.168.2.9 -l root pwd
To be able to run this ...
9
votes
4answers
869 views
Why doesn't “sudo su” in a shell script run the rest of the script as root?
A sample script can be as below:
#!/bin/bash
sudo su
ls /root
When using ./test.sh as the normal user, instead run ls as super user and exit, it switches to root; and when I logout, it executes ls ...
3
votes
1answer
87 views
How does having /dev/fd make running shell scripts under sudo safe?
At the end of the man page for sudo, there's the following remark:
Running shell scripts via sudo can expose the same kernel bugs that
make setuid shell scripts unsafe on some operating systems ...
5
votes
1answer
197 views
Ubuntu: If anyone can get a root prompt without password, isn't that compromising the gnome keyring?
I've been looking for this for quite a while now but couldn't find a satisfying answer.
My scenario:
I'm using encfs to encrypt a few directories in my home folder. To make it easier to access I set ...
0
votes
3answers
107 views
What does sudo su work but su does not? [duplicate]
I have tried this on Fedora and on Ubuntu.
kshitiz@kshitiz:~$su
su: Authentication failure
kshitiz@kshitiz:~$sudo su
root@kshitiz:/home/kshitiz#
I am entering the same password in both the cases.
...
-1
votes
1answer
54 views
Disable “Priveleged user popup” in fedora 8
Problem Statement :- Automatic Login as "root" in fedora 8. I tried with "/etc/gdm/config..." file . (working in linux)
But in fedora 8 there is a pop up showing " ...
1
vote
1answer
201 views
How to suid iwconfig on Debian wheezy?
I have a script running under my own user account that takes care of all sorts of wireless interfaces. It (more or less) intelligently switches wireless LAN off and on and so forth. However, it does ...
2
votes
1answer
62 views
How to set up a script to run as root non-interactively?
I need to set up the following script to run as root whenever I log in:
#!/bin/zsh
truncate -s 0 ~yourstruly/.juniper_networks/network_connect/ncsvc.log
I know how to run the script as root ...
0
votes
2answers
147 views
Changing root password does not change sudo password
I'm trying to change the password that get's asked when doing sudo.
I'm in Ubuntu.
Doing 'sudo passwd' or 'sudo passwd root' does give me the two new password questions, and it successfully changes ...
1
vote
1answer
117 views
Setting the root password vs. sudo -i
Should one always set a root password, or is sudo -i acceptable? Two problems is in reading other posts (maybe junk I realize):
sudo -i eliminates the need for a password. Isn't that a problem for ...
2
votes
1answer
457 views
Email Sent via root@domain.com despite modifying /etc/aliases
First, here are the entries I added/modified in /etc/postfix/main.cf file:
mydomain = domain.com
myorigin = $mydomain
relayhost = email-smtp.us-east-1.amazonaws.com:25
smtp_sasl_auth_enable = yes
...
3
votes
1answer
102 views
Is there a way to find out how many instances of the root user are logged into a Linux machine?
We have a handful of users that login to our Linux virtual machine as root either through the vSphere client or through SSH and I want to see if there is a way to tell if multiple root users are ...
3
votes
1answer
2k views
Suddenly, I Can't login with correct password (greeter & tty)
This might be a duplicate of other password related questions but it's somehow eccentric.
I have 3 accounts in my Ubuntu 12.10 system (one standard and two administrators). One of the administrator ...
2
votes
3answers
71 views
How to prohibit from changing an owner of modifiable files?
I sometimes need to run a Qt Creator from root. After that, some config files of Qt Creator suddenly have a root as an owner. Therefore when running Qt Creator as user, I am getting nag warnings about ...
0
votes
3answers
296 views
What is the function of user group root? [duplicate]
Possible Duplicate:
What does it mean to be in group 0?
I wanted to avoid using SSH root login to backup my remote server. Thus I set up a non-root user account on the server and place it ...
1
vote
3answers
150 views
Can a mounted encrypted filesystem be safe from root?
I have access to a shared remote computer from which I would like to run some code I have written which uses an interpreter (not a compiled code). I would like to protect this source code from other ...
4
votes
1answer
202 views
Mounting from dolphin vs commandline
I have been wondering how this is possible (i.e. how this works internally). When you want to mount a directory you have to be root.
sudo mount /dev/something /mnt/somedir
I know you can get around ...
2
votes
3answers
250 views
How to start subsequent shells as root?
I run my local testing server inside a VM. I often have to open up multiple windows in it, and all have to be logged in root. Usually this is accomplished by writing su on every tab, a total of 7-8 ...
0
votes
0answers
43 views
Root user can't do everything? [duplicate]
Possible Duplicate:
Redirecting stdout to a file you don’t have write permission on
I'm quite new to Linux and I have a permissions questions. I'm using Linux Mint.
If I go to /opt and do ...
2
votes
2answers
79 views
Make a programme executable by common users
I've installed hddtemp on my Arch Linux, but it needs to be run with root permissions. I want to execute it as a normal user without using sudo. How can I do this?
2
votes
3answers
863 views
Run local scripts on multiple servers using sudo user through a script
I have about 100 remote servers. I want to manage all my servers using one terminal server to update , run commands with sudo privileges.
I need to have one main script that takes another test script ...
0
votes
2answers
335 views
I think somebody tried to hack me
root@host [/var/log]# tail -f secure
Jan 3 20:16:10 host sshd[22670]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=61.142.131.120 user=root
Jan 3 20:16:12 ...
0
votes
1answer
178 views
Root password keep changing
This is frustrating. I am often able to login with a root password. Then I cannot login again. However, I am still logged in. Hence my password must be correct.
I changed the root password with ...
1
vote
2answers
90 views
Problem accessing /home from different partition
I'm currently using Chakra on /sda1 and Fuduntu on /sda2 (a partition I keep for trying out and playing around with distros), and both systems use /sda3 for each different /home partition (I'll call ...
4
votes
1answer
651 views
How can I resize my root partition in Debian?
I am trying to add space to my root partition and am really not sure the safest way to go about it. I have read this thread, Can I resize the root partition without uninstalling and reinstalling ...
1
vote
3answers
338 views
Ask root for password when using su command
I'm trying to edit /etc/sudoers via visudo, but I don't know how to change the root rights.
I want root to be prompted for the user1's password, when he tries to use su user1.
5
votes
3answers
185 views
Are sudo and gksudo safe?
I noticed after running a sudo command in terminal or running a administrative application that uses gksudo, it won't ask again for the password for a time (something like 5 minutes).
Now let's ...

