I have been put on the task of changing the passwords of two user accounts on one of our debian boxes at work. The problem is that the current passwords are unknown, and I only have SSH access to the machine.
Is there anything I can do?
I thought about simply creating two new users and removing the old, but that may not be an option.
I have a Suse 11.0 Server that has been running for a long time and I have not had to touch it, well I need to get into it today and I forgot the password. So I booted it up with the install disc and got into the rescue mode but I am not sure how or which system to mount to change the root password I tried sda and sda1 but it errored out with unknown system type
I've been running smoothly for most of the time but last time I booted my Lap a login screen appears. I had this disabled as I'm the only one using that machine. After trying several times it appears none of my passwords works. I log in as root (offline mode) to reset the pwd and then log in again with my standard user. Fine again and I disable log in so no account is asked when booting. As I got a new access point I had to reconfigure wireless connection. Shortly after I do so (1hr approx), the Wireless gets disconnected and it request my WEP key again. I entered and verified several times but no connection. I confirm with another device that the wireless is working and the WEP key is correct. So I restart to see if this fixes my connection and ,surprise, log in screen again and no pwd is recognized
I haven't touch that machine again but I'm afraid a malicious SW can be stealing my pwd. Only SW I have installed is from the official repositories
I have big folder I want to send it to my friend because it is over 20MB I can't send it by email so I want to put it on my website in a folder any time he wants to access it he should put uer name and passwod.I am completly new in that kind of stuff please let me know if any one know how to do it.
I want to change my user name, pretty my replace my user name completely so that it is reflected all around the OS. What is the less dangerous and most secure way to do it? I guess I can create a new user copy stuff all over but if there is an easier way I am going to prefer it.
want key based so i dont have to put in the password of user or passphraseI have edited the ssh_configfrom #Protocol 2, 1 to Protocol 2 with out the #I have edited the sshd_configPermitRootLogin yes to PermitRootLogin no#PasswordAuthentication no to PasswordAuthentication noi have the same file changes on the other 2 computers. I have 3 computer all together 1 xbuntu and the other 2 are ubuntu. All have the authorized_keys with chmod 400 persmissons id_dsa.pub and known_host fileone has id_dsa and it will not talk to the other computer either
aceraspire@momacer:~$ ls -l .ssh total 16 -r-------- 1 aceraspire aceraspire 605 2010-03-25 11:21 authorized_keys
I'm trying to do a shell script which are suppose to run a program as a specific user at system boot up. The problem is that I don't know for sure how to make the script add the users password to the prompt when it's necessary.
How would I make this script run this program as user extrema with the password "hidden" at boot-up? I know how to put the script in the rc.X directory and so on, its more the syntax of the code.
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).
I am running FC12 64bit on my desktop and the problem is that after I enter my credentials at graphicall login screen (Gnome) the computer hungs i cannot moove the mouse, CTRL+ALT+DEL won't work the Caps and Scroll lock on my keboard are blinking. Nothing responds. I am absolutelly cluless. Untill yesterday i was using FC12 i686 and never had this problem, but i got 4GB ram so in order to get those fully i installed the 64bit version. On clean install of the 64bit ver everything went fine, but i updated the system and followed theese instroctions [LINK]http://www.howtoforge.com/the-perfect-desktop-fedora-12-i686-gnome[/LINK] and that's all
I am running FC12 64bit on my desktop and the problem is that after I enter my credentials at graphicall login screen (Gnome) the computer hungs i cannot moove the mouse, CTRL+ALT+DEL won't work the Caps and Scroll lock on my keboard are blinking. Nothing responds. I am absolutelly cluless. Untill yesterday i was using FC12 i686 and never had this problem, but i got 4GB ram so in order to get those fully i installed the 64bit version. On clean install of the 64bit ver everything went fine, but i updated the system and followed theese instroctions [URL] and that's all.
Before i atempt to login i can ssh to the machine.
If I pass to my shell environment as a regular user will it apply to builds ran under sudo?I posted a thread similar to this regarding a build with TOR; however, this is applicable to all programs.
I followed these steps to add a client to my active directory domain, everything is working as expected except that when a username has whitespace it creates a directory in /home with whitespace and gconf fail to access his config dir in the user's home. KDE also fails to start but I don't know what's failing yet. I found that the easiest way to fix these issues is to replace whitespaces by underline in homepaths so I changed the pam_mkhomedir source to replace the whitespaces and save it using the usermod command. It should work but is not... the reason is that I can't change the user data using the usermod because domain users are not in /etc/passwd.
I am wanting to try to change my normal user (bbq) to a different screen size within my secondary user (lfs). I was wondering how one would do that.
This happened when OpenClonk changed my screen resolution and when i changed it back my screen blacked out (and me being the idiot save it).
Debian 8 GNOME
Also (a bit unrelated) could a video card problem cause a user to log out? I have been having some severe problems with my monitor and I am thinking it is th video card. Sometimes when I am starting a program my monitor will lose connection to my computer (HDMI signal not found) and I will either have to wait a few seconds and it will turn on or it will just stay blacked out.
I'm running ubuntu 10.04 and what I see is that after a few days up-time other computers on our LAN cannot resolve my ubuntu name anymore. This is critical since my NFS mounts stop working (my computer name is mentioned in the /etc/exports on the NFS server). My ubuntu is connected via DHCP.Is there some sort of refresh mechanism which needs to be configured in ubuntu?
I want to add 50 new users, not on the server yet I want to add them all to group Accounting - with 1 option, not user by user I want to setup a default password for them all, and have it say something like 'You must now change password or no access will be permitted' Any other options I also want to do once, not for each user?
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?
This netbook only has a user with non-administrative privs on it and root user but I do not have root's password.Is there a way that I can create a new administrative user of change the current user's group so that it can do sudo commands or have more privs?
My friend have been using Ubuntu 9.04 for a couple of months,he have protected his Grub entries using a password,but he forgotten his password..So now he cant able to login,he is getting struck in the Grub Menu..How to resolve this??
I'm looking for a Linux command that can change ownership of all files belonging to a given user,preferably in a targeted directory, to another specified user. My dream command would look something like this. chuser -R --olduser tom --newuser jerry
This is my scenario... I have a backup file (.tgz) with user and group information preserved in it. It was taken from a web server running Apache and MySQL. The files in the backup are from across the system and contain files from several different users and several system type accounts and it is key that when restored on the new server the settings are not lost. The problem is that the users on the machine the files are being restored to don't match the ones in the backup file. For instance both machines had a MySQL user but they have different user ids and there are several user ids that existed on both machines that belong to different users. This means there is no way to sync the users on the new machine to the ones on the old machine. I can find all the users files with the find command like this...
find /decompressed-backup-dir -uid 1050 or find /decompressed-backup-dir -user tom
If, as I suspect, there is no way to do what I want with a single command then perhaps there is a way to pipe the results of the find command to another command to handle the ownership change?
I could do this with a PHP script but there are 4GB and tens of thousands of files in the backup so I don't want to use PHP or Perl but I would be happy with a shell script that could handle it.
Haven't used my laptop with Ubuntu 9.04 in months, completely forgotten my username and password. I've read up other peoples advice on this but it hasn't helped, tried following this, [URL] but once i get to 'Drop to root shell prompt' i get 'Give root password for maintenance (or type Control-D to continue): I don't recall ever having a 'root password'
I have a 2nd ethernet card in my system that I use to share my internet connection. eth0 is connected to the internet, and eth1 is used for my 2nd computer to connect into. Whenever the 2nd computer is turned off, eth1 forgets its ip address, then when then 2nd computer is turned on, it can't access the internet until I reset the ip address on eth1 ("ifconfig eth1 up 192.168.1.1). I only see this behavior under ubuntu 10.04, not the previous distro that ran on this box, slackware 12. How do I keep eth2 from forgetting the ip address when no computer is attached?
As seen in this thread: viewtopic.php?f=20&t=50703xmessage is queuing a shutdown/reboot command, but if pressed, nothing happens. How do I get xmessage to send a textinput value to sudo?odify my execIsuma code to suit if you can, would make things much simpler.
I have stop using debian some months but I decide to come back. Yesterday I have make a clean install of debian squeeze. The network manager never rember my wireles password. Every time I open the pc it ask me the keyring password and the wireles password. Why network manager can't rember my passwords? Also I have a strange problem when I try to gain root acces. If I try to open synaptic or to mount a ntfs partion it ask me the root password but every time I type my root pass it says that its incorrect but I am absolutely sure that I type my root pass correct. Also if I try to gain root acces from terminal with su its became the same thing but after some tries it takes my pass as corect. So every time I type my root pass from a gui like gksu it always says that is incorect but if I type my pass in terminal it take it correct after some tries. In the past I have again installed the debian from the same cd on the same pc but I had never those problems. What can be wrong?
This is the first time I will be using Ubuntu OS. I have an Asus Ee PC 4g which has windows XP running on it. I forgot my password, I was using the administrator's account, and tried to use Opcrack to retrive it. I down loaded Opcrack on to my desktop and followed the instructions to put it on to my usb key.
I started up Asus Ee PC and got it to boot from the usb, Opcrack ran OK but came up with the password of my desktop which I had down loaded the programme to? As I have very little stuff on the Asus I decided I would just try and install Ubuntu and clear Windows off my Asus? I down loaded Ubuntu and put the it on to my USB OK and got it running.
I clicked the install folder on the desktop but the install stalled on the second step, the page after language? I am going to try and down load again using a torrent as I read this may be quicker and prevent from anything going wrong in the process.
I'm running Testing and need to pass some parameters to my bttv tv tunner card, for this reason I created the following file /etc/modprobe.d/kozumi.conf with this content:
alias char-major-81 videodev alias char-major-81-0 bttv options pll=1 radio=1 bttv_verbose=1 card=151 tuner=38 gbuffers=4
The problem is that for some reason this options aren't properly set after booting the computer, I've tried different combinations for line 1 and 2 without success.
I'm used to rmmod the bttv driver and modprobe manually with those settings but I'd like to automate the process.