I made the mistake of using the command 'adduser' on an already existing user. I was incrementing a name and mis-typed. Now the account refuses to recognize the users password. The user can get in.
I tried resetting the password as administrator (passwd 'user'), but when the user tries, the new password isn't recognized.
I tried expiring the account password (passwd -e user). The user gets prompted for a new password, but the new password still doesn't get recognized.
I just tried to change a user account by changing its name, password, and home directory. But first I had created a new account with the new name, pass, home directory. I tried to log into the new account but got a dead account. Nothing came up, and it didn't allow anything, complaining about "can't create Nautilus," and other such error messages.
Tried to go into the Constantine login screen and put in "root" and the original password. "Invalid Use..." Tried "root" with the new pass. "Invalid..." So what can I do at this point to get in and create a nice, clean, new account (with admin privs) for the new user?!
I have RHEL 5 installed on my PC.After lots of efforts i manage to put it into a domain(by configuring kerbose,winbind and smb).I can see all domain users and groups (wbinfo -u/-g).Whenever i tried to login into this machine using domain login, for a first time it create folder in /home/DOMAIN/ and then displays "system sdministrator has disabled your Account"
I have RHEL 5 installed on my PC.After lots of efforts i manage to put it into a domain(by configuring kerbose,winbind and smb).I can see all domaind groups (wbinfo -u/-g).Whenever i tried to login into this machine using domain login, for a first time it create folder in /home/DOMAIN/ and then displays "system sdministrator has disabled your Account"
I had two accounts. One was an admin and I set the other as an admin as well, but left it without a password since I wanted the new user to enter it themselves. I went into the new admin account and deleted the old, passworded one.
However, this new account doesn't have a password that I explicitly defined on it. How do I change that? The account is the only one and still 'disabled'.
I recently ran into a situation where the ftp user account suddenly could not login. I used the User and Groups system tool to check the user account and reset the password. I then attempted to use ftp and login with the new password and still could not. I then went to check the permissions on the folder and found that the system partition was full, so using gpartd I was able to resize the system partition.
However this still did not fix the ftp login problem. When I opened the User and Groups tool again, all users,including my main account, except root are no longer displayed and all groups are not showing. If I try to add the original ftpuser account I get the message that the user already exists. And my main account works for login still. If I add a new user, it is not displayed in the list either.
If I do a cat /etc/passwd I see all the users listed including the new one I created and cat /etc/group displays all the groups and everything looks like the users are still associated with the correct groups. I can use passwd to change the account password without error and I can use adduser to add another user. Howerver no users are listed in the User and Groups tool and users still can not login to ftp. I can reinstall proftp if needed but I would like to be able to use the User and Groups tool to administer users again.
PS: Forgot that just before encountering the ftp login problem, Update Manager and some updates listed that I attempted to install but got an error and didn't have time to check why. Now I know that the partition was full.
I am using Ubuntu 10.04. I installed it a few days ago.
When I open Synaptic Package Manager, it asks for admin password. But, after I give the password, the window vanishes. Thus, I am not able to open Synaptic Package Manager in non-admin account.
is there anyother way of creating an user without the support of graphical or command base. one more question is what is the syntax to assign using chmod to a directory consisting of n number of files at atime in one single syntax suppose i want to assign 775 to all the files using one command
I have dsl broadband shared through a Modem Bridge Mode forwarded to wireless router which is configured for dhcp lease to the clients(1 Desktop, 1 Laptop).
So, in My Debian Testing Desktop, I have following lines in /etc/network/interfaces :
Code: # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback
I recently installed Squeeze. I noticed there are 2 main kernels installed. One first one at the top is 2.6.32-trunk-686 and the other is 2.6.32-3-686. At the time, I did not know or think much about it. Now when I try to get linux headers to compile drivers, I am not finding them. I also read some problems with trunk kernels.
How can I assign the 2.6.32-3-686 kernel to be the default in grub? Is it OK to use it as the main kernel?
Do I need to upgrade the trunk kernel to rid of trunk or just don't use it?
I'm trying to assign pci devices to pci-stub at boot before any of the kernel drivers can access it. I've successfully managed to do this on a Ubuntu system but I cannot get it to work on Debian. I've set pci-stub to load as a module in /etc/modules. I've then tried both these methods:
Add pci_stub ids=8086:100f to /etc/initramfs-tools/modulesSet GRUB_CMDLINE_LINUX_DEFAULT="pci_stub.ids=8086:100f" in /etc/default/grub.
Both give the same result after updating grub/initramfs and a reboot: when I check "dmesg | grep pci-stub" I get:
The actual device id's are not claimed by stub. Same for lspci -v which shows that the devices are still using the kernel drivers.Again, this configuration works on Ubuntu. Also issuing the following commands successfully assigns one of the devices to pci-stub but I need it to work on boot before the kernel drivers load:
I'm new to LDAP. I've installed LDAP Server and I stated:
Code: Select allaccess to * by * write
I can login with admin and anonymous, but when I try non-admin user ldap respond:
Code: Select all conn=1137 op=2 RESULT tag=97 err=49 text=
Is there any requirements for creating a non-admin login user, because the "user", that I've created is not ObjectClass: Posix-Account, but ObjectClass: person, organizationalPerson?
Also I've tried to add ObjectClass shadowAccount and SimpleSecurityObject, but without any success...
receive bash notice: "jim is not in the sudoers file."Just finished my first Debian install several hours ago, my first go around w/Debian. Installed 8.2 DVD ISO on USB. Had this issue from my first use in BASH, not a forgotten password problem. So 2 questions:
1) I'll be installing Debian again, and want to avoid this in future. There were 2 inputs on setup for name (my full name) and user (installer offered my first name which I accepted). 2 inputs for Password as well: I used the same password both times (have done this w/Mint & Ubuntu w/out issue).
2) How to fix this? Tried this: URL...however, neither keystroke got me to "rescue" prompt as article suggests. Several other articles presume an admin with privileges has sudo access to modify sudoers file.
I have multi-boot setup in BING environment (MBR, not EFI). I am booting from a GRUB2 ISO using grub commands as I still need GRUB installed in my boot partition until I can get cmd line access. I'm able to get a session on boot with the same password I used in setup.
I logged on, opened the terminal an logged on as su no problem Could not open the document I wanted to edit. I am trying to switch from USB 0 to USB 1 so I can listen to my Bose Speakers used to be Windows tech. Many years ago.
How do I open the file edit the file save the file. can I log on as admin and use text editor.
I have a problem that Google didn't give me a workable solution so I'm posting my question here, hoping that someone has an idea.On a virtual server (VMWare) running Debian 5 I have a disk of 15Gb.
Can anyone tell me if this is possible? I've been playing around with GParted but unsuccessfully. The other option is to 'move' the whole server to a new (to create) virtual server that uses LVM. Any ideas?
I use two separate systems both running Debian 8. On one (my main) I can't do some commands including ping, shutdown and reboot without running them as root user, however on my other system I can ping and reboot as a non-privileged user. The permissions on both systems are the same for /bin/ping and /sbin/systemctl (reboot). I thought at first it was something to do with what groups my main was in, but that doesn't seem to be the gase.
I know I can fix it by setting setuid for both, but my question is why is it different on both machines? Is there a global setting controlling this in /etc or perhaps an icmp setting?
I have some beginner questions about DHCP, Avahi, and configuring a small home LAN.Suppose I have a dynamic IP address assigned by my ISP, which requires DHCP be enabled in my dsl modem/router/"firewall" [sic]. Suppose for simplicity I have just one PC behind the dsl modem.I think "enabling DHCP" in the modem/router means that a DHCP client runs on the router, which communicates with a DHCP server run by my ISP when I boot up a PC on my LAN. Is that guess correct? Can I get DHCP to assign a particular local IP, say 192.168.1.10 (which is not the one taken by the router--- for this discussion, let's say that is 192.168.1.0) to my PC each time I boot it up?
Now suppose I want to build a stand-alone firewall, so that my LAN will have the firewall and the first PC behind the modem, with the first PC virtually behind the firewall. By default, I think these will both have DHCP clients running which I need to configure properly. The firewall should also have a DHCP server which should control how local IP addresses are assigned, correct? I should try to arrange that the LAN has only DHCP server, only one NTP timeserver, only one DNS nameserver, correct?My first PC seems to have installed an autorun client called Avahi, which performs DNS multicast services and incorporates something called zeroconf which seems to have something to do with remote desktops, which I don't need and which is a potential security hazard. But it seems that Avahi is an intrinsic part of the KDE desktop and cannot be removed. Just want to be sure that Avahi can coexist comfortably with dhcp3-client, which is also installed on that PC. They perform different tasks, correct?If I can get the stand-alone firewall to work, I know I need to turn off the commercial firewall in the dslmodem/router/firewall device. Should I purchase a bridge and try to turn off the routing function also?
I'm using kde 3.5.10 on a Debian Lenny with xorg from backports and nvidia proprietary driver (195.36.15) on my laptop. Nowadays I have received a 2nd monitor, end my purpose is to attach it to my laptop. TwinView or separate X screen work fine but clone or extended view modes for my mind are not so usefull. I think there is the possibility to assign one virtual desktop to one monitor and another adjacent virtual desktop to the second monitor. how to obtain this kind configuration.
Steps a. Working Gnome desktop with NVidia proprietary drivers in Jessie. b. Something happened (see below) c. Still working Gnome desktop with NVidia proprietary drivers in Jessie. d. Reboot e. Boot up in low res -can see the terminal messages but no X/ Gnome Desktop f. CtrlAlt-F1 takes to terminal login g. Log in, looked at dmesg, syslog shows no errors but looking at Xorg.[0-5].log shows:
Code: Select all[ 7.942] (II) NVIDIA(GPU-0): Found DRM driver nvidia-drm (20130102) [ 7.943] (II) NVIDIA(0): NVIDIA GPU GeForce GT 240 (GT215) at PCI:1:0:0 (GPU-0) [ 7.943] (--) NVIDIA(0): Memory: 1048576 kBytes [ 7.943] (--) NVIDIA(0): VideoBIOS: 70.15.27.00.00 [ 7.943] (II) NVIDIA(0): Detected PCI Express Link width: 16X [ 7.945] (--) NVIDIA(0): Valid display device(s) on GeForce GT 240 at PCI:1:0:0
[Code] ...
After looking at this post [URL] .... poked around at the back of the monitor and found the DVI cable loose. Plugged it in tight and rebooted and Gnome desktop came up as good as ever.
Step b. , as it turns out, was someone had adjusted the monitor height resulting in the DVI cable coming loose but not getting pulled out entirely.
I am writing a script that calls a program which writes a lot of lines to stdout continuosly. If the last line in stdout has some regex, THEN, certain variables are updated. My problem is that I don't know how to do that.
A simplified example would be (it's not my exact case, but it I write it here to clarify): suppose I issue a ping command (which writes output to stdout continuously). Every time that the response time is t=0.025 ms, THEN, VARIABLE1=(column1 of that line) and VARIABLE2=(column2 of that line).
I think the following code would work in awk (however, I want the variables in bash and I don't know how to export them)
In the previous code, awk analyzes each line of the output of the ping command as soon as it is created, so the variables $var1, $var2, ... are updated at the appropriate time. But I need the "real-time" updated values of $var1, $var2 in bash, for later use in the script.
I installed it from the packages list and the eye candy has been good.
However, in trying to fix an error showing up in syslog
Feb 1 17:37:38 host ntop[30764]: **ERROR** Buffer too short @ dataFormat.c:144 (increase to at least 56) [230982 years, 187 days 7:107374]
I started looking at the configuration files; well attempted. It asks for a login. It isn't any user or root, but apparently is admin, but IO don't ever remember setting it.
Various web search suggests it is done at compile(downloaded compiled) /installation, but I have no recollection of entering any.
There is a Redhat/Centos wrinkle ntop -set-admin-passwd=password; but that puts out a lot of lines, then hangs and has no effect.
Note, despite message(old version of ntop), it is up todate in packages.
I have Linux computers that are often on client networks inside firewalls . They have access to the internet but I can't access them directly. I don't want to have to get the client to mess with NATing , etc . I have written a system that uses XMPP to allow me to send commands to the computers and run simple console commands which often time is enough. These are things like run a report and ftp up to server, restart a process, give me a process list. It works OK, but some networks even block this (Googletalk is not universally loved for some reason)
I am wondering if there is a prebuilt system that allows me a computer inside one firewall (say a standard adsl modem created one) communicate in some way with a computer inside a network created by another adsl modem. I could see some sort of console like logmein or pc anywhere but as much as I have looked I can't find anything. I have considered writing a cheap and cheerful system in http or even a TCP system using asyncore in python but there must be something existent. I have a server on the web that could be used as an intermediary, relay type thing. Basically some sort of chat server for consoles is what I am thinking about. Is there some sort of SSH voodoo that I could bridge/tunnel/vpn through.
I'm using Debian Jessie Cinnamon right now. I've got 1 user account on my machine--fred--as well as root, of course. "fred" is an administrator, and many times that is enough for root priviledges, for example, I can install packages via apt or dpkg. However, I cannot access "Users and Groups", or install packages via GDebi, with my password. For that, I have to have the root password.
I know that it is possible to let the admin account handle everything and not even need root--for example, Mint and (I believe) Ubuntu do it this way. I don't know how, though.
Code: Select allgroups fred fred : fred cdrom floppy sudo audio dip video plugdev netdev lpadmin scanner bluetooth
I did disable the root account by Code: Select allsudo passwd -l root to see if it would make any change. Nothing different happened except that I now can't use GDebi or access "Users and Groups" since the root account and therefore password is inactivated. Not a big deal to get it back, though.
The biggest problem for me is user management and passwords.
Till know my email server use passwords from system users /etc/passwd. I would like to have a server where user which doesnt have an access to console can change the password in webmail panel (RoundCube, SquirrelMail)
Do You have any suggestions ? Or maybe You know some complete systems with nice admin and user panel ?
I have a Windows domain with a proxy. I have an account that can use the proxy and the URL that points to the proxy.pac file. this might seem a stupid question but can anyone tell me how do I enter the username and password for my test Windows account so that Debian can authenticate it?
to do administrating job by clicking "Adding Printers and Classes" or whatever. However, unfortunately, what I get today is
Iceweasel can't find the file at /usr/share/doc/cups/online-docs/admin.
So, click "Overview of CUPS" insted, then scroll halfway down, click "Administration" under Where Do I Begin? BINGO, you can proceed. My penguin is Debian squeeze AMD64.
Does anyone know if I can successfully remove / delete the 'debian-sys-maint' account from MySQL? I noticed it there and appears to be something the Debian developers / maintainers of MySQL package added. I am guessing it's there to manage package updates and system maintenance as a back door of sorts. Anyone know if I can remove this account and not break the package or database?