Software :: Vi/vim Works For Root But Not For Regular User?

Oct 14, 2010

If I log in as root I can vi/vim a file with no problems. When I log in as a regular user I get the following error when I try to vi/vim.

[Code]...

Why does vi/vim work as root and not a regular user? Also what rpm's can I install to get it working?

View 2 Replies


ADVERTISEMENT

Slackware :: Cli Php Missing Modules As Regular User But Not As Root?

Sep 9, 2010

My cli php is missing modules as regular user but not as root. In particular, mysql is missing... which is how I came across this issue. I'm running Slack 12.2 w/ php 5.2.14, standard Slack packages. As a normal unprivileged user:

-> whoami ; php -v ; php -m |wc -l ; php -m |grep mysql
jerry
PHP 5.2.14 (cli) (built: Aug 25 2010 15:17:31)
Copyright (c) 1997-2010 The PHP Group

[code]....

I've tried reinstalling php and it made no difference. php.ini is not to blame. I've Google'd this to death, no luck.

View 7 Replies View Related

General :: Log On As Another Regular But No Root User With That Password And Boot Up Into Centos

Jul 22, 2011

I forgot the root passwd for linux (via the "single" mode) and, according to all confirms, did so successfully! I then try to log on to Centos as root, and I can't....it says "incorrect passwd"! So then I log on as another, regular, but not root, user, with that passwd, and boot up into Centos. if I try to "su" to root, with the new root passwd, again it says its incorrect. there is no "system admin" passwd set. I checked!. I need root access within Centos!

View 8 Replies View Related

Software :: Shared Library Accessible By Root And Not By Regular User?

Oct 12, 2010

I'm trying to install Google Chrome on Slackware 13.1 (32 bit) and I have a little problem with shared libraries.The google-chrome applications looks for nss libraries with file names ending in apparently non-standard ways (for me and my system, at least): for example, it looks for libnns3.so.1d, but I have libnss3.so, so I created a symbolic link libnss3.so.1d -> libnss3.so. The problem now is that if I run google-chrome as my usual regular user I still get the missing library error, but if I run it as root I don't get the error anymore (well, it still complains about other libraries missing for the same naming reason, but anyway it's able to find the one I just renamed). The permissions seems fine to me:

Code:

/usr/lib# ls -l | grep seamonkey
lrwxrwxrwx 1 root root 15 Jun 16 22:03 seamonkey -> seamonkey-2.0.4
drwxr-xr-x 14 root root 4096 Oct 12 10:47 seamonkey-2.0.4

[code].....

View 7 Replies View Related

Debian :: Why $http_proxy Only Works For Root User In Apt-get

Feb 24, 2010

I just setup a debian OS(in emulator) and trying to use apt-get update. When I log in as root and do:

export http_proxy=http://proxy.com:9090
apt-get update   works

If I use another user and ssh to this debian, sudo apt-get update will fail to work because it don't use the proxy. I try to do the export http_proxy stuff again but still not working. echo $http_proxy showing it already set correctly...

p/s:
I have a workaround by adding this lines in the apt.conf
ACQUIRE {
http::proxy "http://proxy.com:9090"
}

but I really don't want this solutions because I want to easily disable the http_proxy in command prompt (by unset it).

View 1 Replies View Related

Ubuntu :: 10.04 Lucid - Samba Only Works For Root User?

Jul 17, 2010

I'm new to Ubuntu and I'm pretty sure I'm just missing something simple. I want to use Samba to share my raid array to all of my machines, so I have...Installed Ubuntu and created a single user: mattMounted my ext4 raid set with fstab:

Code:
UUID=78d85398-d179-4640-bb1b-f770ba90abb1 /media/Data ext4 defaults 0 0
Installed Samba (real Samba, I haven't touched the Nautilus-Share right-click thing):

[code]...

View 1 Replies View Related

Applications :: Program Works As Root But Fails As User

Jan 21, 2010

I can't get a program (wbar) to run directly from my user account, it fails saying "Image not found -> maybe using a relative path?". But if I run su -c "wbar", it shows up and manages to load the image. I think it has something to do with ImLib2 or whatever loads the image. I checked permissions on libImlib2.so.1 and it's world-readable and executable. Can libImlib2.a be causing this problem, set to 644? What else should I be checking?

View 2 Replies View Related

Debian Configuration :: Ping Fail As User Works With Root?

Oct 13, 2010

I have a very strange problem.ometimes, yes sometimes not all the time, I get a Destination Host Unreachable when I ping a computer on my network. If I switch to root using su I can ping that same computer. Here is a screen shot:

joseph@laptop:~$ ping 192.168.1.14
PING 192.168.1.14 (192.168.1.14) 56(84) bytes of data.
From 192.168.1.9 icmp_seq=2 Destination Host Unreachable

[code]...

View 1 Replies View Related

Ubuntu Multimedia :: Karmic: Sound Works For Root But Not For User

Feb 7, 2010

I cannot find a post that matches this scenario...the id created during the install (from CD) of Karmic has fully usable sound. However, users created from the Users and Groups app do not.

I have made sure that all users are defined to the audio, pulse, pulse-audio, and pulse-rt groups. No luck.

I have followed every step I have read having to do with the alsamixer. No luck.

I have verified that alsa and linux itself are at the latest versions.

View 9 Replies View Related

Hardware :: Audio Fedora 12 As A Normal User But Works As A Root?

Sep 14, 2010

I'm using fedora 12 and modified the user login options(normal and super user login). I've been using the accounts for a while but i've bumped into a problem - audio not working as a normal user but works when logged in as root. Also, i'm not able to use VLC as a root user.

View 1 Replies View Related

General :: Difference Between Regular User And System User (and Groups)

Sep 28, 2010

What is the difference between creating a "regular" user and creating a "system" user on Linux?

For example:

Code:

adduser john

Code:

adduser --system john

Similarly it seems there are normal groups and system groups. Doing an internet search and reading man pages does not give much information on the whole concept of system and regular user/group.

View 1 Replies View Related

Slackware :: Virtualbox Current 32b Nvidia KDE(failsafe) Works But Regular KDE Does Not?

Mar 26, 2011

I have 13.1 on its own drive and works fine. I installed virtualbox in 64b windoz on a different drive with the same computer so I can play with all the different linux systems. Around 6 weeks ago I installed slack current from alien bobs mirror with no problems. An update a week ago? and kde would not work. KDE failsafe and all other desktops work fine.

View 5 Replies View Related

Software :: Change A Process Running In Root-user To Non-root User ?

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

General :: CentOS / Sudo Doesn't Accept Root Password But Logging In As Root Works

Apr 9, 2010

I was trying to edit a file requiring root permissions, so I used sudo. I typed the root password and it failed. This happened three times, and the process was ended. I then logged in as root (su) and was able to navigate to the file and make changes as root. Am I missing something? How would I edit the sudoers file such that this password would work? Or is there another way to log in to the sudo group to make these changes? How do I set sudo passwords?

View 1 Replies View Related

Debian :: Use Same Password For Root And Regular Account?

Jul 7, 2009

I first started using Ubuntu and I liked the sudo facility because I didn't need to remember two passwords, so when I installed Debian I wrote the same password for the limited and the root account. Is this very bad for security? I mean can a program started from my regular account immediately become root or something?

View 9 Replies View Related

Slackware :: Can't Start Tint2 As Regular User?

Aug 12, 2010

If I start tint2 as root it works, if I try as spoovy, it segfaults.

Code:
bash-4.1$ tint2
real transparency off.... depth: 24
xRandr: Found crtc's: 2
xRandr: Linking output LVDS with crtc 1

[Code]...

View 2 Replies View Related

Ubuntu :: SSH X Forwarding Works For Main User, Not For Secondary User?

Oct 24, 2010

I can SSH to my own box using "ssh -X arancaytar@localhost" and run graphical applications. When I try the same using "ssh -X chris@localhost", I get an error message saying

Code:
chris@enki:~$ gedit
X11 connection rejected because of wrong authentication.

[code]....

View 4 Replies View Related

Server :: PRNG Not Seeded - Works With 1 User But Not A /chroot User

Jun 28, 2010

I installed SSH-keygen dependancies for a /chroot user.

I can now execute ssh-keygen from the /chroot user BUT I receive a message PRNG is not seeded.

When I do it from any of the users that are not /chroot users, it works fine.

View 2 Replies View Related

Fedora :: Hotkey : Run Shell Script As Regular User?

Aug 15, 2009

I want to run /etc/acpi/actions/blank.sh as a regular user, but it will only run as root. I am trying to setup a keyboard shortcut to run the above script without success. I can run the file blank.sh as root, but not as regular user. Basically I went to: System > Preferences > Keyboard Shortcuts, and added a shortcut to blank the screen. I used the name: Blank Screen, the command: /etc/acpi/actions/blank.sh, and the shortcut: XF86Launch1. XF86Launch1 corresponds to the extra "Access IBM" key found on my keyboard. xev confirms that pressing the "Access IBM" key gives the keycode XF86Launch1. I can launch other programs such as firefox using this method. Here is the actual file blank.sh:

Code:

#!/bin/bash
RADEONTOOL='/usr/sbin/radeontool'
STATUS=`$RADEONTOOL light|awk '/The radeon backlight looks / {print $5}'`;

[code]....

The better method would be to get /etc/acpi/events/blank to accept a hotkey sequence, but this seems broken in Fedora 11. The file blank:

Code:

event=ibm/hotkey HKEY 00000080 00001001
action=/etc/acpi/actions/blank.sh
acpi_listen for keys Fn+F1 reports: ibm/hotkey HKEY 00000080 00001001, but the above file is not being executed.

View 1 Replies View Related

Ubuntu :: Unable To Mount Cdrom As Regular User

May 17, 2010

I have a problem to mount my cdrom as a regular user. After inserting a cd, I receive this error message:"Error mounting: mount exited with exit code 1: helper failed with:mount: must be superuser to use mount" After mounting the cdrom as superuser with "sudo mount /media/cdrom".I can access the cd also as regular user. This behavior is inconvenient and I would like to be able to mount the cdrom as user.Honestly, I do not have the experience to tell if this should be fine or not. Do you have any advice for me to fix this problem? I am running Ubuntu 9.10 with a 2.6.32-02063209-generic kernel.

View 6 Replies View Related

Debian Configuration :: Regular User Cannot Unmount Autofs Share

Feb 19, 2016

Running 8.3..On 7.6 I had a automount and I was able to mount/unmount without issue. With 8.3, I can mount, but when I am in Thunar and i unmount, it gives me a permission denied.In /etc/groups I am in plugdev.

View 2 Replies View Related

Debian Hardware :: ALSA - Cannot Play Sound As Regular User

Jan 27, 2011

I've been having some issues with my sound card since I cannot play a sound with my current user. As a root user I can play sounds with "aplay" but as my regular user, I can't play anything

# aplay file.wav
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4154:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4154:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4154:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4633:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM default
aplay: main:564: audio open error: No such file or directory

# sudo aplay file.wav
Playing WAVE 'file.wav' : Signed 16 bit Little Endian, Rate 8000 Hz, Mono

I have add my user to the audio group with no success
usermod -a -G audio myuser

View 2 Replies View Related

General :: Ubuntu - Turn Into Admin Group A Regular User?

Apr 9, 2010

i've got a regular user i want to turn into admin group so he can have same privileges as a root. should i just change the GID in /etc/passwd and /etc/group or should i use usermod/groupmod?

View 3 Replies View Related

Ubuntu Security :: Change The User Password On A Regular Basis?

Mar 30, 2010

is it considered standard practice to change the user password on a regular basis and if so how often?

View 4 Replies View Related

Slackware :: Automount LUKS Encrypted USB Disk As Regular User

Oct 29, 2009

How can I get a LUKS encrypted partition on an external USB device automounted with r/w access for non-privileged users?

Background:
I just reformatted an external USB device with ext4. The only partition is LUKS encrypted. Now, when I plug the device to my computer, KDE notifies me and asks me to enter the LUKS passphrase. Then it mounts the device. Little snag here: Non-privileged users have read-only access.

My user is a member of group plugdev, but not of group disk, as this was discouraged several times, e. g. by Robby Workman. With non-encrypted disks regular users have read/write access, or can change the filemodes accordingly, as far as I recall (currently I have no more non-encrypted disks left to verify it...)

View 11 Replies View Related

Slackware :: Permanent Fix For Unable To Use USB Devices In VirtualBox As Regular User?

Oct 20, 2010

Does anyone have a permanent fix for not being able to use USB devices in VirtualBox as a regular user?

View 11 Replies View Related

Fedora :: Get Palimpsest To Get Authorization To Mount Partitions When Started As A Regular User?

Aug 30, 2011

How can I get palimpsest to get authorization to mount partitions when started as a regular user? It works when started from a root session.

View 2 Replies View Related

OpenSUSE Network :: Regular User And Http. Grant Correct Privileges?

Jul 30, 2010

I have a normal user (sites:users) and the usual http user (wwwrun:www).I'm hosting several sites and I want to be able to upload stuff via ftp, so I'm using the "sites" home (/home/sites) to keep the sites I'm hosting. Giving read permissions to all inside /home/sites makes it accessible and readable to the wwwrun user. Problems come when I need to upload something. The easy way is to give 777 permissions to the folder that's going to receive the file, but I don't feel comfortable at all with that.

What do you recommend? Is there any group configuration that could help me (like adding "sites" to the "www" group)? Or any other configuration at all that might be according the the best practices?

View 6 Replies View Related

Slackware :: Suspend - Hibernate At Command Line As Regular User In 13.37 - Use ConsoleKit?

Apr 18, 2011

Using the most recent -current/13.37, I'm curious if there is a New Right Way to suspend as a regular user from the command line, now that we've got PolicyKit/ConsoleKit running the show. I've seen some things (e.g., on the Archlinux wiki) that seem to come close, but require UPower. For some reason I can't wrap my head around the PolicyKit documentation well enough to figure this out.

My old solution was to add a line to /etc/sudoers giving anyone in the power group access to pm-suspend, pm-hibernate, and shutdown, and this is probably what I'll end up doing with 13.37.

View 8 Replies View Related

Ubuntu Security :: Unable To Deny Sudo Access To Regular User Account.

Dec 19, 2010

I made a Desktop User account. When I went on that account, it allowed me to execute sudo as if I was an administrator. I don't know what might be causing this. I do have ufw set up and blocking incoming connections. Do you guys know what might be at the root of this?Also, when I used sudo from the user account (which I shouldn't have been able to do), I provided the password for my admin account.

View 9 Replies View Related







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