General :: Log On As Another Regular But No Root User With That Password And Boot Up Into Centos

Jul 22, 2011

I forgot the root passwd for linux (via the "single" mode) and, according to all confirms, did so successfully! I then try to log on to Centos as root, and I can't....it says "incorrect passwd"! So then I log on as another, regular, but not root, user, with that passwd, and boot up into Centos. if I try to "su" to root, with the new root passwd, again it says its incorrect. there is no "system admin" passwd set. I checked!. I need root access within Centos!

View 8 Replies


ADVERTISEMENT

General :: Grant Regular User To Locally Mount Partitions And Shutdown The Machine Without A Password?

May 28, 2011

What I'm trying to do is to grant my regular user to locally mount partitions and shutdown the machine without a password. Here is what I've done to /etc/sudoers:

Code:

Host_Alias LOCAL = localhost
Cmnd_Alias SHUTDOWN = /sbin/shutdown
Cmnd_Alias MOUNT = /bin/mount, /bin/umount
<my_username> LOCAL=(root) NOPASSWD: SHUTDOWN, MOUNT
%wheel ALL=(ALL) ALL

My user is a member of wheel group and I want to type the password for each sudo command except for shutdown and mount. However I am asked for a password whenever I execute "sudo mount [...]" or "sudo shutdown [...]".

View 4 Replies View Related

CentOS 5 :: Enter Password For Root User - SSH Access Denied

Apr 18, 2011

I have a new CentOS server install. I am trying to connect from a windows xp box using putty ssh. I can get as far as putting in the password for root user and then it tells me access denied.

View 2 Replies View Related

General :: Did Not Find Any Option For Root Password For Root User In Ubuntu 9.10?

Mar 2, 2010

i used opensuse 11.1 ...there is option for root user to create password for root...but for ubuntu i did not find anything like that...so how can i create root password....or how can i use root

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

CentOS 5 :: Recover / Reset Password For Root Via Single User Mode

Oct 20, 2009

Can someone assist me with recovering/resetting the password for Root via Single User Mode in CentOS v5? I've modified the kernel line using Single, S, and 1 but it appears that these commands are being totally ignored as the server continues with the boot process and displays the GUI logon screen. The server in question is a VM box running on ESX v3.5 U4. The person that created this VM is no longer employed here and I've exhausted everything I know regarding Single User Mode.

View 12 Replies View Related

Debian :: Use Same Password For Root And Regular Account?

Jul 7, 2009

I first started using Ubuntu and I liked the sudo facility because I didn't need to remember two passwords, so when I installed Debian I wrote the same password for the limited and the root account. Is this very bad for security? I mean can a program started from my regular account immediately become root or something?

View 9 Replies View Related

Software :: Vi/vim Works For Root But Not For Regular User?

Oct 14, 2010

If I log in as root I can vi/vim a file with no problems. When I log in as a regular user I get the following error when I try to vi/vim.

[Code]...

Why does vi/vim work as root and not a regular user? Also what rpm's can I install to get it working?

View 2 Replies View Related

Slackware :: Cli Php Missing Modules As Regular User But Not As Root?

Sep 9, 2010

My cli php is missing modules as regular user but not as root. In particular, mysql is missing... which is how I came across this issue. I'm running Slack 12.2 w/ php 5.2.14, standard Slack packages. As a normal unprivileged user:

-> whoami ; php -v ; php -m |wc -l ; php -m |grep mysql
jerry
PHP 5.2.14 (cli) (built: Aug 25 2010 15:17:31)
Copyright (c) 1997-2010 The PHP Group

[code]....

I've tried reinstalling php and it made no difference. php.ini is not to blame. I've Google'd this to death, no luck.

View 7 Replies View Related

Ubuntu Security :: Change The User Password On A Regular Basis?

Mar 30, 2010

is it considered standard practice to change the user password on a regular basis and if so how often?

View 4 Replies View Related

General :: CentOS / Sudo Doesn't Accept Root Password But Logging In As Root Works

Apr 9, 2010

I was trying to edit a file requiring root permissions, so I used sudo. I typed the root password and it failed. This happened three times, and the process was ended. I then logged in as root (su) and was able to navigate to the file and make changes as root. Am I missing something? How would I edit the sudoers file such that this password would work? Or is there another way to log in to the sudo group to make these changes? How do I set sudo passwords?

View 1 Replies View Related

Software :: Shared Library Accessible By Root And Not By Regular User?

Oct 12, 2010

I'm trying to install Google Chrome on Slackware 13.1 (32 bit) and I have a little problem with shared libraries.The google-chrome applications looks for nss libraries with file names ending in apparently non-standard ways (for me and my system, at least): for example, it looks for libnns3.so.1d, but I have libnss3.so, so I created a symbolic link libnss3.so.1d -> libnss3.so. The problem now is that if I run google-chrome as my usual regular user I still get the missing library error, but if I run it as root I don't get the error anymore (well, it still complains about other libraries missing for the same naming reason, but anyway it's able to find the one I just renamed). The permissions seems fine to me:

Code:

/usr/lib# ls -l | grep seamonkey
lrwxrwxrwx 1 root root 15 Jun 16 22:03 seamonkey -> seamonkey-2.0.4
drwxr-xr-x 14 root root 4096 Oct 12 10:47 seamonkey-2.0.4

[code].....

View 7 Replies View Related

General :: Password Policy Affecting Root User ?

Aug 3, 2011

I am using pam module to set password policy in my SuSE linux machine. This is my /etc/pam.d/common-password file:

Now if root user tries to change the password of a normal user, giving the same password, it is throwing an error saying "Password has been already used. Choose another".

Example:
> passwd user1
> password1 (set successfully)
> passwd user1
> password1 (Password has been already used. Choose another)

This should not happen with the root user.

View 2 Replies View Related

General :: Ssh Without Password From User To Root On Same Linux Enterprise 5 Machine

Jan 22, 2010

My application is installed on root of RH enterprise 5 and is run via user on the same machine. This need ssh without password from the user.

i do the following :
1. run ssh-keygen in .ssh directory of the user.
2. copy the id_rsa.pub as the authorized-keys in the root's .ssh directory
3 chmod 600 to the authorized_keys
4.restart the machine
5. login from the user and ssh SER ( SER is the entry in the /etc/hosts with the ip address of the machine)
6 It still prompt for the password

How can i ssh from the user to the machine without password.

View 3 Replies View Related

CentOS 5 :: Make Tomcat Startup At Boot As Non Root User?

May 4, 2009

Can anyone tell me how to make this script,( located in /etc/init.d/tomcat ) startup at boot time under the tomcat user and not the root user?

#!/bin/bash
# tomcatStartup Script for Tomcat
# chkconfig: 2345 20 80
# description: Tomcat Server basic start/shutdown script
# processname: tomcat
# pidfile: /var/run/tomcat.pid

[Code]...

View 5 Replies View Related

General :: Automatically Logs Into A User (not Root) In Graphical Mode And It Does Not Asking For Any Password

Dec 14, 2010

When I start my ubuntu linux system it automatically logs into a user (not root) in graphical mode and it does not asking for any password. when I try to go to the command prompt the password is required. How do I give password for my user. The provider installed the system and not me..

View 5 Replies View Related

Red Hat / Fedora :: Recover User Password And Root Password If Forgotten ?

Oct 24, 2010

How to recover user password and root password in fedora if u forget

View 2 Replies View Related

Ubuntu :: Root User Directory Does Not Exist, Root Password Not Recognised?

Oct 26, 2010

I no longer have access to my root desktop. On a session I attempted to change the root username but i apparently assigned it a wrong directory that does not exist. When I rebooted with my new root username, i was instead recognised as a simple user (no root privileges). I tried the console to change to "old" root but root password is not accepted and there is no way to access to sudoer files. it seems that inserting a new username requires root privileges and i am back to square one. Simply logging with old root username and password after restart gives me a blank screen with nothing on it and cannot even reboot.

View 9 Replies View Related

General :: No Prompt For Root Password After Attempting To Enter Single User Mode?

Jul 13, 2011

I followed instructions to enter single user mode by adding single at the end of kernel line but after that it doesn't ask for root password but brings up the sh# prompt. Isn't that supposed to be insecure? I understand for this the grub password can be applied but even after adding "single" it should ask for root password..or it should not..??

View 3 Replies View Related

Red Hat :: Cannot Change Root Password (let Alone Standard User's Password)?

Jan 6, 2009

At the RHEL prompt, I entered the standard user's username/password combo. Linux displays a message box stating:"Your account has expired; please contact your system administrator."Next, I entered "root" in the username field and entered the root password (which expired also--keep in mind that passwords are set to expire after x days). Linux displays a message box stating:"You are required to change your password immediately (password aged)."When prompted to "Enter current UNIX password", I entered the new password (was that the right thing to do?); Linux displays a message box stating:"The change of the authentication token failed. Please try again later or contact the system administrator."I rebooted the system and got into command line mode; somehow I logged in as "root" (don't know exactly how, but needed to change the password there). At the "#" prompt, I type "passwd root"; Linux displays the message "Changing password for user root", followed by the message "passwd: Authentication information cannot be recovered.

View 4 Replies View Related

Ubuntu :: Root-User : Unset The Root Password?

Oct 14, 2010

A friend of mine has told me to set a root password and use root (f.e. switching to su in terminal and work with root rights instead).Is there any way to unset the root password? I know how to use sudo now.

View 9 Replies View Related

General :: Difference Between Regular User And System User (and Groups)

Sep 28, 2010

What is the difference between creating a "regular" user and creating a "system" user on Linux?

For example:

Code:

adduser john

Code:

adduser --system john

Similarly it seems there are normal groups and system groups. Doing an internet search and reading man pages does not give much information on the whole concept of system and regular user/group.

View 1 Replies View Related

CentOS 5 :: Unable To Boot System - "enter Password For Root"

Feb 10, 2011

I've created LVMs, and use this after I have added new disks to the system. df -h give me some lines, and one of them looks like this:(this is the system which holds backup files - and I want to disconnect it from time to time to create a duplicate backup)

/dev/mapper/backup-backup 147G 123G 17G 89% /media/backup

Problem: When I disconnect this drive, the system will not boot. Gives me the "enter password for root" or click control+D to continue. How can I get around this check - if the disk fails to load, or have been taken out.

View 6 Replies View Related

Networking :: User Internet In Centos 5 Using User Name And Password?

Oct 27, 2009

I windows xp. I install vmware on it and install centos 5. Now how to use internet in centos 5 using user name and password. Our internet provider give us user name and password.

View 1 Replies View Related

Debian Multimedia :: Cannot Become Root With My User Password?

Jan 26, 2011

I'm on Squeeze with KDE 4.4.5. Basically, I can use my password for things like logging in, or authenticating on a shell with sudo successfully. But in other cases, I am asked to "become root", and when I enter my usual password, I'm told to check if I entered my password correctly. This happens with Aptitude (terminal GUI), for example: from Actions, I try to update the package list, and when I enter my password, I can read su: Authentication failure. However, if I start Aptitude by typing kdesudo aptitude on Konsole I can enter my password in the authentication box successfully, and use Aptitude with administrative privileges.

The example is valid also for other applications, such as System Monitor: just for the sake of the example, if I try to stop a process owned by root, say Aptitude, I'm asked for a password to become root, but my password doesn't do the trick. I'll have to open it from terminal with kdesudo ksysguard, then I'll be allowed to kill that process. Does it have anything to do with my choice at installation? I think I must have chosen to leave the root password field blank, and only entered my password as a user, for it explained I could become root anytime if there was need to with sudo.

View 14 Replies View Related

Fedora :: Change Root User Name And Password

Mar 25, 2010

I am running Fedora 12 as Guest OS in VMware Player. I installed Fedora 12 by using a Prepackage VM . The root user name and p/w was supplied by the person who made this appliance. Is there way for me to change root user name and pw

View 2 Replies View Related

Fedora :: User Uses Root Password With Sudo

Sep 20, 2010

I want to use root password instead of adding my user to the list of sudoers,In Arch wiki ander Root password:Users can configure sudo to ask for the root password instead of the user password by adding "rootpw" to the Defaults line in /etc/sudoers: but that did not work for me. it asks for root password.Why do I want to do that:
1. I want to do that, I like sudo more than su -c 'some_command'.
2. sudo enables bash completion, su -c does not.
3. I don't want to add my user to sudoers list.

I found many users Suggesting alternatives and lowering the important of my need for this, when I asked this question in anther please.

View 8 Replies View Related

Fedora :: F14 Ask For User Password Instead Of Root For Installs

May 11, 2011

As the title says... (when using add/remove). Not sure how it got this way, so can't just put something back - need a way to correct it.

View 1 Replies View Related

OpenSUSE :: Allow User To Run Zypper Without Root Password?

Apr 22, 2010

I want to run zypper without being asked for the root password. So I added the commands to the sudoers file:

Code:
# User alias specification
User_Alias ADMIN = XXXX #note: this is not real username.
# User privilege specification
root ALL = (ALL) ALL
ADMIN ALL = NOPASSWD:/usr/sbin/vpnc ,/usr/sbin/vpnc-disconnect ,/usr/bin/zypper ref ,/usr/bin/zypper up

But I'm still being asked for password. I should note the the vpnc commmand is working as expected.

View 3 Replies View Related

Ubuntu :: User Settings And Root Password?

Mar 28, 2010

Is this a Fault on my part or a bug?? (not sure if this is the right place for this let me no if not i'll move it I want to add a user to Group "freevo" but if i open User settings via the GUI menus and click on the keys button to enter the root password it keeps coming back to me saying that the password is wrong even though it is'nt (and cap's is off).

So i try the terminal "user-admin" and had the same problem wrong password So i try'd "sudo user-admin" and entered the password at the command line and up pops the User settings GUI with root privileges

View 9 Replies View Related







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