General :: Partitioning For Slackware 10.1 - Require Traditional Root Account

Aug 31, 2009

In the ubuntu series I find my hard disk description as this: /dev/sda. As we know in slackware (10.1) for partitioning we either use 'fdisk' or 'cfdisk' when I use fdisk, like mentioned: fdisk /dev/sda. It says disk cannot be found.... or something like that. I think I know why?

You see my hard disk has the D: E: F: as extended partitions comprising logical drives and only my C: drive is pure primary. Does this have any connection with my problem? As from my explanation you can find that I'm a total wreck with computers.. but I'm very thrilled to learn linux. The reason why I need slax is that I require a traditional root account.

View 14 Replies


ADVERTISEMENT

Slackware :: Root Account Recovery

May 7, 2010

anyone knowledgeable could follow this thread? [URL]

View 1 Replies View Related

Slackware :: Creating A Salix Root Account?

Oct 25, 2010

I am an experienced Linux user, but have never used Salix before. I have a root account set up on my other Linux distros, but can not figure it out using Salix. The reason I want a root account in Salix because I believe in freedom of choice, and my choice always was and always will be to have a root account set up so I can login as root. I am aware of the risk involed in creating a root account.

View 14 Replies View Related

General :: Using SSH To Log Into A Non-root Account Using Root Password

Feb 10, 2010

I am trying to log into a server with a particular account. Let's say I don't know the password for that account. Can I do this using ssh? I am wondering if it is possible to do it in one command, instead of logging in as root and running su.

View 4 Replies View Related

General :: Root File System Partitioning - Filesystems ?

Feb 12, 2010

I've been using *Unix systems for many years now, and I've always been led to believe that its best to partition certain dirs into separate FileSystems, off the main root FS.

For instance, /tmp /var /usr etc

Leaving as little as possible on the main / system.

Its so that you don't fill up the root system be accident, by some user putting in too bigger files in /tmp, for example.

I would presume that filling the / system would not be too good for Linux, as it would not be able to write logs and possibly other things that it needs to.

I believe that if root gets full, then there is something like a 5% amount saved for just 'root' to write to, so that it can do its stuff.

However, eventually, / will become full, and writes will fail.

On top of this, certain scripting tools, such as awk, use the /tmp/ system to store temp files in, and awk wont be able to write to /tmp/ as its full, so awk will fail.

However, I'm being advised that there is no need to put /tmp /var etc onto separate FSs, as there is no problem nowerdays with / filling up. So, /tmp /var /usr are all on the root FS.

I'm talking about large systems, with TBs of data (which is on a separate FS), and with a user populations of around 800-1000 users, and 24/7 system access.

View 2 Replies View Related

General :: Partitioning / Perform Bad Blocks Scan On Root Partition

Nov 28, 2010

My root partition is formatted as ext3 and I would like to perform a bad blocks scan on it. Normally e2fsck -c -c does this, but you can not run it on a mounted partition. I know it is possible to force a fsck to run at boot by creating the file /forcefsck but is it possible to specify that it should also check for bad blocks? If not, what is the recommended way to check for bad blocks on the root partition? I would like to avoid having to create a rescue disk and boot off of it.

View 2 Replies View Related

General :: No Root File System Is Defined. Please Correct This From The Partitioning Menu?

Apr 29, 2011

From Ubuntu 11.04 installer. What does this mean? how do I do it correctly?

View 11 Replies View Related

General :: Partitioning - Dual Boot Windows 7 And Slackware 13.0

Oct 13, 2009

My current laptop (purchased off of a local computer store owner, I think it's brand is generic but it is called a SPARTAN for those that need to know) is running windows 7 professional and I am attempting to install Slackware 13.0. Now, I did the whole partitioning thing under windows (computer>manage>etc.) but for some reason whenever I boot the DVD to install it seems like it cannot read my hard drive. I then went directly into setup > target partition and I notice that it is reading my hard drive because my two partitions that windows exists on is there.

Now, what is says when I use cfdisk is that it seems to be reading the DVD and it gives me an error saying that the disk is read-only (which I see why). Is there a step I'm skipping while preparing the hard drive while under windows or is there just something wrong with my computer completely? I tried to read the readme and attempted to use fdisk but it's really confusing for me considering I have never used terminal type code before (except random DOS commands). I can get it installed in virtualbox but I just can't install it on the main computer. If it's worth mentioning, I downloaded the DVD ISO off of the website.

View 3 Replies View Related

General :: Broke Root Account ?

Oct 6, 2010

I deleted the root line in passwd and shadow and then tried to copy the backup and was able to put it all back to normal from rescue mode. However when i get to my login screen i can not login as root anymore or even after logged in as another user i can not su - or su root, it tells me that root user does not exist......

View 14 Replies View Related

General :: Use Crontab -e To Set It Up Under The Root Account?

Jul 16, 2010

I have set up my crontab and whilst Im logged in and it works (It runs my shell script), however when Im not logged in, the script does not run. Initially I set the time/date to 0 0 * * * (Midnight every day), as this did not work, I tested it with to 0 * * * * (every hour) whilst logged in and the script starts.

I use crontab -e to set it up under the root account..Im sure you dont have to be logged in for it to run?, but maybe im missing a step or just overdosing on Linux and need a holiday:-)

View 3 Replies View Related

General :: How To Switch To Root Account

Mar 11, 2010

I want to add a new user. For that purposeI switch to su and give root passwd. There I gave a command " useradd ". [smith@localhost smith]#adduser when i press enter key by typing adduser command it say me "Command not found" .Then i log off from my own account and login again from root account. The command "useradd" is then accepted.is there any way that without logging off from normal user account I may enter my roor accout and work as a root account instead to log off from normal user account.

View 5 Replies View Related

General :: Disposable Account With Root Access ?

Jul 12, 2010

I have a Web server issue for which I have hired a reputable local consultant (recommended by several people in our local Linux User Group).

For some of his tasks, he will need root access.

How do I build him an account, specifically for him that I can delete later, that will allow him both unprivileged and root access?

View 2 Replies View Related

General :: Root User Account Number For System?

Feb 18, 2010

What is the user account number when you create a root user account for the system during the installation of any linux distribution? I'm not sure if its 0, 1, 10, or 100..

View 2 Replies View Related

General :: Limit Root Access To User Account?

Jun 24, 2010

I am a user of a cluster. I don't want root to see/copy files from my user account(obviously). Is that possible to limit the access of root to users account?

View 14 Replies View Related

General :: Switching To Root Account In A Bash Shell?

Jul 15, 2011

Today I faced a very strange issue while switching to root account in a bash shell.My OS : CentOS-5.1.4

I logged in my system with account name user1 and I open the terminal and below shell opens

[user1@localhost ]$

Now when I type su and want to switch to root account , it fails

[user1@localhost ~]$ su
Password:
su: incorrect password
[user1@localhost ~]$ exit

I know the password is 123 & I m 100% sure .

View 8 Replies View Related

Software :: Execute Shell Commands That Require Root Password From PHP?

Jun 26, 2010

php. I am developing a web-interface for an application that sometimes needs root privs. Editting /etc/sudoers is not an option since the web interface needs to be portable to other users when they install my application. Is there any workaround ?PHP Code:

php code:$command = "./script.sh /dev/$DISKNAME &";$shellOutput = shell_exec($command); 
Code:

[code]...

View 2 Replies View Related

OpenSUSE Install :: Get Root Privileges On User Account Without Using Root Login?

Feb 5, 2011

i am having problems with privileges i have created a new user with my name, but i cant get root privileges on it. i need the same privileges as the root profile.

View 9 Replies View Related

Server :: Fedora Sending Mails From Root With Non-root Account?

Jul 14, 2011

I've started to get emails that would typically come from [URL] as [URL]. These emails come from services that send out emails (backup programs) directly, or from cronjobs. I've logged in as the non-root account and either sudo su - or su - to root and the restart the service at one point or another. If I login directly as root and bounce the service or cron the emails come across as from root. I don't see anything in my environment variables after I su to indicate what would cause this. I'm not sure where else to look? A pam setting? This seems to have happened between Fedora 10 and 14 (did a bunch of overdue upgrades recently) I've only got Fedora so I don't have anything to compare to. In Fedora 10 I did not have this problem.

View 2 Replies View Related

General :: RHEL 4 Reboot Causes Tomcat Process To Not Be Started By Non-root Account

May 25, 2010

I have a startup script placed in /etc/init.d wherein I make the following call:

nohup sudo -u myuser $CATALINA_HOME/bin/startup.sh 2>&1

This causes Tomcat to be run as myuser, which is expected. However after issuing the reboot command the system starts up and root is now the owner of this process. How can I force the process to be started off as myuser on reboot?

View 1 Replies View Related

General :: Sharing Configuration (.*rc Files) Between Normal User Account And Root

Oct 2, 2010

On a Fedora Core box, I have a normal non-privileged user and I also have sole access to the root account. Because I am the only administrator of this box, I frequently su over to root for administrative tasks. The problem is that many of the user configuration I've become accustomed to are only configured on my day-to-day account (.vimrc, .bashrc, .screenrc, etc). Other than giving my day-to-day user account privileges to perform administration tasks, how would I go about sharing configuration between these two accounts?

View 1 Replies View Related

General :: Can Root And Main User Account Share Same Home Directory?

Feb 13, 2011

Or would this sacrifice security in some way? I've been using root only, and am ready to have a seperate account now. It's the dotfiles for GUI apps that I'm concerned about:

Code:
-rw------- 1 root root 98 Feb 13 16:23 .Xauthority
-rw------- 1 root root 6392 Feb 12 18:13 .bash_history
drwx------ 5 root root 4096 Jan 13 17:47 .config
drwxr-xr-x 4 root root 4096 Dec 29 21:36 .fvwm
drwx------ 4 root root 4096 Nov 7 19:55 .mozilla
-rw------- 1 root root 218 Jan 26 10:04 .recently-used.xbel
-rw------- 1 root root 98 Feb 13 16:23 .serverauth.17096
drwxr-xr-x 2 root root 4096 Dec 25 12:42 .tuxcmd
drwxr-xr-x 2 root root 4096 Feb 12 17:25 .xine

View 11 Replies View Related

General :: Disable - Non-root Shell Command To Find If A User Account Is Enabled Or Not?

Aug 10, 2011

Is there a non-root shell command that can tell me if a user's account is disabled or not? note that there is a fine distinction between LOCKING and DISABLED:

LOCKING is where you prepend ! or * or !! to the password field of the /etc/passwd file. On Linux systems that shadow the passwords, this marker flag may be placed in /etc/shadow instead of /etc/passwd. Password locking can be done (at a shell prompt) via password -l username (as root) to lock the account of username, and the use of the option -u will unlock it.

DISABLING an account is done by setting the expiration time of the user account to some point in the past. This can be done with chage -E 0 username, which sets the expiration date to 0 days after the Unix epoch. Setting it to -1 will disable the use of the expiration date.

The effect of locking to to prevent the login process from using a supplied password to hash correctly against the saved hash (by virtue of the fact that the pre-pended marker character(s) are not valid output character(s) for the hash, thus no possible input can ever be used to generate a hash that would match it). The effect of disabling is to prevent any process from using an account because the expiration date of the account has already passed.For my situation, the use of locking is not sufficient because a user might still be able to login, e.g. using ssh authentication tokens, and processes under that user can still spawn other processes. Thus, we have accounts that are enabled or disabled, not just locked. We already know how to disable and enable the account - it requires root access and the use of chage, as shown above.To repeat my question: is there a shell command which can be run without root privileges which can output the status of this account expiration info for a given user? this is intended for use on a Red Hat Enterprise 5.4 system.The output is being returned to a java process which can then parse the output as needed, or make use of the return code.

View 2 Replies View Related

Ubuntu Installation :: No Root File System Is Defined Partitioning ?

Dec 2, 2010

So I keep getting this error from the 10.10 installer:

"No root file system is defined. Please correct this from the partitioning menu."

However the partitioning menu shows no disks or partitions at all.

The disk browser can however see and mount both partitions from my disk.

It is a terabyte SATA drive and the bios has been set to IDE.

It has 2 partitions with windows installed on the first partition.

Gparted can see both partitions but claims it cannot find the mount point of the second partition. (both are NTFS)

I have attached a screenshot.

How to proceed from here so I can install Ubuntu.

View 4 Replies View Related

Slackware :: Best Practice In Partitioning - 320 GB Space Distribution

Apr 9, 2011

I am new to Slackware but I'm a bit familiar with Ubuntu. I normally partition my ubuntu using /swap, /root and /home. In ubuntu it is recommended to separate /home and /root partitions so that later on if something to be changed in the system we just need to apply on that /root without affecting our old data in /home. Is it the same way in Slackware applied? If so, is it the same as having /swap, /root and /home partitions as well? Can anyone suggest for the harddisk distribution of my 320GB space..

View 14 Replies View Related

Slackware :: Cfdisk - Difference Between Two Choices When Partitioning

Jun 14, 2011

Although I use Slackware for many years I never understood something. During the creation of partitions, using cfdisk, there are 2 choices. "Beginning" and "End". What's the difference between these two choices? Does this have to do with older Lilo versions?

View 5 Replies View Related

Slackware :: Partitioning Schemes - Primary Boot And Distro Hopping

Nov 22, 2010

I managed to do something that takes real talent to do: I broke my Slackware. I was chowning something for a user and, as I was really sleepy, accidentally entered "chown -R user /". It really didn't break, but it started to get glitchy because I couldn't fix it well enough. Then I rage-quit the game and wiped my whole drive except for my personal files. So now I'm here to learn how to properly install Slackware64 current out of the box and hear suggestions regarding partitioning schemes. First of all, I'm aware Alien Bob has a script to help automate the upgrading of the system. Is it the mirror-slackware-current.sh? Then what should I do? Install Slack and run the script or can I download things from another distro (I have Arch installed - love LXDE!) and use the Slack DVD to boot and choose it as the source?

If the suggested method is to install Slack first and go from there, I should upgrade slackpkg first, right? My other question is regarding partitioning schemes. I have an 160GB hdd and I used to follow this format: a small (200MB) primary /boot, a primary 20-30GB /, a primary 100GB (give or take) /home and the rest as an extended distro-hopping partition (at the moment I'm building LFS) plus swap. The thing is that I've been noticing a big inconvenience in this method. I have around 40GB left and sometimes I get curious about distro x or y and want to install it so I have to change the logical partitions and my swap gets renamed, which makes me have to edit my fstab. I already changed this setting sda1 to be swap. I'll be installing in a desktop personal computer. Some college work, but nothing too hardcore.

View 7 Replies View Related

Software :: Use Root Account For The Ftp

Aug 31, 2010

I'm trying to use my root account for the ftp. Now, he can connect but when i come in the map "home" its empty (in the ftp) but he can't get the information.

whats wrong whit my conf
vsftpd.conf:

Code:
anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022

[Code].....

View 10 Replies View Related

Debian :: Using Root Account With Or Without Slash?

Sep 26, 2015

I came to debian from fedora so there I used ( su - ) to become root user. So my question is that in debian, is it same using ( su ) and ( su - ) or here also using ( su - ) is preferred with slash or without slash. What is the correct and secure way in debian with full root status.

One more question relating gedit sources.list

I use as root account : gedit /etc/apt/sources.list (and then enter and sources file in gedit open)

Is this correct method or any other way as when save after changing entries inside it says error.

View 3 Replies View Related

Ubuntu :: Can't Log Into Root User Account

Feb 5, 2011

I was changing my GUI settings in XFCE in my root user account on Xubuntu when suddenly I was logged out and the computer shut down.

(I have done this before with no such trouble...)

Now I can't log into my root account all I get is a blank screen for a few seconds then I'm back at the log-in screen, the other account works fine.

(This is on my Xubuntu 10.10 laptop BTW...)

View 5 Replies View Related

Ubuntu Servers :: FTP Without The Root Account?

Mar 3, 2011

I try to use FTP to put new files and catalogs on my server and I always run into problems that I have not the right to create catalogs and files in the named catalogs and so on, it is very annoying.Is there a way around this problem or do I have to activate root account to not run into these problems all the time? I have worked with different UNIX-versions and variants for the last 15 years at least and have always had access to root account, why is it so dangerous to have access to root account in ubuntu?

View 3 Replies View Related







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