Debian Configuration :: Root Doesn't Have Permission To Change Passwords
Jun 19, 2014
I installed Debian Kit on my Asus Nexus 7 tablet, and after following the installation tutorial I got it running except for I'm stuck on the step to create a new user. (btw link: [URL] .... )
Here's how it went (I can't copy&paste from my tablet so I have to type out everything...):
Code: Select allroot@android-6c40984c21c156ae:/# adduser paul374
Adding user `paul374' ...
Adding new group `paul374' (5000) ...
Adding new user `paul374' (5000) with group `paul374' ...
Creating home directory `/home/paul374' ...
[Code] ....
So since I read somewhere that selinux had some permission problem, so I did a few chcons:
Code: Select allchcon --user=u --role=r --type=init --range=s0 /etc/passwd
chcon --user=u --role=r --type=init --range=s0 /etc/shadow
chcon --user=u --role=r --type=init --range=s0 /etc/gshadow
And it did take effect:
Code: Select allroot@android-6c40984c21c156ae:/# ls -Z | grep passwd
      u:r:init:s0 passwd
u:object_r:unlabeled:s0 passwd-
root@android-6c40984c21c156ae:/# ls -Z | grep shadow
      u:r:init:s0 gshadow
u:object_r:unlabeled:s0 gshadow-
      u:r:init:s0 shadow
u:object_r:unlabeled:s0 shadow-
...but still same thing as what happened in the beginning...
Anyway my goal is to create and be able to log in to another user so that I'm not stuck running root all the time. (Which, as we all know, is a bad idea.)
If there's a way to manually create the user by editing a few files, and root still won't be able to change passwords, I'm fine with that, as long as I have another user. Whatever it takes to just get a non-root user log-in-able...
I forgot to mention that since this is the Asus Nexus 7, there is no removable media, so chrooting from another Linux machine isn't an option, and neither is removing an SD card to use a LiveCD on it.
View 8 Replies
ADVERTISEMENT
Mar 2, 2009
When I installed Centos 5, it asked me password twice. One is to root, another is a user acount.
Right now, I want to do "cd /root" under my user acount. It responds me:
permission denied.
Can I change permission of root?
View 7 Replies
View Related
Dec 11, 2010
I would like to use one time passwords with ssh.I know there is the RC Devs openotp library but I have found very little information on the web about how to use this with ssh or even if that is possible.
View 1 Replies
View Related
Aug 1, 2011
I have winbind Active Directory authentication set up on my laptop. AD authentication works like a charm, passwords cache, etc. I can use sudo with no problem. However, I cannot use the root account -no matter what I set the root password to, the system will not take it. I also have a couple of normal system users (not winbind), and no matter what I set their passwords to, I cannot login.
View 4 Replies
View Related
Apr 18, 2011
i wonder how to change permission folder, so only root can open it?
View 9 Replies
View Related
Aug 13, 2010
I have an old server running CentOS 5. The encription method used was the default MD5 for the shadow file. I would like to migrate the server to Debian Squeeze which uses SHA512. I have already copied the passwd, group and shadow file with the user accounts information but the Debian machine doesn't let the users login. I have already looked in the pam files to make it accept the MD5 encryption without any luck. how can i migrate the users without resetting their passwords?
View 1 Replies
View Related
Sep 14, 2010
I am trying to set up virtual users with vsftpd but I can not login to the ftp server using the usernames and passwords created in the password file.
View 1 Replies
View Related
Apr 10, 2010
When I installed OpenSuse 11.2 it mounted I configured to mount all of my windows/NTFS partition. However, one problem is that only root can write to it. I was trying to change it to '777' permission. However, as root I can't change permission. chmod doesn't work and neither does using nautilus (as root) work.I even tried unmounting it and then doing a chmod. That didn't work either.
View 1 Replies
View Related
Jan 10, 2011
I cannot make any permission change on /var/log/messages.Currently the permission looks like ?r---ws--t 58243 115 59053 1358438049 Jan 10 10:55 /var/log/messages How can i change the permission to root. Already chown failed giving a permission failed error.
View 14 Replies
View Related
Oct 26, 2010
I had used test desk program to restore my files ,the files that recovered was saved in home folderthe problem is that these files are become root permission only ,so i cantcopy , move theme
View 3 Replies
View Related
Oct 31, 2010
mounting any usb thumb drives. The result is the same whether it is automounted or mounted via the CLI. The drives all have root:root file permissions and cannot be changed to my normal user "ramack". There doesn't appear to be any errors and it is limited to only this Acer Aspireone Netbook running i386 Testing. I don't have anything in my fstab in regards to mounting usb drives.
$ sudo fdisk -l
Disk /dev/sdb: 4016 MB, 4016045568 bytes
255 heads, 63 sectors/track, 488 cylinders
[code]....
View 7 Replies
View Related
Dec 14, 2010
This morning's update
root@squeeze:/home/me# aptitude update
[Code].....
View 2 Replies
View Related
Nov 5, 2009
Can someone tell me where the configuration file is to change root logins?
View 1 Replies
View Related
Aug 3, 2015
I have accidentally changed the permission of "/usr/bin" directory and its files by the command on my Debian/testing system:
Code: Select all$chmod 775 /usr/bin -R
First, there was a problem with sudo but I fixed it. Now I am suspicious that some programs may not run because of changing their setuid or setgid. I have posted this question here and found out that there is no easy way to restore their setuid or setgid for Debian systems. For RPM based distributions, it is fairly easy. I would like to add a few questions:
Is it possible to write a script which stores all directories and files default permissions like RPM based distributions? And it restores its previous state. I suspect that some programs may not run from my user account (I only use the computer myself.) If I run the programs from my root account, will the programs run without problem?
View 5 Replies
View Related
Aug 12, 2015
I need to configure software as debian image to work on server. I need to create user who is not root, but being able to change IP (I don't know if administrators who will install my image need to give static IP to it, so I want to create special user role for them being able to change IP but not able to see some restricted folders in the image).
View 2 Replies
View Related
Jul 2, 2010
I'm running a dual boot system with winXP and Debian Lenny. Here's my hard drive set up
hda1 - windows ntfs (just for use with windows)
hda2 - / ext3
hda3 - swap
hda4 - /home ext3
hda5 - /windows fat32 (shared partition between linux and windows)
Now, I have access to /windows but it's owned by root so I can't create/modify anything and I can't unmount it to use chown.
View 14 Replies
View Related
Jul 20, 2011
i have a HP MSA 2312fc SAN with 2 LUNs configured. The first LUN (LUN ID 1) is correctly connected to the system, but when i connect the second LUN (LUN ID 30), i find in the syslog this message: multipathd: 8:64: size 6835937472, expected 5267578112. Discard
Here is the multipath.conf
[Code]....
So I correctly see the two luns, but multipath doesn't create the relative devices. Under /dev/mapper I see: control mpath0 mpath0-part1 mpath0-part1 is the first lun, the one I mounted in a directory under filesystem. I can't find the device for the second lun
View 1 Replies
View Related
May 1, 2011
jeff@optiplex:/media$ ls -l
total 124
lrwxrwxrwx 1 root root 6 Apr 7 14:46 cdrom -> cdrom0
drwxrwxr-x 2 root root 4096 Apr 7 14:46 cdrom0
[code]....
View 10 Replies
View Related
Apr 5, 2010
I am *finally* getting around to rebuilding my file-sharing computer. I'll be sharing files with both Linux and Windoze machines. It's a home network, so there's nothing fancy needed. I know I have to tweak my smb.conf file until I'm satisfied with the features and security. I'm using SWAT and I'm starting with a bare-bones conf file. It's not secure but I can see the server and selected files/directories from my other Linux box.
My really dumb question is, do I have to reboot both the server and the client machines every time I change the SAMBA configuration? I thought I just had to stop and restart the SAMBA service in the SWAT software - but then the server disappears from my client. It looks like I need to reboot both machines for the client to see the server.
View 1 Replies
View Related
Apr 12, 2011
I have an apache installation with /var/www/bob as the document root and the only site served up. I have bob as the directory's owner, and he is able to upload his files to that folder via ftp (vsftpd on the server). When a browser tries to access the pages, it simply gets a 403 forbidden. The problem occurs when apache2 tries to access the files bob uploads. The www-data user (Apache daemon) gets permission denied when I try to cat bob's files in the shell, so it's purely a permissions issue. What I can't figure out is how to give the Apache daemon the ability to read bob's files while also making certain it does not have the ability to modify any of them.
View 1 Replies
View Related
Jan 5, 2010
Tryin to update guest additions to match new host. Change fstab to allow exec. Still get permission denied.
debian:/home/bill# cd /cdrom
debian:/cdrom# ls -lh
total 30M
dr-xr-xr-x 3 root root 2.0K 2009-12-17 07:37 32Bit
dr-xr-xr-x 2 root root 2.0K 2009-12-17 07:37 64Bit
-r-xr-xr-x 1 root root 217 2009-12-04 04:06 AUTORUN.INF
[Code]...
View 5 Replies
View Related
Jul 9, 2011
Here is a copy of my fstab # /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
[code]...
View 6 Replies
View Related
Jan 20, 2011
want to run VirtualBox with root permissions. Trouble is that only when run as root i can access attached USB devices inside of a virtual machine, otherwise, these a greyed out).Now running VirtualBox as a root user also changes the configuration folders, making all my virtual machines already defined disappear. I also don't want to copy all to the root configuration folders. Is there a way to give the VirtualBox root permissions but without actually running the application as a root user. Is it possible to do without changing the permissions of the non-root user, i.e. i don't want my user to have all root permissions, due to security considerations.
View 1 Replies
View Related
Mar 16, 2011
Password strength in Linux can be ensured by setting parameters in /etc/pam.d/common-password file. But these policies apply only for non-root users, when they set password for themselves.s there any way to ensure strength of passwords assigned by root?Example: Normally root can assign passwords like "hello" "password" etc. Is there a way to ensure that passwords assigned by root must contain a special character and a digit as mandatory?
View 1 Replies
View Related
Mar 24, 2010
the terminal and logged in as root i was changing file permissions and happened to change the root folder to 700. Now my icons have gone and i can't even access the terminal.
I was just wondering if it is possible to go to rescue mode using the cd and restore all the appropriate file permissions to root/ users if possible
View 4 Replies
View Related
Aug 2, 2010
We use a Linux server with AFS on it. I changed the linux root password using passwd. The new password will let me log in as root but when I try to change the AFS admin password it asks for the root password. When I put in the password that it let me log in as root. It tells me authentication failed. And when I run the password command with -admin admin, it asks for the admin password. I put in the admin password that worked before I changed the root and it says authorization failed.
View 5 Replies
View Related
Apr 19, 2010
I was wondering if someone had a logical reason and therefore complete, hopefully that makes total sense, for why when I install Ubuntu I cannot use the 'sudo' command either with root or user passwords. Even if I try to edit the permissions for sudoers, I still recieve an error message that says access is denied and so as the root user on my pc I don't understand why I can't put my name in the sudoers file or use the sudo command with the correct password.
View 9 Replies
View Related
Aug 31, 2010
Lately I adapted my /etc/fstab to mount samba shared network drives. I had to put the password in the configuration file in order to log in automatically. Isn't there another way? It feels a little akward to me to put passwords in a plain text-file.
View 2 Replies
View Related
Jun 16, 2010
How to enable Root login...i cant copy or move something on the HDD...I have administrator rights and password for root but i cant change permissions for the HDD without login on root and root login are not allowed .
View 10 Replies
View Related
Jun 10, 2010
I'm using KDE 4.3.5, openSuse 11.2 x64 and have a problem with Dolphin. I have to enter passwords for ftp, sftp and smb connections every time I try to open something, even with "Save password" option
View 3 Replies
View Related