Software :: Create User With Password And Read / Write Privileges For Program Database

Oct 11, 2010

Unless your distro has taken care of it Centos 5.5, you'll need to create a user with a password and read/write privileges for program database. You can do this using the MySQL command line client if you are familiar with it. Well I am not familiar with it, so I wam wondering how to do it. As well when I run

mysql - p program </usr/share/program/mysql.sql>

It asks for a password. how do i find out this password.

View 1 Replies


ADVERTISEMENT

General :: Password/shadow Or Group/gshadow Mismatch - Error "user Database Cannot Be Read"

Aug 6, 2010

I'm running RHEL 5. When using the GUI System>Administration>Users and Groups, I get the error: The user database cannot be read. This problem is most likely caused by a mismatch between /etc/passwd and /etc/shadow or /etc/group and /etc/gshadow. The program will exit now.

Some research showed that I need to use vipw and vigr respectively to find an inconsistency between these two sets, which I did - to make it easy I copied each from [vipw | vigr] to an excel file and did =exact(%1, %2). There are no inconsistencies.

[Code]...

View 1 Replies View Related

Ubuntu Servers :: Root Has No Privileges To Create Database In Phpmyadmin?

Apr 11, 2010

I logged in phpmyadmin as root (with password that I just created in terminal), old databases are there but I have no privileges to create a new one.

View 1 Replies View Related

Fedora :: LibUSB 1.0 - Read / Write Privileges For Users

Dec 13, 2010

I am developing a program that uses libusb-1.0 on a FC14 x64 system. I solved the compile and link issues, but I now have a problem with user privileges when I try to get device handles. The problem appears to be in the mounting of the usbfs. Is the an accepted fix to giving users read/write privileges for all usb devices?

View 4 Replies View Related

Fedora Networking :: Samba Not Working On 15 - Read / Write Privileges

Jun 19, 2011

i have a windows xp machine with filesharing enabled and the shares set up and ready to go i have a laptop on which i did a fresh install of fedora 15 with samba and all the necessary packages to make the fedora machine a samba client to the windows machine.

my problem is that when i go into nautilus and click on the network tab it shows nothing not one single computer...the fedora machine doesnt even show up.....i have done all the tests i can think of and confirmed that the smb service is running, the nmb service is running, samba is allowed thru the firewall and all the computers are in the same workgroup..yet neither one can see each other even more frustrating is when i go to mount a windows share thru the terminal it shows a successful mount (as i type in the command hit enter and recieve no errors) BUT when i go into the mount directory and open the new directory i made for the samba share it shows nothing there not even when i go into the windows machine and add a file to the shared folder...PLUS for some strange reason the /mnt directory already had two empty files called "home" and "boot" already in it i have no clue what thats about but ok, then on the windows side i go into "network places" and click on "show workgroup computers" and the windows machine will show up but not the fedora machine.

these are the commands i have used to install and get samba working- "yum install samba system-config-samba samba-client cifs-utils" "service smb start" anyway until i can figure this out i have decided to start from scratch and erase samba from the machine completely and i am hoping that maybe some one can read all this and come up with some ideas...maybe there is just something i forgot when i was setting this up yesterday its possible i just went to fast and skipped a step again all i want is the fedora 15 machine to just be a samba client with read/write priviledeges

View 2 Replies View Related

Ubuntu :: Enabling Read / Write Privileges On Office Documents?

Nov 14, 2010

I have a pc with ubuntu 10.04 installed, and a fold shared on my user directory. Which permissions that I have to edit, so every time I create or edit a document (any type: openoffice,...), that document can have read and write privileges on another computer in my home network so I can work on it?

View 6 Replies View Related

Programming :: Create A Simple Program With Will Continually Read Input From The User Until They Enter A Blank Line?

Apr 6, 2011

basically i have to create a simple program with will continually read input from the user until they enter a blank linei know how to read in certain input but not sure how to get it continually in a loop

View 2 Replies View Related

General :: Assign Read Privileges To User On Specific Directories And Files

Jan 26, 2011

I am using CentOS 5.5 and I created few users (useradd john etc.) and now I want to assign privileges to this user on some directories and files in those directories. For example I want to give read privileges to directory "/documents" and all of files under that directory.

View 13 Replies View Related

General :: Create The User With Root Privileges?

Jul 4, 2010

I want to create a user who has all the privileges that root user has.I know how to create a user but i don't know how to grant root privileges to him.

View 10 Replies View Related

General :: Create A User Without Root Privileges?

Apr 9, 2011

I create a user in CentOS 5.5 for using with my email account.

useradd ralf
passwd ralf

use "ralf user" only for my email account. How can I remove others privileges/permissions? Also, I want to use "ralf user" without root privileges/permissions.

View 4 Replies View Related

General :: Create User With Non Admin Privileges?

May 6, 2011

i have centos5.3 i want to create user with non admin privileges he is unable to see contents of server only he will able to login nothing else

View 12 Replies View Related

Server :: Migrate User Password To Postfix Password Database?

Jun 18, 2011

My bose ask me to convert a CentOS system password like "LMPQSMTE0nHlQ" to postfix MySQL MD5 Hased password, I find CentOS seems has 2 kinds of password form, one is shorter and the other is very long like"$1$C2MSk16n$WT5JWnzYH7XpCCjsiE2bd1", however I find postfix is exactly the later long one, so does any one know how to convert the short form to the later one

View 1 Replies View Related

Ubuntu :: Create A User Crontab, Without For Rood Privileges?

Mar 20, 2011

i know the subject is hard to understand but i did my best with it. the problem: i have 2 HDs on my Ubuntu OS, the first is 1TB and the other is 500GB, i want to do a backup with rsync from my 1TB HDs (in with the Ubuntu is on it) to the 500GB.

on the 500GB i have a partition called Backup. what i did: i have created a user crontab that dose two things: 1. mount the Backup partition from the 500GB to a folder called /~/Backup on my home directory which is on the 1TB HD.

2. i wrote the proper rsync command for the backup to go.

[Code]...

View 9 Replies View Related

Red Hat / Fedora :: Create A User For FTP Server Which Has No Privileges To Access?

Jun 30, 2010

I configured a FTP Server on Fedora Now I want to create a user for FTP Server which has no privileges to access any things outside his home directory .

Username is "Test1"
Home directory is /var/ftp/Test1
chmod 700 /var/ftp/Test1
chown Test1 /var/ftp/Test1

View 1 Replies View Related

General :: Create User Similar To Root Privileges?

Feb 20, 2010

i do need to create 1 user who has similar to root privileges but the username will not be root.

View 13 Replies View Related

General :: Write A Simple Program C++ To Connect To Mysql Database?

Sep 5, 2010

I'm trying to write a simple program c++ to connect to Mysql database based in my 127.0.0.1 server:

int main (void) {
cout << "33[2J" << "33[0;0f";
MYSQL mysql;
MYSQL *conn;

[code]....

View 2 Replies View Related

CentOS 5 :: User Database Cannot Be Read?

Mar 21, 2009

This situation after a mains power failure took server down.Log oonto server with root, go to Admin > users and get this message:" The user database cannot be read. This problem is most likely caused by mismatch between /etx/password and /etc/shadow or /etc/group and /etc/gshadow. The program will exit now."

View 2 Replies View Related

General :: Write A Shell Script That Allows Only User 1 And User 2 To Execute A Program?

Feb 25, 2010

I've looked everywhere but I can't find where to change the default box for incoming mail, or am I on the wrong track. It's a nuisance having to change folders and I can't configure wastebin to empty on exit.And I can't get kmail to import from evolution. Do I have to go to the evolution storage and do it manually, and if so, how do I do that?

View 1 Replies View Related

Ubuntu :: Create An OpenBiblio Database User?

Dec 8, 2010

I'm attempting to install OpenBiblio to give it a test drive. I'm having trouble with one of the first steps within the openbiblio install guide. The step is dealing with MySQL in creating user priveleges to the db created. The step is:

Create an OpenBiblio database user. To do this, login to MySQL under the admin userid and run the following SQL command, substituting obiblio_user and obiblio_password with the userid and password of your choice.

mysql> grant all privileges on OpenBiblio.* to obiblio_user@localhost
-> identified by 'obiblio_password';

When I run the "grant all priveleges" command I receive a syntax error. I've spent some time googleing and it comes up with the same command. There has been a few variations attempted such as 'obiblio_user'@'localhost' but still recieve a syntax error.

View 2 Replies View Related

Programming :: Write A Program Which Will Read Input From A Text File

Apr 7, 2010

i am trying to write a program which will read input from a text file, check if each line contains any alphabets and then display a message imforming me if there is an alphabet in each line. My text file is formatted in this way...

[Code]....

View 2 Replies View Related

CentOS 5 :: Phpmyadmin Unable To Create A New User In Mysql Database

May 13, 2010

I have installed on a remote server phpmyadmin 3.3.1 and mysql 5.1.46 on a centos 5.4 OS.

Any newly created user with phamyadmin is unable to login both from mysql command line (from localhost) and phpmyadmin (localhost and remotely).

No prob when the user is created with mysql command line (from localhost). All of the users created with phpmyadmin, are not "visible" recognized from the show user command via the mysql command line. The setting I used when I create any user was the same as the ones with the mysql command line creation.

The error message I get when accessing from mysql command line (from localhost) is the following: "Access denied for user ... @localhost (using password: yes)"

View 2 Replies View Related

General :: Create User Add File With Default Password And Force User To Change It?

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

General :: Allow Specific User Permission To Read / Write Folder?

Feb 4, 2011

allow specific user permission to read/write my folder

I have a folder called /TAR/Sketch

I added a new user, named Snoopy, I want to grant this user the ability to add files & directories to this folder which is under the group Sketches and the owner is me.

How can I accomplish this ?

View 1 Replies View Related

Ubuntu :: Simulate A Floppy Drive With User Read Write

Sep 17, 2010

I have a computer with no floppy drive (x64 ubuntu lucid installed) I have a program (wine windows xp) that will only save data and export data from/to a floppy drive. I found information on setting up an emulated floppy drive. i.e.

sudo dd bs=512 count=2880 if=/dev/zero of=imagefile.img
sudo mkfs.msdos imagefile.img
sudo mount imagefile.img /media/floppy -o loop

I modified the winecfg to include under the drive section A: /media/floppy. Problem is I cannot write to the drive as a normal user. I have tried everything I know but only root can read write to the drive. Is there someway to set up this emulated floppy to allow me as a user to write and read contents.

View 1 Replies View Related

Ubuntu :: Create A User Group That Restricts Internet Privileges To Only Members In The Group

Jul 19, 2011

How can I create a user group that restricts Internet privileges to only members in the group, then I will assigns certain applications to join the group for access to the Internet.

For example, I want only group net to have access to the Internet. Group net is then connected to:

Code:

So far, I am using the gnome group policy manager that is standard with ubuntu but Its not working. It is possible that im misdirected and that I should use a firewall instead?

View 2 Replies View Related

General :: Application Running As User Foo Log Onto Database As (database) User Foobar?

Jan 5, 2011

I am writing a simple application that will run as user foo (i.e. Ubuntu user foo).However, the application will connect to my database as (database user foobar). IIRC, database users have nothing to do with Linux system users - but I just need to clarify that.So can an app launched to run as user 'foo', connect to a database as user 'foobar'?

View 1 Replies View Related

Networking :: Run The Job Under A Root Account And Deny Read/write Access To A Normal User?

Jan 18, 2010

I'm setting up Ubuntu Karmic on my sister's old computer for my nephew, he's quite young so my sister asked to install some content filtering. I'll first setup an OpenDNS account and I've installed and managed to get dansguardian and squid working on a virtual machine to try it out. so far it's working pretty well, but I need to secure it form the inside out.

I was thinking of blocking specific outbound ports so he could not bypass the proxy. because by default the firefox configuration can be easily changed. so I have a couple of questions.

1. is it possible to block outgoing ports on Ubuntu?
2. is that the best method?
3. is there anything else I should be aware of to prevent subversion?

lastly, this question is probably unrelated to this board but I've set up a cron job to update a dynamic ip with OpenDNS, the problem is that the password is in clear text in the user's crontab, can I play with permissions? is it possible to run the job under a root account and deny read/write access to a normal user?

View 1 Replies View Related

General :: Write A Shell Script Which Will Read The Directory Path As Input From User?

Nov 28, 2010

I am new to writing shell scripts. So, please bare with me. I am currently trying to write a shell script which will read the directory path as input from user and will traverse the Dir tree to find all available audio and video files. I have tried to write as much as I could but I don't know where I am making mistake as I get some files to be audio file which are actully tar balls. On the second note there are some files which video but script shows them to be audio. And, some video files are completely skipped. I am giving the shell script below so that you can see. I am using two external files as source which I am attaching.

Code:

#!/bin/bash
#Let's load the extensions that we want to search for
vdExt=$(cat vdExtList)
adExt=$(cat adExtList)

[code]....

View 5 Replies View Related

General :: Permissions - Manually Mount A File System Read/write As A Normal User?

Oct 6, 2010

I want to simply mount an ext4 file-system onto a normal mount point in Ubuntu (/media/whereever), as read-writable for the current logged-in user, i.e. me.

I don't want to add anything into /etc/fstab, I just want to do it now, manually. I need super-user privileges to mount a device, but then only root can read-write that mount. I've tried various of the mount options, added it into fstab, but with no luck.

View 3 Replies View Related

Server :: Configure Samba In Centos - Give Permission For User - Can Able To Read And Write The Particular Folder

Apr 23, 2011

I Have Configure Samba server in Centos, I need give permission like for some user(5User) can able to read and write the particular folder, and again i need give some another user(6user) can only read permission for same folder.

View 1 Replies View Related







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