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
ADVERTISEMENT
Feb 3, 2010
I've seen many, many different solutions for how to change the GRUB boot order. Search no more. This is by far the easiest, safest way to do that.
Open your terminal and type in the following:
sudo apt-get install startupmanager
When that is done go to your control panel and you'll have a new icon that says Startup Manager. Every thing you'll need work with your GRUB menu.
View 1 Replies
View Related
Aug 14, 2010
I am using Ubuntu 10.04. I wish I could use Nautilus to change file dates, but I guess that does not work.
Is there another file manager, or something, that allows me to do this? I know about the touch command, but that's a little cumbersome for I am trying to do.
View 2 Replies
View Related
Nov 5, 2010
I don't really want to boot into GDM as I sometimes don't need X. Apart from XFCE, I've got i3 WM. I've changed the default runlevel to 3 so that I can startx. How would I change the WM session from CLI?
View 5 Replies
View Related
Aug 6, 2010
I'm trying to init 3 .. but I can't change te runlevel...I was reading about upstart.. But I can't understand.. :-(ubuntu upstartWhy they don't want to use /etc/inittab..it is so easy...Always I have problems because someone change the way of do things in linux...
View 6 Replies
View Related
Jan 31, 2011
I have a default runlevel of 5 where the x-server crashes and takes no key strokes from the keyboard. I want to boot into runlevel 3 to edit xorg.conf. This is SuSE 11.3_64 with GRUB.Anybody who knows how to tell GRUB to please comply with this from the GRUB command line (or however else
View 3 Replies
View Related
Sep 4, 2010
runlevels 2 -5 are identical in Ubuntu. /etc/init/rc-sysinit.conf is used instead of /etc/inittab for changing the runlevel. But there's no point doing that since the runlevels are identical. The default runlevel is 2, so I tried to find some service I could disable in /etc/rc2.d. I didn't find anything I could work with.
View 4 Replies
View Related
Jan 17, 2010
With the default boot set to runlevel 5 you have a login screen that provides a menu to choose which desktop to run (KDE, Gnome, etc).
My machine is set to boot to runlevel 3. How can I switch the desktop from the command line before starting X?
Fedora has a nice little utility called switchdesk, but can't find anything like it for openSUSE 11.2.
View 9 Replies
View Related
Dec 20, 2010
How do you change the default runlevel in Ubuntu 10.10? I need a solution that I can execute by editing text files; right now I'm accessing the Ubuntu filesystem by mounting it to another OS on a different hard drive.
The long and the short of it is that I'm getting a blank screen at login time. I suspect it's a driver issue (I have an Nvidia card) and it shouldn't be hard to fix... but I need a console. And no, I can't get in via Grub... my main OS is Slackware and Lilo is controlling the bootloader. So I need to be able to change the runlevel, and thus far a Google search has proved unenlightening.
View 5 Replies
View Related
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
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
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
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
Aug 26, 2011
Is there a tool or tutorial to build a distro based on mint/ubuntu/debian?Git, scripts, and tools, small compilations for branding are OK. Compiling kernel, x11, gnome, compiz, etc. is BAD unless really required. Specifically, I'm looking for a way to have some applications installed by default, change logos/about boxes, change theme, configure what compiz options are, and add firmware drivers (connect to the Internet to download wireless adapter driver? <- headache, gotta find a lan cable now ...), and still have the liveCD install method. I'd like it to be based on linux mint, but I only want a few tools from it (update manager, software manager, flash, media codecs), so it's ok if it's ubuntu/debian with those mint tools added back in.
I saw some options, too complex, and others too simple. Not looking for a "learning experience" like LFS which gives me a horrible linux build if I don't do something exactly right. Nor any of those tools which are just package pickers and don't do enough. suse studio looked about right(maybe tad too easy), but was RPM based, not deb based.
View 1 Replies
View Related
Jan 14, 2011
we know that /etc/passwd - is a replica of /etc/passwd file and acts as a backup in any damage done to /etc/passwd file..i have observed a strange thing in RHEL 5.4....for example... if /etc/passwd has 100 accounts.. then /etc/passwd - is having only 99 accounts....when i add 101 useraccount with "useradd" then /etc/passwd has 101 accounts and /etc/passwd is having the 100th account of /etc/passwd - ..when i delete /etc/passwd and recover it with /etc/passwd - from runlevel 1 the lastly created user is not having his account after recovery.. what is the solution? this is same case even with /etc/shadow and /etc/shadow -
View 2 Replies
View Related
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
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
May 24, 2011
I am attempting to create a working emdebian system on some arm hardware that I have. I can successfully boot the system, but it hangs at runlevel 2. I am trying to determine how to debug my problem but I am currently at a loss. I am going to include the steps I have taken thus far in hopes that someone can point out my error(s) and mistakes.
I've used multistrap
sudo multistrap --no-auth -a armel -d EmDebian/ -f emdebian.conf
to create a rootfs; t
The content of emdebian.conf is something similar to the following:
[General]
unpack=true
debootstrap=Grip Networking Debian
aptsources=Debian
[Grip]
packages=ntpdate udev lrzsz netcat telnetd adduser sudo nano
source=[URL
keyring=emdebian-archive-keyring
suite=stable
[Debian]
packages=
source=[URL]
keyring=debian-archive-keyring
suite=stable
[Networking]
packages=netbase ifupdown iproute net-tools
source=[URL]
keyring=emdebian-archive-keyring
suite=stable
After multistrap finishes I do the following:
sudo cp /usr/bin/qemu-arm-static EmDebian/usr/bin/
and then I chroot into it:
sudo chroot EmDebian/
Once inside I finalize the installation by doing
dpkg --configure -a
At this point in time I have went as far as creating a new user as well as added the ability to login via the serial console. However each situation ends in the same exact way, the kernel simply halts right after it enters runlevel2 when it is implemented on the arm hardware. For what it is worth I am using a kernel that I have verified to work using a different OS, so I believe that should not be the problem. I am looking for what my next step should be to resolve this problem, verbose booting relieved nothing and I can't seem to locate the reason for this hang.
View 4 Replies
View Related
Feb 7, 2011
I have downloaded voyage linux 6.5 based on lenny. One of the last things it says is mounting filesystem as read only. then asks me to do login. how to stop this action and eave the file system as Read/Write.
View 1 Replies
View Related
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
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
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
Oct 5, 2010
How do I disable and change the user password using SSH on a Linux
View 3 Replies
View Related
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
Oct 28, 2009
Is It possible to change a process running in root-user to non-root-user by setting suid / uid / euid / gid etc... I so please instruct how, when and wat to set in order to change a process running in root-user to non-root user
View 4 Replies
View Related
Sep 3, 2014
I have just installed vsftpd on my debain server..I want to know how can I create a new user called mesk as FTP user and set a home page to some folder on my server? I tried this:
Code: Select allhtpasswd -c /etc/vsftpd/passwd mesk but got: cannot create file /etc/vsftpd/passwd.
View 3 Replies
View Related
Jul 31, 2010
What do i need to read or watch to start using Linux (any distribution) easily?
View 5 Replies
View Related
Dec 16, 2010
I recently bought an old desktop off ebay to give to my dad with lubuntu installed on it. He doesnt do much - just the usual web browsing and storing photos - so i went with something reasonably old and cheap - 2.6ghz celeron (ugh I Know) emachine (again ugh, but I thought it would the job). I made the RAM up to 512Mb and installed lubuntu.
Unfortunately when I installed flash the video was all jumpy when watching anything online. So I looked into the onboard graphics and found that there are driver issues with some of that series. So I bought a graphics card (NVIDIA Geforce 5500 128mb - PCI cos the lame MB doesnt have PCI -e or AGP).
Sadly the video is still jumpy and lame. I've tried it in firefox as well so this isnt a Chromium issue. The video is watchable if you download it and then play through VLC (which it wasnt before the NVIDIA card). Xfce4 Taskmanager shows CPU useage maxing when I use Chromium to watch flash but RAM staying around half used.
I know I've been a tool buying an emachine - particularly with a Celery processor and no AGP or PCI-e (ebay is a cruel mistress at times) but Im appealing for any help people might have to sort this out. Im hoping there might be something I can do.
View 9 Replies
View Related
May 26, 2010
Is there any easy way to do this from within yum? Maybe by enabling a repository for that file or some such? Would like to keep up to date with wine releases.
View 4 Replies
View Related
Jun 18, 2010
i often compare two different files which differ slightly in there contents can you suggest me any tool or utility which will make my task easier.
At present i am using diff, sdiff command to compare the files any better option than this ?
View 9 Replies
View Related