Debian :: Change Forgotten User Pass Through SSH?

Mar 31, 2010

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.

View 1 Replies


ADVERTISEMENT

OpenSUSE Install :: 11.0 - Which System To Mount To Change The Root Forgotten Password

Jan 12, 2010

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

View 4 Replies View Related

OpenSUSE Install :: User Account Changed Configuration And Pwds "forgotten" By The System?

May 11, 2011

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

View 6 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

CentOS 5 :: Set Up User Name And Pass For A Folder?

Jun 21, 2010

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.

View 3 Replies View Related

Debian :: Secure Way To Change User Name?

Feb 21, 2011

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.

View 7 Replies View Related

Ubuntu :: Key Based So Dont Have To Put In The Password Of User Or Pass Phrase?

Aug 29, 2010

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

[code]....

View 3 Replies View Related

Programming :: Make Script That Runs Program As Another User With Pass?

Jun 7, 2010

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.

Basically the program would be run like this:

sudo -u extrema program_name -r /srv/program_name -d

and in this example the password is, "hidden".

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.

View 4 Replies View Related

Debian :: Give User Permission To Change IP

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

Fedora :: Computer Freezes After Enter User And Pass When Login To Gnome?

Mar 23, 2010

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

View 13 Replies View Related

Fedora :: Computer Freezes After Enter User And Pass When Login To Gnome

Mar 23, 2010

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.

View 7 Replies View Related

Debian :: Script For User To Easily Change Runlevel

Dec 21, 2015

I want to make a simple script so that the user can easy change the runlevels.

The script should prompt the user to choose the new runlevel, run the /sbin/init program and receive a confirmation message.

View 5 Replies View Related

Debian Configuration :: Change User Password In Live Usb-hdd?

Feb 9, 2011

Howto change user password in live usb-hdd?[URL]you need to copy the
/usr/share/initramfs-tools/scripts/live-bottom/10adduser your build folder:

mkdir -p config/chroot_local-includes/usr/share/initramfs-tools/scripts/live-bottom/
cp /usr/share/initramfs-tools/scripts/live-bottom/10adduser config/chroot_local-includes/usr/share/initramfs-tools/scripts/live-bottom/

[code]....

View 8 Replies View Related

Software :: Pass To Shell Environment As Regular User / Will It Apply To Builds Ran Under Sudo?

Jan 17, 2011

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.

View 6 Replies View Related

Debian Configuration :: Change Homedir In Active Directory User?

Feb 2, 2011

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.

View 5 Replies View Related

Debian Multimedia :: Change Screen Resolution For One User On Terminal

Jul 13, 2015

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.

View 0 Replies View Related

Ubuntu :: Computer Name Is 'forgotten' On LAN

Sep 1, 2011

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?

View 9 Replies View Related

General :: Create User Add File With Default Password And Force User To Change It?

Feb 2, 2010

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?

View 3 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

Ubuntu :: Create A New Administrative User Of Change The Current User's Group

Sep 3, 2010

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?

View 1 Replies View Related

Ubuntu :: Forgotten Grub Password?

Feb 11, 2010

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??

View 2 Replies View Related

General :: Disable User And Change User Password Using SSH?

Oct 5, 2010

How do I disable and change the user password using SSH on a Linux

View 3 Replies View Related

General :: Change All Files Belonging To One User To Another User?

Jul 20, 2011

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.

View 2 Replies View Related

Ubuntu :: Recover The Forgotten Username And Password?

Jul 25, 2011

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'

View 4 Replies View Related

Networking :: Ip Address Keeps Getting Forgotten When No Device Attached?

Mar 24, 2011

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?

View 6 Replies View Related

Software :: Retrieve Forgotten Root Password?

Mar 15, 2011

I installed Oracle database on LinuxI can only log in to Linux server by database userBut I forgot the root password and cannot log in by root.

View 4 Replies View Related

Debian :: Pass A Textinput From Xmessage To Sudo?

Oct 26, 2010

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.

View 8 Replies View Related

Debian :: Root Pass And Network-manager ?

May 19, 2011

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?

View 6 Replies View Related

Ubuntu Installation :: EE PC New Install / Forgotten Windows Password?

Nov 22, 2010

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.

View 9 Replies View Related

Debian Configuration :: Properly Pass The Options To A Module?

Oct 26, 2010

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.

View 2 Replies View Related







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