Slackware :: Cannot Run Installpkg And PKGtool As Normal User
Mar 24, 2011
I have recently installed the Slack 13.1 x86_64 on my laptop. It works fine! But I have one trouble with it. I cannot run the installpkg and pkgtool with my normal user. It says to me that there is no command found. Is it a problem with the sudoers file or these commands are not really installed? Maybe my path is incomplete?
I installed Slackware 13 in VirtualBox 3.1 (seehere)When I'm logged in as a normal user, I get a mesage that Intel *** (sound device) doesn't work anymore and I hear no sound.But it works very fine when I'm logged in as root.
I just want to be able to access and modify the files on my usb drive as a normal user. The mount command works perfectly as root but then the files that I end up copying to my home folder can only be modified as root. I only use a window manager and use just bash for file management. I just want to be able to it through the command line.
Installpkg will no longer work, complaining that the rev command is not found. The problem hit with the removal of util-linux-ng. I cp'd util-linux to ~/. Extracted with tar and executed the doinstall. Fixed.
At the end of the install process I get the following warning: WARNING: Package has not been created with 'makepkg'
It appears that the package was installed if I look at the file system. I see new files/directories from the package. But, when I try to launch the new application from /usr/bin I get this error: No such file or directory
I am a normal user "su -" to root when I did the pkgtool install and when I tried to run the application from /usr/bin.
I can see the binary in /usr/bin with a directory listing with the following permissions. -rwxr-xr-x 1 root root
I see the application as installed in the pkgtool and can un-install it.
A slacky.eu user Spina, I did notice a bug in calculating the size of the package when the directory contains a space in the name. Example:
Code: /tmp/prova dir# LANG=en installpkg abook-0.6.0pre2-i686-4cf.txz /bin/du: cannot access `/tmp/prova': No such file or directory /bin/du: cannot access `dir/abook-0.6.0pre2-i686-4cf.txz': No such file or directory Verifying package abook-0.6.0pre2-i686-4cf.txz. Installing package abook-0.6.0pre2-i686-4cf.txz:
PACKAGE DESCRIPTION: # abook # Abook is a text-based addressbook program designed to use with mutt # mail client. Abook runs on Linux, FreeBSD and some other UNIXes. # Home: [URL] # Package abook-0.6.0pre2-i686-4cf.txz installed.
This error is caused by 'readlink -f' COMPRESSED="$(/bin/du -sh $(readlink -f $package) | cut -f 1)" instead with Code: COMPRESSED="$(/bin/du -sh "$(readlink -f $package)" | cut -f 1)" it's ok
I have used a couple of slackbuild binary packages (i.e. without doing the actually build) and have worked fine. Thanks to those who have spent the time and effort to create them.
When installing the package I wanted to know what binary files were being put on my machine and at which directory location. This was more out of curiosity.
However, now I plan to get the boost slackbuild package. It's more relevant to know where it's being installed. Is there a way to know that? Also, can I specify a different directory?
I have a question that i want to make a normal user to execute the commands which the root user is able to execute, say if i have a user named siru and when i logged in using siru i cannot run commands like tracert,nmap@loccalhost and all but i can run when i have logged into root account so my question is how to make siru to run the command tracert,nmap@localhost.I have even edited the .bash_profile of siru's home directory from
# .bash_profile # Get the aliases and functions if [ -f ~/.bashrc ]; then
Is there any way to use 'fdisk -l' as a normal user? I see in F12, /sbin has been added to PATH by default for a normal user, but when trying to use it, nothing shows up.
See below for demonstration purposes:
Code:
Password:
I don't want to use 'su -' or 'su -c' and login every time.
Recently I noticed, that manpages are not available anymore for a normal user:
Code: $ man grep No manual entry for grep See 'man 7 undocumented' for help when manual pages are not available.With root privileges everything works fine
As I get reply from antoher forum is best there on Ubuntu is better to have 2 user accounts - one is admin and other is normal user for surfing, and other things. But there is problem. How can I install applications on this normal user account?
And,.. is option for installed applications (on normal user acc.) is no visible or installed on admin account?
- Can I .reg file for program which is running on Wine, use for a program that I need to change settings in "registry"?
how i am auto mount the ntfs drives through the normal user with out asking password... I need it and also one thing is i want two drives only auto mount and when i open the other drives it should ask the password?...
I would like to allow normal users to run some root scripts (e.g the sound subsytem [alsa]) in cases sound is stuck. What is the best way to allow this to happen in opensuse? There are many ways to do that (and I do not know how to use any of them ) and I am not sure which one is more suse all right.
Using opensuse 11.1 64 bit with kde 4.1.3, apps like k3b, or any multimedia apps can not see the optical drives unless I run the apps as root. I also found that to run bladeenc, I have to do it in a root terminal. Is there a way to set permissions for the normal user? Firefox or any text editor work fine as normal user.
I have installed Oracle Database server in Red Hat Linux for the first time. I edited the .bash_profile first time & defined some parameters like "export ORACLE_SID =orcl".I quit the editing. Then When I entered ". .bash_profile" it got error " not a valid identifier" it shows like "bash: export: '=orcl' : not a valid identifier for all the lines I edited it shows same error beacause I think I put a space in between "ORACLE_SID" & "=orcl".
So when I tried to edit that using "vi .bash_profile" being a normal user. It doesn't allow me editing.when I try to delete that space (because I think I have got error) using Backspace key on my computer,,it just moves the cursor to left in stead of deleting that space.
I have just installed VirtualBox on my OpenSuSE 11.1 and created my first VM (Windows XP) - and everything works just fine, but.... I can only run it as user root (if I remember correctly I could only install VirtualBox as root)Anybody know what I need to do so that I can run VirtualBox under a normal user account.
I am facing problem while installing wine software, as normal user following error message i have got.
Note:- able to extract tar.bz2 package as root but not able to extract package as normal user (installed as root but while complile it gives message that run this package as normal user)
but after loggin as normal user not able to use following command
#tar -jxvf wine-1.2.tar.bz2
it shows following error:
tar: wine-1.2/tools/wrc/writeres.c: Cannot open: No such file or directory tar: Error exit delayed from previous errors