DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
yes....it work...Now I have 3 CD of debian....and already installed it...but now I am facing problem to log on...I forgot the root password....At the time of installation I ceate a boot disk...will It work for me to retrieve my root password....Please help...I have bootable CD also...Just tell me how can I retrieve my root password....without installing debian again...
Actually my root passwd..is correct..but whenever I sart debian it automatically goes to xwindows..then ask me for user and passwd...when I am giving the right passwd..it gives me following error...
"The System Administrator is not allowed to login from this screen"
and another thing is that it is asking me for netwotk environment to choose....I already created two new environment but failed to log on....
How can I go to text mode only..automatically....at startup...
I also try with linux init=/bin/sh and a get a command prompt...
But what I will do then...I men I cannot edit the file /etc/passwd....even I cannot view the file also with less comand...
NO. if you have the root password do not pass the init=/bin/sh option. I don't believe you are quite ready for that yet.
So X starts up, you get a graphical login manager (GDM, KDM, XDM).
Rule #1. Don't log on to X as root.
Rule #2. If you have forgotten the user named "romel"'s password, switch tty's while the login manager is on screen with ctrl-alt-F1. Login to the console as root.
type:
passwd romel
and change romel's password. Then do ctrl-alt-F7 to get back to the login manager. By default the login manager and X runs there. To get to text mode at bootup, one edits the file /etc/inittab and
And makes sure that the number 2 is just like mine. HOWEVER, unlike Redhat that uses runlevel 5 for a GUI startup, Debian uses 2, and the login manager handles this. I just remove the login manager with apt-get remove gdm (or kdm, xdm).
I suggest you leave the login manager running, and just use ctrl-alt-F1 to toggle over to a console and perform any work you must. I also recommend you install the package sudo
apt-get install sudo
Then read the man pages for sudoers:
man sudoers
Just to reiterate: if you KNOW the root password, don't go mucking in /etc/shadow or /etc/passwd. You'll screw the system up.
Create a new user or change the user's password, and login to the X environment in this fashion.
You need to properly follow the installation guides. The installer prompted you to add a user and you chose not to? I don't want to offer any more assistance if you're going to run as root all of the time. Adding a user is very easy. One thing I suggest is you start using Google for these questions.
Yes Sir...I have added two normal user account from my console mode and use chfn command also to edit their profile....
Thank you once again...as you suggest...I will toggle to console mode everytime I start...later I will learn how to remove the login manager with apt-get remove gdm (or kdm, xdm).........
Now I just want to set up my networking again....I mean I want to edit my domain name...host name...IP address.....etc.....
Cause I just finish the installation ....and was hoping to do these jobs after installation....
And the most important thing that I want to configure the mail server with exim MTA.....
I am trying to edit the /etc/network/interfaces file to change my IP address but only able to view....cannot make changes....at x windows I am able to logon using normal account only...please post me example... your /etc/network/interfaces default file....
Also suggest how can I edit this file..and save it....
whenever I am restarting my PC..it says
"Dedian GNU LInux..
choose your current network environment ! "...
Can i skip this message..also I want to keep only 1 environment.....there are 4 environment on my lists....how can I remove them....
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.